diff options
Diffstat (limited to 'linhes/mythtv/PKGBUILD')
| -rw-r--r-- | linhes/mythtv/PKGBUILD | 60 |
1 files changed, 19 insertions, 41 deletions
diff --git a/linhes/mythtv/PKGBUILD b/linhes/mythtv/PKGBUILD index 44729ae..b5046fa 100644 --- a/linhes/mythtv/PKGBUILD +++ b/linhes/mythtv/PKGBUILD @@ -1,4 +1,5 @@ -# Maintainer: James Bunton <jamesbunton@delx.net.au> +# Maintainer: John Bergqvist <johnlbergqvist@gmail.com> +# Contributor: James Bunton <jamesbunton@delx.net.au> # Contributor: Taijian <taijian@posteo.de> # Contributor: Jonathan Conder <jonno.conder@gmail.com> # Contributor: Giovanni Scafora <giovanni@archlinux.org> @@ -7,9 +8,10 @@ # Contributor: dorphell <dorphell@archlinux.org> pkgname=mythtv -pkgver=35+fixes.20250315.18acab14 -pkgrel=1 +pkgver=36+fixes.20260410.0fb9e4f3 +pkgrel=4 pkgdesc="A Homebrew PVR project" +_mythversion=36 arch=('x86_64') url="https://www.mythtv.org/" license=('GPL') @@ -17,7 +19,6 @@ depends=( 'aom' 'dav1d' 'exiv2' - 'fftw' 'lame' 'libass' 'libavc1394' @@ -33,13 +34,12 @@ depends=( 'libxml2' 'libxrandr' 'libzip' - 'lzo' 'qt5-script' +# 'qt6-base' 'soundtouch' 'taglib' 'x264' 'x265' - 'glew' 'libcec' 'mariadb' 'mariadb-clients' @@ -53,6 +53,7 @@ depends=( 'python-lxml' 'python-mysqlclient' 'python-pyqt5-webengine' +# 'python-pyqt6-webengine' 'python-requests' 'python-requests-cache' 'xmltv' @@ -60,39 +61,27 @@ depends=( ) makedepends=( 'git' - 'help2man' 'libcdio' - 'libcec' 'libmariadbclient' - 'libxml2' 'lirc' - 'perl-dbd-mysql' - 'perl-io-socket-inet6' - 'perl-libwww' - 'perl-net-upnp' - 'perl-xml-simple' - 'perl-xml-xpath' - 'python-lxml' - 'python-mysqlclient' + 'nasm' 'python-pip' - 'python-requests' 'python-setuptools' 'python-wheel' 'qt5-tools' - 'yasm' ) options=(!lto) conflicts=('myththemes' 'mythplugins-mythvideo' 'mythtv-git') replaces=('myththemes' 'mythplugins-mythvideo' 'mythtv-git') -patches="0031-UPnP-Reduce-startup-latency-by-moving-blocking-code-to-own-thread.patch - 0227-OSD-Add-interlaced-status-to-OSD-debug-screen.patch +patches="defaultThemeLinHES.patch autoskip_reduce_commskip_jumpback.patch - defaultThemeLinHES.patch" + 0227-OSD-Add-interlaced-status-to-OSD-debug-screen.patch" +# 0031-UPnP-Reduce-startup-latency-by-moving-blocking-code-to-own-thread.patch source=( - "git+https://github.com/MythTV/mythtv#branch=fixes/35" + "git+https://github.com/MythTV/mythtv#branch=fixes/${_mythversion}" 'mythbackend.service' 'mythfrontend.desktop' 'mythtv-setup.desktop' @@ -104,20 +93,19 @@ source=( sha256sums=('SKIP' '6adb9d3370111c7d0000b215ae2d83a07a19c1bef5c22657f8caa9593c8efda5' - 'ec4f2330f77f0ac92acf228a4afa3b480cdd2de913cdabedfd43d40b03507557' - 'e7965a0d232aefcf8e5e89a96f46b7582a9590d2ae9b4f5b8ee9ab2baa913527' + '1d989fa50c7c3b45b1aa2bdbb5dc6e446485004afb81c65b4b5be1dc85d4bc5f' + '2f58fc3e30723d2bc1685dc2c6301373cc2f070588ce8865b0d4907d8cd6a436' '12cb52bf9b084a4f16419c9370fef0450ce6a11308b0c3f7240f4f83df7e2ab6' 'ecfd02bbbef5de9773f4de2c52e9b2b382ce8137735f249d7900270d304fd333' '470de0a4050c16c7af11a0e5cfe2810b7daae42df4acf5456c7eae274dc7c5ae' - '276f87058edc6197ab3a53faf6b4c485ef0d2b8447b9caa02ca7234f09ab473f' - '630c80c588a9b278c4421d356c5cbaa0debf149524bc896656b580b89d8fae88' + '3ff9f48ead83a8dd7a87cc08df066c00813b48b9171cc7bf74ba0e3cb2570d00' '8a81e724d902976056dc824e7304df343c230ce67ec6ce1d18e110c5ef818ef6' - '3ff9f48ead83a8dd7a87cc08df066c00813b48b9171cc7bf74ba0e3cb2570d00') + '630c80c588a9b278c4421d356c5cbaa0debf149524bc896656b580b89d8fae88') prepare() { msg2 "PKGBUILD pkgver: $pkgver" cd "${srcdir}/mythtv/mythtv" - gitsrcver=`echo "35+fixes.$(git show -s --format=%cd --date=short | tr -d -).$(git rev-parse --short=8 HEAD)"` + gitsrcver=`echo "${_mythversion}+fixes.$(git show -s --format=%cd --date=short | tr -d -).$(git rev-parse --short=8 HEAD)"` msg2 "GIT SOURCE pkgver: $gitsrcver" if [ $pkgver = $gitsrcver ]; then warning "pkgver did NOT change. Consider increasing pkgrel ($pkgrel)." @@ -138,25 +126,15 @@ prepare() { pkgver() { cd "${srcdir}/mythtv/mythtv" - echo -n "35+fixes.$(git show -s --format=%cd --date=short | tr -d -).$(git rev-parse --short=8 HEAD)" + echo -n "${_mythversion}+fixes.$(git show -s --format=%cd --date=short | tr -d -).$(git rev-parse --short=8 HEAD)" } build() { cd "${srcdir}/mythtv/mythtv" -#CFLAGS="-march=x86-64 -mtune=amdfam10 -O2 -pipe -fno-plt -fexceptions \ -# -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \ -# -fstack-clash-protection -fcf-protection" -# CFLAGS="${CFLAGS/flto=auto/fPIC}" -# CXXFLAGS="${CXXFLAGS/flto=auto/fPIC}" -# LDFLAGS="${LDFLAGS/flto=auto/fPIC}" - ARCH="${CARCH/_/-}" ./configure --prefix=/usr \ --cpu="$ARCH" \ - --disable-altivec \ - --disable-audio-jack \ - --disable-distcc \ --enable-libaom \ --enable-libdav1d \ --enable-libmp3lame \ @@ -164,10 +142,10 @@ build() { --enable-libx264 \ --enable-libx265 \ --enable-libxvid \ - --enable-vaapi \ --with-bindings=python \ --with-bindings=perl \ --perl-config-opts=INSTALLDIRS=vendor + echo "###### STARTING MAKE ####" make } |
