diff options
-rw-r--r-- | community/tvheadend/APKBUILD | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/community/tvheadend/APKBUILD b/community/tvheadend/APKBUILD index 5fbba14159..e4894963ce 100644 --- a/community/tvheadend/APKBUILD +++ b/community/tvheadend/APKBUILD @@ -1,16 +1,13 @@ # Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org> pkgname=tvheadend pkgver=4.2.8 -pkgrel=0 +pkgrel=1 pkgdesc="TV Streaming server for linux" url="http://tvheadend.org/" arch="all" license="GPL-3.0-only" -depends="" -depends_dev="" -makedepends="$depends_dev findutils bash git python2 linux-headers - bsd-compat-headers coreutils openssl-dev ffmpeg-dev gettext-dev - zlib-dev libhdhomerun-dev cmake" +makedepends="findutils bash git python3 linux-headers bsd-compat-headers + coreutils openssl-dev ffmpeg-dev gettext-dev zlib-dev cmake" pkgusers="tvheadend" pkggroups="tvheadend" install="$pkgname.pre-install" @@ -20,18 +17,14 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/tvheadend/tvheadend/archive/ $pkgname.initd " -builddir="$srcdir/tvheadend-$pkgver" build() { - cd "$builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --enable-libav \ - --enable-hdhomerun_client \ - --disable-hdhomerun_static \ --disable-ffmpeg_static \ --disable-libx264_static \ --disable-libx265_static \ @@ -40,12 +33,12 @@ build() { --disable-libvorbis_static \ --disable-libfdkaac_static \ --disable-libmfx_static \ + --python=python3 \ --nowerror make } package() { - cd "$builddir" make -j1 DESTDIR="$pkgdir" install install -m 755 -D "$srcdir"/$pkgname.initd \ "$pkgdir"/etc/init.d/$pkgname |