aports/testing/uxplay/APKBUILD
2025-01-25 16:09:50 +00:00

46 lines
1.2 KiB
Text

# Contributor: Angelo Verlain <hey@vixalien.com>
maintainer="Angelo Verlain <hey@vixalien.com>"
pkgname=uxplay
_gitname=UxPlay
pkgver=1.71.1
pkgrel=0
arch="all"
url="https://github.com/FDH2/$_gitname"
pkgdesc="AirPlay Unix mirroring server"
license="GPL-3.0-or-later"
depends="
gst-plugins-good
gst-plugins-bad
gst-libav
"
makedepends="
cmake
openssl-dev
libplist-dev
avahi-dev
gstreamer-dev
gst-plugins-base-dev
"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz
uxplay.desktop
"
options="!check"
builddir="$srcdir/$_gitname-$pkgver"
build() {
cmake -B build
cmake --build build
}
package() {
install -Dm755 "$builddir/build/uxplay" "$pkgdir/usr/bin/uxplay"
install -Dm644 "$srcdir/uxplay.desktop" "$pkgdir/usr/share/applications/uxplay.desktop"
install -Dm644 "$builddir/uxplay.1" "$pkgdir/usr/share/man/man1/uxplay.1"
}
sha512sums="
5f529934280efe72b3161479923bd73befb46a6fa06c693af2449d69ff3612a39d112c91c83f288f8aca58f9a017572d897db5c31c0f7fac7424eaf0e1848338 uxplay-1.71.1.tar.gz
113ff76fa2761df54ec610f2ae2cdfc50ee6489102e82d2157c61d25b78e381406db94a3e1f119f4d8acd5fc34be3e97e56a693e3fc77086b42a67ca3168da17 uxplay.desktop
"