From 43538beb7c31ab411cf35ceb24e291272c6c0996 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 23 Nov 2010 00:14:06 +0100 Subject: [PATCH] Added gssdp-0.9.0 build template. --- srcpkgs/gir-gssdp | 1 + srcpkgs/gssdp-devel | 1 + srcpkgs/gssdp/depends | 2 ++ srcpkgs/gssdp/gir-gssdp.template | 12 ++++++++++++ srcpkgs/gssdp/gssdp-devel.template | 18 ++++++++++++++++++ srcpkgs/gssdp/template | 24 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 7 files changed, 59 insertions(+) create mode 120000 srcpkgs/gir-gssdp create mode 120000 srcpkgs/gssdp-devel create mode 100644 srcpkgs/gssdp/depends create mode 100644 srcpkgs/gssdp/gir-gssdp.template create mode 100644 srcpkgs/gssdp/gssdp-devel.template create mode 100644 srcpkgs/gssdp/template diff --git a/srcpkgs/gir-gssdp b/srcpkgs/gir-gssdp new file mode 120000 index 00000000000..c0eeeda87fd --- /dev/null +++ b/srcpkgs/gir-gssdp @@ -0,0 +1 @@ +gssdp \ No newline at end of file diff --git a/srcpkgs/gssdp-devel b/srcpkgs/gssdp-devel new file mode 120000 index 00000000000..c0eeeda87fd --- /dev/null +++ b/srcpkgs/gssdp-devel @@ -0,0 +1 @@ +gssdp \ No newline at end of file diff --git a/srcpkgs/gssdp/depends b/srcpkgs/gssdp/depends new file mode 100644 index 00000000000..d5f14bd9667 --- /dev/null +++ b/srcpkgs/gssdp/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.9.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/gssdp/gir-gssdp.template b/srcpkgs/gssdp/gir-gssdp.template new file mode 100644 index 00000000000..29b36813729 --- /dev/null +++ b/srcpkgs/gssdp/gir-gssdp.template @@ -0,0 +1,12 @@ +# Template file for 'gir-gssdp'. +# +short_desc="Introspection data for GUPNP gssdp" +long_desc="${long_desc} + + This package contains small pieces of introspection data for GUPNP gssdp." + +do_install() +{ + install -d ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/gssdp/gssdp-devel.template b/srcpkgs/gssdp/gssdp-devel.template new file mode 100644 index 00000000000..c7a3ef82b41 --- /dev/null +++ b/srcpkgs/gssdp/gssdp-devel.template @@ -0,0 +1,18 @@ +# Template file for 'gssdp-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run gssdp + +do_install() +{ + install -d ${DESTDIR}/usr/{lib,share} + + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/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/srcpkgs/gssdp/template b/srcpkgs/gssdp/template new file mode 100644 index 00000000000..65fa0112efc --- /dev/null +++ b/srcpkgs/gssdp/template @@ -0,0 +1,24 @@ +# Template file for 'gssdp' +pkgname=gssdp +version=0.9.0 +distfiles="http://gupnp.org/sites/all/files/sources/gssdp-$version.tar.gz" +build_style=gnu_configure +short_desc="The GNU stream editor" +maintainer="Juan RP " +checksum=6e4de2ecc90d2ac8b3694af1954984d04de25fb01dd2f2748d7221add8ead9e0 +long_desc=" + Sed, the GNU Stream Editor, copies the named files (standard input default) + to the standard output, edited according to a script of commands." + +subpackages="gir-gssdp gssdp-devel" + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run gtk+ +Add_dependency run libsoup + +Add_dependency build pkg-config +Add_dependency build gettext +Add_dependency build glib-devel +Add_dependency build gtk+-devel +Add_dependency build libsoup-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index b958fba2d26..11202be129d 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -708,3 +708,4 @@ libgstphotography-0.10.so gst-plugins-bad gst-plugins-bad-devel libgstbasevideo-0.10.so gst-plugins-bad gst-plugins-bad-devel libgstsignalprocessor-0.10.so gst-plugins-bad gst-plugins-bad-devel libtdb.so libtdb tdb-devel +libgssdp-1.0.so gssdp gssdp-devel