From d6dff2bf49340c78478c482352da3b47ab36e66d Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 12 Apr 2026 11:56:32 -0400 Subject: mythtv: udpdate latest fixes --- linhes/mythtv/PKGBUILD | 23 +++++++++-------------- linhes/mythtv/mythfrontend.desktop | 2 +- linhes/mythtv/mythtv-setup.desktop | 4 ++-- 3 files changed, 12 insertions(+), 17 deletions(-) diff --git a/linhes/mythtv/PKGBUILD b/linhes/mythtv/PKGBUILD index 1803afa..1648b2d 100644 --- a/linhes/mythtv/PKGBUILD +++ b/linhes/mythtv/PKGBUILD @@ -1,4 +1,5 @@ -# Maintainer: James Bunton +# Maintainer: John Bergqvist +# Contributor: James Bunton # Contributor: Taijian # Contributor: Jonathan Conder # Contributor: Giovanni Scafora @@ -7,9 +8,10 @@ # Contributor: dorphell pkgname=mythtv -pkgver=36+fixes.20260310.ababe58b +pkgver=36+fixes.20260410.0fb9e4f3 pkgrel=2 pkgdesc="A Homebrew PVR project" +_mythversion=36 arch=('x86_64') url="https://www.mythtv.org/" license=('GPL') @@ -98,7 +100,7 @@ patches="defaultThemeLinHES.patch # 0031-UPnP-Reduce-startup-latency-by-moving-blocking-code-to-own-thread.patch source=( - "git+https://github.com/MythTV/mythtv#branch=fixes/36" + "git+https://github.com/MythTV/mythtv#branch=fixes/${_mythversion}" 'mythbackend.service' 'mythfrontend.desktop' 'mythtv-setup.desktop' @@ -110,8 +112,8 @@ source=( sha256sums=('SKIP' '6adb9d3370111c7d0000b215ae2d83a07a19c1bef5c22657f8caa9593c8efda5' - 'eb355b20d9d36a2942bb529263b9e16da30ef764f80acac0177b1773a6b3c809' - '23b9669ea7533c13c54b382fba7b63980064939d5701a0c229c9254bafd6d3d6' + '1d989fa50c7c3b45b1aa2bdbb5dc6e446485004afb81c65b4b5be1dc85d4bc5f' + '2f58fc3e30723d2bc1685dc2c6301373cc2f070588ce8865b0d4907d8cd6a436' '12cb52bf9b084a4f16419c9370fef0450ce6a11308b0c3f7240f4f83df7e2ab6' 'ecfd02bbbef5de9773f4de2c52e9b2b382ce8137735f249d7900270d304fd333' '470de0a4050c16c7af11a0e5cfe2810b7daae42df4acf5456c7eae274dc7c5ae' @@ -122,7 +124,7 @@ sha256sums=('SKIP' prepare() { msg2 "PKGBUILD pkgver: $pkgver" cd "${srcdir}/mythtv/mythtv" - gitsrcver=`echo "36+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)." @@ -143,19 +145,12 @@ prepare() { pkgver() { cd "${srcdir}/mythtv/mythtv" - echo -n "36+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" \ diff --git a/linhes/mythtv/mythfrontend.desktop b/linhes/mythtv/mythfrontend.desktop index 3de9419..65e725f 100644 --- a/linhes/mythtv/mythfrontend.desktop +++ b/linhes/mythtv/mythfrontend.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=MythFrontend -Comment=Record, playback and watch TV. +Comment=Record, playback and watch TV Exec=mythfrontend --disable-autodiscovery --noupnp --quiet --syslog local6 Type=Application Terminal=false diff --git a/linhes/mythtv/mythtv-setup.desktop b/linhes/mythtv/mythtv-setup.desktop index d238af1..cb17121 100644 --- a/linhes/mythtv/mythtv-setup.desktop +++ b/linhes/mythtv/mythtv-setup.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Name=MythTV Setup -Comment=Setup application for the MythTV backend server -Exec=Exec=mythtv-setup --syslog local6 +Comment=Setup the MythTV backend server +Exec=mythtv-setup --syslog local6 Type=Application Terminal=false Icon=mythtv -- cgit v0.12