aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vdr-plugin-satip
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-08-04 16:44:51 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-08-04 16:44:51 +0200
commitf26ab97a2af46407fbc3d28f5ca618203e261d44 (patch)
tree789b741bd87c7e35036418f9fab09cfdce89cd1f /testing/vdr-plugin-satip
parent140248605cee4a0160f80b47ce77a823be2f740a (diff)
downloadaports-f26ab97a2af46407fbc3d28f5ca618203e261d44.tar.bz2
aports-f26ab97a2af46407fbc3d28f5ca618203e261d44.tar.xz
testing/vdr-plugin-satip: new aport
Diffstat (limited to 'testing/vdr-plugin-satip')
-rw-r--r--testing/vdr-plugin-satip/APKBUILD47
-rw-r--r--testing/vdr-plugin-satip/include-ctype-header.patch10
2 files changed, 57 insertions, 0 deletions
diff --git a/testing/vdr-plugin-satip/APKBUILD b/testing/vdr-plugin-satip/APKBUILD
new file mode 100644
index 0000000000..e4416eca72
--- /dev/null
+++ b/testing/vdr-plugin-satip/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=vdr-plugin-satip
+pkgver=0.3.3
+pkgrel=0
+pkgdesc="SAT>IP plugin for VDR"
+url="http://www.saunalahti.fi/~rahrenbe/vdr/satip/"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="tinyxml-dev curl-dev vdr-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-lang"
+source="http://www.saunalahti.fi/~rahrenbe/vdr/satip/files/vdr-satip-$pkgver.tgz
+ include-ctype-header.patch"
+
+_builddir="$srcdir"/satip-$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"
+ #pugixml has pic issues
+ export SATIP_USE_TINYXML=1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="2f149747a512b47d32279dae0b6d3c75 vdr-satip-0.3.3.tgz
+a99d9d1d2e9ed2c5bbe0c7a35626a556 include-ctype-header.patch"
+sha256sums="10fff3a660ea57344c0c84d8e743aa5e23e653149c03621358a0d18a12eefd88 vdr-satip-0.3.3.tgz
+f900cd6eecdeb4a59d8bdb0165a27f6aa068a5cc53f941ad7f0724a751dedf53 include-ctype-header.patch"
+sha512sums="9851c635351746a85047e788a7522526f49a971cc009e7ff8f9c2648ccec60999d6336a6ce60b57ff480abcace9551ef5d4a855253c1647064670620c105aeaa vdr-satip-0.3.3.tgz
+56a6beef683248508cf571db8dc541ff09ae2a96e628ae0ecf0cb263c269a0d94eb2b0e107a331ca5e185205298b26e5a41eecfe27caca92ae4e178639165254 include-ctype-header.patch"
diff --git a/testing/vdr-plugin-satip/include-ctype-header.patch b/testing/vdr-plugin-satip/include-ctype-header.patch
new file mode 100644
index 0000000000..e884f6cc6a
--- /dev/null
+++ b/testing/vdr-plugin-satip/include-ctype-header.patch
@@ -0,0 +1,10 @@
+--- a/satip.c
++++ b/satip.c
+@@ -6,6 +6,7 @@
+ */
+
+ #include <getopt.h>
++#include <ctype.h>
+ #include <vdr/plugin.h>
+ #include "common.h"
+ #include "config.h"