diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-03-10 10:43:42 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-10 19:33:01 -0300 |
commit | 7885d23a1c8f237f71cf94bac201c489b40138ea (patch) | |
tree | 83769de2083c260063798e866fb4825b4db60ab3 /testing/nymphcast | |
parent | 3dee526e2e75720d21504fdd882fb354b91fa2de (diff) | |
download | aports-7885d23a1c8f237f71cf94bac201c489b40138ea.tar.bz2 aports-7885d23a1c8f237f71cf94bac201c489b40138ea.tar.xz |
testing/nymphcast: upgrade to 0_git20200310
Diffstat (limited to 'testing/nymphcast')
-rw-r--r-- | testing/nymphcast/APKBUILD | 59 |
1 files changed, 25 insertions, 34 deletions
diff --git a/testing/nymphcast/APKBUILD b/testing/nymphcast/APKBUILD index bb700754e4..0b6233c37f 100644 --- a/testing/nymphcast/APKBUILD +++ b/testing/nymphcast/APKBUILD @@ -1,19 +1,20 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=nymphcast -pkgver=0_git20200309 +pkgver=0_git20200310 pkgrel=0 -_commit="d5adc8921e3bd357ce8715122d8bb17ca4bd547e" +_commit="0b494a446b3c215ca60dafa2678703b3f5f6e392" arch="all !armv7" # Assembly failure url="http://nyanko.ws/product_nymphcast.php" pkgdesc="Audio and video casting system with support for custom applications" license="BSD-3-Clause" depends="avahi" -depends_dev="$pkgname-sdk" -makedepends="nymphrpc nymphrpc-dev sdl2-dev sdl2_image-dev ffmpeg-dev openssl-dev" +depends_dev="nymphrpc-dev" +makedepends="$depends_dev sdl2-dev sdl2_image-dev ffmpeg-dev openssl-dev" source="$pkgname-$_commit.tar.gz::https://github.com/MayaPosch/NymphCast/archive/$_commit.tar.gz - nymphcast.initd" -subpackages="$pkgname-sdk $pkgname-sdk-static:sdk_static $pkgname-dev $pkgname-openrc" + nymphcast.initd + " +subpackages="$pkgname-server $pkgname-dev $pkgname-openrc" options="!check" # No tests builddir="$srcdir/NymphCast-$_commit" @@ -23,43 +24,33 @@ build() { } package() { - # Install the server + cd "$builddir"/src/client_lib + mkdir -p "$pkgdir"/usr/lib + mv lib/*.so* "$pkgdir"/usr/lib/ + install -Dm644 nymphcast_client.h "$pkgdir"/usr/include/nymphcast_client.h + + install -Dm755 "$srcdir"/nymphcast.initd "$pkgdir"/etc/init.d/nymphcast +} + +server() { + pkgdesc="$pkgdesc (server)" + cd "$builddir"/src/server - install -Dm755 bin/nymphcast_server "$pkgdir"/usr/bin/nymphcast_server + install -Dm755 bin/nymphcast_server "$subpkgdir"/usr/bin/nymphcast_server for i in *.ini; do - install -Dm644 "$i" "$pkgdir"/etc/nymphcast/"$i" + install -Dm644 "$i" "$subpkgdir"/etc/nymphcast/"$i" done install -d \ - "$pkgdir"/usr/share/nymphcast - cp -r apps "$pkgdir"/usr/share/nymphcast/ + "$subpkgdir"/usr/share/nymphcast + cp -r apps "$subpkgdir"/usr/share/nymphcast/ for file in *.jpg; do - install -Dm644 "$file" "$pkgdir"/usr/share/nymphcast/wallpapers/$file + install -Dm644 "$file" "$subpkgdir"/usr/share/nymphcast/wallpapers/$file done - install -Dm755 "$srcdir"/nymphcast.initd "$pkgdir"/etc/init.d/nymphcast - - install -Dm644 avahi/nymphcast.service "$pkgdir"/etc/avahi/services/nymphcast.service - - # Install the client SDK header - cd "$builddir"/src/client_lib - install -Dm644 nymphcast_client.h "$pkgdir"/usr/include/nymphcast_client.h -} - -sdk() { - pkgdesc="$pkgdesc (SDK)" - - cd "$builddir"/src/client_lib - install -Dm644 lib/libnymphcast.so "$subpkgdir"/usr/lib/libnymphcast.so -} - -sdk_static() { - pkgdesc="$pkgdesc (static SDK)" - - cd "$builddir"/src/client_lib - install -Dm644 lib/libnymphcast.a "$subpkgdir"/usr/lib/libnymphcast.a + install -Dm644 avahi/nymphcast.service "$subpkgdir"/etc/avahi/services/nymphcast.service } -sha512sums="2a48b771a0c11760891013a38fd60406edf6a6d7cdd3c38ca6dbe98851aeb933a3a673deebcb7081e68d50a43a0b22d60c90323d18754decf5767b614a3439b1 nymphcast-d5adc8921e3bd357ce8715122d8bb17ca4bd547e.tar.gz +sha512sums="14d79b6b34e3e05fc6ec56a2f8a8f0601be6342baa645062e663e0e6d115b1895f342ed3ceee2157339e95ce78e3de13156585ba77635e91fde09f90b032845b nymphcast-0b494a446b3c215ca60dafa2678703b3f5f6e392.tar.gz 1ab3f0dad11bca5790a2a637bc624c6b80990d09990a9f5ef3a4537c9c04abf40924633c571ffa86758886d5f21253bb5d0369b17b01f90dcc39b3e609caa405 nymphcast.initd" |