From f466a4003aa2a64af5b0bf6bd83ccfe10fc94ef9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 23 Apr 2010 16:13:13 +0200 Subject: [PATCH] gst-plugins-base: added gir- subpkg. --HG-- extra : convert_revision : c42fa4e6bdf6a6dc9922d75eba214ea3ca0c6e4f --- srcpkgs/gir-gst-plugins-base | 1 + .../gir-gst-plugins-base.template | 17 +++++++++++++++++ .../gst-plugins-base-devel.template | 5 ++--- srcpkgs/gst-plugins-base/template | 6 +++--- 4 files changed, 23 insertions(+), 6 deletions(-) create mode 120000 srcpkgs/gir-gst-plugins-base create mode 100644 srcpkgs/gst-plugins-base/gir-gst-plugins-base.template diff --git a/srcpkgs/gir-gst-plugins-base b/srcpkgs/gir-gst-plugins-base new file mode 120000 index 0000000000..1f1773adba --- /dev/null +++ b/srcpkgs/gir-gst-plugins-base @@ -0,0 +1 @@ +gst-plugins-base \ No newline at end of file diff --git a/srcpkgs/gst-plugins-base/gir-gst-plugins-base.template b/srcpkgs/gst-plugins-base/gir-gst-plugins-base.template new file mode 100644 index 0000000000..e37431cb7f --- /dev/null +++ b/srcpkgs/gst-plugins-base/gir-gst-plugins-base.template @@ -0,0 +1,17 @@ +# Template file for 'gir-gst-plugins-base'. +# +short_desc="GStreamer base plugins introspection data" +long_desc="${long_desc} + + This package contains the GObject-introspection data of GStreamer base in + plugins binary typelib format." + +Add_dependency run gir-freedesktop +Add_dependency run glib +Add_dependency run gst-plugins-base + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/gst-plugins-base/gst-plugins-base-devel.template b/srcpkgs/gst-plugins-base/gst-plugins-base-devel.template index d833e7af94..9744088427 100644 --- a/srcpkgs/gst-plugins-base/gst-plugins-base-devel.template +++ b/srcpkgs/gst-plugins-base/gst-plugins-base-devel.template @@ -5,7 +5,7 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." -revision=1 +revision=2 Add_dependency run pkg-config Add_dependency run gstreamer-devel @@ -37,9 +37,8 @@ do_install() mkdir -p ${DESTDIR}/usr/lib mkdir -p ${DESTDIR}/usr/share mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/lib*.{a,so} ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/lib*.a ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share mv ${SRCPKGDESTDIR}/usr/share/gir* ${DESTDIR}/usr/share - mv ${SRCPKGDESTDIR}/usr/lib/gir* ${DESTDIR}/usr/lib } diff --git a/srcpkgs/gst-plugins-base/template b/srcpkgs/gst-plugins-base/template index 1e130d6cb8..de1c512222 100644 --- a/srcpkgs/gst-plugins-base/template +++ b/srcpkgs/gst-plugins-base/template @@ -1,7 +1,7 @@ # Template file for 'gst-plugins-base'. pkgname=gst-plugins-base version=0.10.28 -revision=1 +revision=2 distfiles="http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$version.tar.bz2" build_style=gnu_configure configure_args="--enable-experimental --disable-gnome_vfs" @@ -18,7 +18,7 @@ long_desc=" This package contains a set of well-maintained base plug-ins." -subpackages="$pkgname-devel" +subpackages="gir-$pkgname $pkgname-devel" Add_dependency run glibc Add_dependency run libgudev Add_dependency run gstreamer @@ -41,7 +41,7 @@ Add_dependency run cdparanoia Add_dependency run libtheora Add_dependency run libvorbis Add_dependency build pkg-config -Add_dependency build gobject-introspection-devel +Add_dependency build gobject-introspection Add_dependency build libgudev-devel Add_dependency build gstreamer-devel Add_dependency build glib-devel