From 47493105850a2a829cf92dadaa6d2d819ce1368b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 23 Nov 2010 00:26:15 +0100 Subject: [PATCH] Added gupnp-0.14.0 build template. --- srcpkgs/gir-gupnp | 1 + srcpkgs/gupnp-devel | 1 + srcpkgs/gupnp/depends | 2 ++ srcpkgs/gupnp/gir-gupnp.template | 14 ++++++++++++ srcpkgs/gupnp/gupnp-devel.template | 23 +++++++++++++++++++ srcpkgs/gupnp/template | 28 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 7 files changed, 70 insertions(+) create mode 120000 srcpkgs/gir-gupnp create mode 120000 srcpkgs/gupnp-devel create mode 100644 srcpkgs/gupnp/depends create mode 100644 srcpkgs/gupnp/gir-gupnp.template create mode 100644 srcpkgs/gupnp/gupnp-devel.template create mode 100644 srcpkgs/gupnp/template diff --git a/srcpkgs/gir-gupnp b/srcpkgs/gir-gupnp new file mode 120000 index 00000000000..6061f466778 --- /dev/null +++ b/srcpkgs/gir-gupnp @@ -0,0 +1 @@ +gupnp \ No newline at end of file diff --git a/srcpkgs/gupnp-devel b/srcpkgs/gupnp-devel new file mode 120000 index 00000000000..6061f466778 --- /dev/null +++ b/srcpkgs/gupnp-devel @@ -0,0 +1 @@ +gupnp \ No newline at end of file diff --git a/srcpkgs/gupnp/depends b/srcpkgs/gupnp/depends new file mode 100644 index 00000000000..3d77fdf442f --- /dev/null +++ b/srcpkgs/gupnp/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.14.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/gupnp/gir-gupnp.template b/srcpkgs/gupnp/gir-gupnp.template new file mode 100644 index 00000000000..91cdf7f4b9e --- /dev/null +++ b/srcpkgs/gupnp/gir-gupnp.template @@ -0,0 +1,14 @@ +# Template file for 'gir-gupnp'. +# +short_desc="Introspection data for GUPNP" +long_desc="${long_desc} + + This package contains small pieces of introspection data for GUPNP." + +Add_dependency run gir-gssdp + +do_install() +{ + install -d ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/gupnp/gupnp-devel.template b/srcpkgs/gupnp/gupnp-devel.template new file mode 100644 index 00000000000..6a1f806d5a9 --- /dev/null +++ b/srcpkgs/gupnp/gupnp-devel.template @@ -0,0 +1,23 @@ +# Template file for 'gupnp-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 gssdp-devel +Add_dependency run glib-devel +Add_dependency run libxml2-devel +Add_dependency run libsoup-devel +Add_dependency run libuuid-devel +Add_dependency run gupnp + +do_install() +{ + install -d ${DESTDIR}/usr/lib + + mv ${SRCPKGDESTDIR}/usr/{include,share} ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/gupnp/template b/srcpkgs/gupnp/template new file mode 100644 index 00000000000..df67b768d12 --- /dev/null +++ b/srcpkgs/gupnp/template @@ -0,0 +1,28 @@ +# Template file for 'gupnp' +pkgname=gupnp +version=0.14.0 +distfiles="http://gupnp.org/sites/all/files/sources/gupnp-$version.tar.gz" +build_style=gnu_configure +short_desc="GObject-based library for UPnP" +maintainer="Juan RP " +checksum=6ac13efe46c6f1e5d05e48e1041bf37dfa702839ce5fbb01e0f314f3904b6a16 +long_desc=" + A GObject-based API for doing UPnP transparently." + +subpackages="gir-gupnp gupnp-devel" + +# XXX: missing libconic dependency. +Add_dependency run glibc +Add_dependency run libuuid +Add_dependency run glib +Add_dependency run libsoup +Add_dependency run libxml2 +Add_dependency run gssdp + +Add_dependency build pkg-config +Add_dependency build gettext +Add_dependency build gssdp-devel +Add_dependency build libsoup-devel +Add_dependency build glib-devel +Add_dependency build libxml2-devel +Add_dependency build libuuid-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 11202be129d..b8be6197ab4 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -709,3 +709,4 @@ 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 +libgupnp-1.0.so gupnp gupnp-devel