diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-25 17:57:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-25 17:57:05 +0000 |
commit | f794fa78967e37c4ea4fecfb320e90c0c71a7036 (patch) | |
tree | d0e5def296a9257f1aabdad53f12d203092a6eff /testing/gssdp | |
parent | 1d3fc124cb03c5339a061d4268a99e14d318c2ff (diff) | |
download | aports-f794fa78967e37c4ea4fecfb320e90c0c71a7036.tar.bz2 aports-f794fa78967e37c4ea4fecfb320e90c0c71a7036.tar.xz |
testing/gssds: new aport
Resource discovery and announcement over SSDP
http://www.gupnp.org/
Diffstat (limited to 'testing/gssdp')
-rw-r--r-- | testing/gssdp/APKBUILD | 47 | ||||
-rw-r--r-- | testing/gssdp/gssdp-fixdso.patch | 11 |
2 files changed, 58 insertions, 0 deletions
diff --git a/testing/gssdp/APKBUILD b/testing/gssdp/APKBUILD new file mode 100644 index 0000000000..edbbb996ef --- /dev/null +++ b/testing/gssdp/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gssdp +pkgver=0.10.0 +pkgrel=0 +pkgdesc="Resource discovery and announcement over SSDP" +url="http://www.gupnp.org/" +arch="all" +license="LGPLv2" +depends= +depends_dev="dbus-glib-dev glib-dev gtk+-dev libsoup-dev libxml2-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://www.gupnp.org/sites/all/files/sources/gssdp-$pkgver.tar.gz + gssdp-fixdso.patch" + +_builddir="$srcdir"/gssdp-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" -name '*.la' -delete +} + +md5sums="aec6a56ac1d4f8a4837da83f2d152556 gssdp-0.10.0.tar.gz +44a768c4245e69b54b96b985143a6faa gssdp-fixdso.patch" diff --git a/testing/gssdp/gssdp-fixdso.patch b/testing/gssdp/gssdp-fixdso.patch new file mode 100644 index 0000000000..597e41e3cf --- /dev/null +++ b/testing/gssdp/gssdp-fixdso.patch @@ -0,0 +1,11 @@ +--- gssdp-0.7.2/tests/Makefile.in.orig 2010-04-09 13:55:16.000000000 +0100 ++++ gssdp-0.7.2/tests/Makefile.in 2010-04-09 18:07:19.357276589 +0100 +@@ -129,7 +129,7 @@ + INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ + INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ + LD = @LD@ +-LDFLAGS = @LDFLAGS@ ++LDFLAGS = @LDFLAGS@ -lgobject-2.0 -lglib-2.0 + LIBGSSDP_CFLAGS = @LIBGSSDP_CFLAGS@ + LIBGSSDP_LIBS = @LIBGSSDP_LIBS@ + LIBGTK_CFLAGS = @LIBGTK_CFLAGS@ |