@cgirard,
Only thing I can think of is that the package could be missing some dependencies. Does it build if you don't build inside a chroot?
I'm not the maintainer of this package nor tvheadend. However it does compile with current ffmpeg4.4 here. Just to make sure you have made all changes correctly, here is the complete patch with the changes I'm using currently (note whitespace might not be preserved, so you might need to apply some parts by hand and update the checksums - I noticed there is at least one trailing space in the ffmpeg4.4 moving patch):
diff --git a/PKGBUILD b/PKGBUILD
index 66b3c8c..559bdcb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_gitname='tvheadend-git'
pkgname=tvheadend-git
-pkgver=4.3.r1947.gdbaa0f850
+pkgver=4.3.r2009.g1295dd2be
pkgrel=1
pkgdesc="TV streaming server for Linux"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
@@ -44,17 +44,26 @@ source=(
tvheadend.service
tmpfile.conf
user.conf
+ configffmpeg.patch
)
sha512sums=('SKIP'
'd29662ee47f2d0da98d444819f730a8c487999454d60d7397b0f67068300ab5111ffce18befc9fdef5ff8fa1925213716837ea44808fb934197e4a56f98de8a7'
'1080c8a2530d1f16ab5304cdd81c9c9da23b281e44a4874f4921905c843d876831214af481f9be91a74291ed4a6a10684dbdfb8f926b51bbb6895b92d493b201'
- '5e0475cfe1f915bd3269ba3e9e0ca6cc7e492988bfd4f1feafcbbd3e8b0276c228f0b08a4116f3213d12c0ea940eff0dc71601a6e6ddcda934964cf51a665539')
+ '5e0475cfe1f915bd3269ba3e9e0ca6cc7e492988bfd4f1feafcbbd3e8b0276c228f0b08a4116f3213d12c0ea940eff0dc71601a6e6ddcda934964cf51a665539'
+ 'ff61d594db210fc8413edd900fc9e01705a01a35ac0c225b2bb3bdf5beca088b13c021ade08d61dee58ff2e5a8e73fc8eb042033ccdd55f3a8573f64e5eec6d4')
pkgver() {
cd "${srcdir}/${_gitname}"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
+prepare() {
+ # cd "$pkgname-$pkgver"
+ cd "${srcdir}/${_gitname}"
+ patch --forward --input="${srcdir}/configffmpeg.patch"
+
+}
+
build() {
cd "${srcdir}/${_gitname}"
diff --git a/configffmpeg.patch b/configffmpeg.patch
new file mode 100644
index 0000000..03c2b14
--- /dev/null
+++ b/configffmpeg.patch
@@ -0,0 +1,10 @@
+--- configure.old 2022-02-21 01:18:56.172209777 +0200
++++ configure 2022-02-21 01:19:37.482835172 +0200
+@@ -639,6 +639,7 @@
+ if enabled_or_auto libav; then
+ has_libav=true
+ has_resample=false
++ export PKG_CONFIG_PATH=/usr/lib/ffmpeg4.4/pkgconfig/
+
+ check_pkg libavfilter ">=6.47.100" || has_libav=false
+ check_pkg libswresample ">=2.1.100" && has_resample=true
Pinned Comments
francoism90 commented on 2021-03-21 14:16 (UTC) (edited on 2021-03-21 14:16 (UTC) by francoism90)
Warning: if you have previously used this package, you need to reinstall! Sorry for introducing breaking changes, but hopefully the introduced changes will provide a better experience for most users. :)
Backup your configs (if needed) before performing the upgrade!
Changes:
/var/lib/tvheadend
instead of/usr/share/tvheadend
tvheadend
(member of groupvideo
) with config files stored in/etc/tvheadend
, it will not use a home directory anymore.sysusers.d
andtmpfiles.d
permissions should be easier to manage.tvheadend.service
now includes-C
by default.If you have any questions or suggestions, please let me know. :)
luciferin commented on 2017-04-06 14:01 (UTC) (edited on 2019-08-14 12:21 (UTC) by luciferin)
I started up a wiki page for Tvheadend. Input and help is welcome.
https://wiki.archlinux.org/index.php/Tvheadend