From 4830e9a19c298aa5a5c31b7b93139710b12bc6f8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 20 Nov 2010 03:31:31 +0100 Subject: [PATCH] Added totem-pl-parser-2.32.0 build template. --- srcpkgs/gir-totem-pl-parser | 1 + srcpkgs/totem-pl-parser-devel | 1 + srcpkgs/totem-pl-parser/depends | 2 ++ .../gir-totem-pl-parser.template | 13 +++++++++ srcpkgs/totem-pl-parser/template | 29 +++++++++++++++++++ .../totem-pl-parser-devel.template | 23 +++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 2 ++ 7 files changed, 71 insertions(+) create mode 120000 srcpkgs/gir-totem-pl-parser create mode 120000 srcpkgs/totem-pl-parser-devel create mode 100644 srcpkgs/totem-pl-parser/depends create mode 100644 srcpkgs/totem-pl-parser/gir-totem-pl-parser.template create mode 100644 srcpkgs/totem-pl-parser/template create mode 100644 srcpkgs/totem-pl-parser/totem-pl-parser-devel.template diff --git a/srcpkgs/gir-totem-pl-parser b/srcpkgs/gir-totem-pl-parser new file mode 120000 index 0000000000..e94521bbd1 --- /dev/null +++ b/srcpkgs/gir-totem-pl-parser @@ -0,0 +1 @@ +totem-pl-parser \ No newline at end of file diff --git a/srcpkgs/totem-pl-parser-devel b/srcpkgs/totem-pl-parser-devel new file mode 120000 index 0000000000..e94521bbd1 --- /dev/null +++ b/srcpkgs/totem-pl-parser-devel @@ -0,0 +1 @@ +totem-pl-parser \ No newline at end of file diff --git a/srcpkgs/totem-pl-parser/depends b/srcpkgs/totem-pl-parser/depends new file mode 100644 index 0000000000..6a11fcf61d --- /dev/null +++ b/srcpkgs/totem-pl-parser/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.32.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/totem-pl-parser/gir-totem-pl-parser.template b/srcpkgs/totem-pl-parser/gir-totem-pl-parser.template new file mode 100644 index 0000000000..40534b1bdc --- /dev/null +++ b/srcpkgs/totem-pl-parser/gir-totem-pl-parser.template @@ -0,0 +1,13 @@ +# Template file for 'gir-totem-pl-parser'. +# +short_desc="Introspection data for Totem Playlist Parser" +long_desc="${long_desc} + + This package contains small pieces of introspection data for the + Totem Playlist Parser." + +do_install() +{ + install -d ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/totem-pl-parser/template b/srcpkgs/totem-pl-parser/template new file mode 100644 index 0000000000..a1ecb2e646 --- /dev/null +++ b/srcpkgs/totem-pl-parser/template @@ -0,0 +1,29 @@ +# Template file for 'totem-pl-parser' +pkgname=totem-pl-parser +version=2.32.0 +distfiles="${GNOME_SITE}/$pkgname/2.32/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--localstatedir=/var" +short_desc="Totem playlist parser library" +maintainer="Juan RP " +checksum=2ec40bcaa1d1a5e53dd0c0511ac4d51399086d70703d4c5b3e975f5647c1f1ef +long_desc=" + This packages common libraries for the GNOME desktop." + +subpackages="gir-$pkgname $pkgname-devel" + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run gmime +Add_dependency run libxml2 +Add_dependency run libsoup +Add_dependency run libsoup-gnome + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build libxml2-devel +Add_dependency build libsoup-gnome-devel +Add_dependency build libsoup-devel +Add_dependency build glib-devel +Add_dependency build gmime-devel + diff --git a/srcpkgs/totem-pl-parser/totem-pl-parser-devel.template b/srcpkgs/totem-pl-parser/totem-pl-parser-devel.template new file mode 100644 index 0000000000..027b1a5b34 --- /dev/null +++ b/srcpkgs/totem-pl-parser/totem-pl-parser-devel.template @@ -0,0 +1,23 @@ +# Template file for 'totem-pl-parser-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run pkg-config +Add_dependency run libxml2-devel +Add_dependency run libsoup-gnome-devel +Add_dependency run libsoup-devel +Add_dependency run glib-devel +Add_dependency run gmime-devel +Add_dependency run totem-pl-parser + +do_install() +{ + mkdir -p ${DESTDIR}/usr/{lib,share} + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/{gir*,gtk-doc} ${DESTDIR}/usr/share +} diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 36e5c2d79e..a3b3d6c389 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -701,3 +701,5 @@ libpulse-mainloop-glib.so libpulseaudio pulseaudio-devel liborc-0.4.so orc orc-devel liborc-test-0.4.so orc orc-devel libgmime-2.4.so gmime gmime-devel +libtotem-plparser.so.17 totem-pl-parser totem-pl-parser-devel +libtotem-plparser-mini.so.17 totem-pl-parser totem-pl-parser-devel