aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vdr-plugin-vnsiserver
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-08-04 16:45:37 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-08-04 16:45:37 +0200
commit64dab9cfe8083b466ce20bf5e0cacc326f24dad8 (patch)
tree83d1d12e7c8f073cd1f67c693335a79739ac02c7 /testing/vdr-plugin-vnsiserver
parent386c35bb6c8cec1d8d1dc07210e2abc879020cd1 (diff)
downloadaports-64dab9cfe8083b466ce20bf5e0cacc326f24dad8.tar.bz2
aports-64dab9cfe8083b466ce20bf5e0cacc326f24dad8.tar.xz
testing/vdr-plugin-vnsiserver: new aport
Diffstat (limited to 'testing/vdr-plugin-vnsiserver')
-rw-r--r--testing/vdr-plugin-vnsiserver/APKBUILD44
-rw-r--r--testing/vdr-plugin-vnsiserver/musl-fix.patch11
2 files changed, 55 insertions, 0 deletions
diff --git a/testing/vdr-plugin-vnsiserver/APKBUILD b/testing/vdr-plugin-vnsiserver/APKBUILD
new file mode 100644
index 0000000000..464e1d907d
--- /dev/null
+++ b/testing/vdr-plugin-vnsiserver/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=vdr-plugin-vnsiserver
+pkgver="1.1.0"
+pkgrel=0
+pkgdesc="VDR plugin to handle XBMC clients"
+url="https://github.com/FernetMenta/vdr-plugin-vnsiserver"
+arch="all"
+license="GPLv2"
+depends=""
+depends_dev="vdr-dev"
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="vdr-plugin-vnsiserver-${pkgver}.tar.gz::https://github.com/FernetMenta/vdr-plugin-vnsiserver/archive/v${pkgver}.tar.gz
+ musl-fix.patch"
+
+_builddir="$srcdir/$pkgname-$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"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR=$pkgdir install || return 1
+}
+
+md5sums="b1e9e614c2b5737e1eb125466abd2e07 vdr-plugin-vnsiserver-1.1.0.tar.gz
+c31e4e2252eca1ccb760320a3de86a9f musl-fix.patch"
+sha256sums="7fd0210fee1500ea4c9f59c9accc36096ace9c15831e53505318008d54c9ab10 vdr-plugin-vnsiserver-1.1.0.tar.gz
+899791e06b69163cd18f212c3069ec98ae416a4d3a1316edc21969b28fd29eb3 musl-fix.patch"
+sha512sums="d872b3f1db7dfb5f8616c61bebe278626fc5d01d63fe890013db905226c80035592ff18ea724451eebe704ba7e94894a48207141d11b705ea7722356fef5abbd vdr-plugin-vnsiserver-1.1.0.tar.gz
+dce7f79b485d5c8b80f54b30a62f4e5d72875711836599a6c92fc61b862dc3ae2eb49e2540c9d3e9068c147eeb7d9b381495744597e7be234d28579355e008a7 musl-fix.patch"
diff --git a/testing/vdr-plugin-vnsiserver/musl-fix.patch b/testing/vdr-plugin-vnsiserver/musl-fix.patch
new file mode 100644
index 0000000000..3f3e0c433f
--- /dev/null
+++ b/testing/vdr-plugin-vnsiserver/musl-fix.patch
@@ -0,0 +1,11 @@
+--- a/vnsiosd.c
++++ b/vnsiosd.c
+@@ -24,7 +24,7 @@
+ #include "responsepacket.h"
+ #include <signal.h>
+ #include <sys/ioctl.h>
+-#include <sys/unistd.h>
++#include <unistd.h>
+ #include <vdr/tools.h>
+ #include <vdr/remote.h>
+ #include "cxsocket.h"