diff --git a/srcpkgs/gir-gstreamer b/srcpkgs/gir-gstreamer new file mode 120000 index 0000000000..037f2c4907 --- /dev/null +++ b/srcpkgs/gir-gstreamer @@ -0,0 +1 @@ +gstreamer \ No newline at end of file diff --git a/srcpkgs/gstreamer/gir-gstreamer.template b/srcpkgs/gstreamer/gir-gstreamer.template new file mode 100644 index 0000000000..51c93a030a --- /dev/null +++ b/srcpkgs/gstreamer/gir-gstreamer.template @@ -0,0 +1,17 @@ +# Template file for 'gir-gstreamer'. +# +short_desc="GStreamer introspection data" +long_desc="${long_desc} + + This package contains the GObject-introspection data of GStreamer in + binary typelib format." + +Add_dependency run gir-freedesktop +Add_dependency run glib +Add_dependency run gstreamer + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/gstreamer/gstreamer-devel.template b/srcpkgs/gstreamer/gstreamer-devel.template index c0ac4d6bf9..17f8965dc9 100644 --- a/srcpkgs/gstreamer/gstreamer-devel.template +++ b/srcpkgs/gstreamer/gstreamer-devel.template @@ -5,6 +5,8 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." +revision=1 + Add_dependency run pkg-config Add_dependency run libxml2-devel Add_dependency run glib-devel @@ -18,11 +20,9 @@ do_install() mkdir -p ${DESTDIR}/usr/share mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/lib/lib*.a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share - mv ${SRCPKGDESTDIR}/usr/lib/girepository* ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/libexec ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/share/gir* ${DESTDIR}/usr/share } diff --git a/srcpkgs/gstreamer/template b/srcpkgs/gstreamer/template index cdd21690ba..886c57975d 100644 --- a/srcpkgs/gstreamer/template +++ b/srcpkgs/gstreamer/template @@ -17,7 +17,8 @@ long_desc=" transparently. Developers can add new codecs and filters by writing a simple plugin with a clean, generic interface." -subpackages="$pkgname-devel" +disable_parallel_build=yes +subpackages="gir-gstreamer $pkgname-devel" Add_dependency run glibc Add_dependency run libxml2 Add_dependency run glib @@ -27,4 +28,4 @@ Add_dependency build python Add_dependency build docbook-xsl Add_dependency build libxml2-devel Add_dependency build glib-devel -Add_dependency build gobject-introspection-devel +Add_dependency build gobject-introspection