Package Details: mythtv-git 34.0.r23.g9b54f1a672-1

Git Clone URL: https://aur.archlinux.org/mythtv-git.git (read-only, click to copy)
Package Base: mythtv-git
Description: A Homebrew PVR project (Stable '-fixes' branch)
Upstream URL: https://www.mythtv.org/
Licenses: GPL
Conflicts: mythtv
Provides: mythtv
Submitter: JohnLBergqvist
Maintainer: JohnLBergqvist
Last Packager: JohnLBergqvist
Votes: 36
Popularity: 0.000685
First Submitted: 2023-04-10 09:11 (UTC)
Last Updated: 2024-06-30 17:31 (UTC)

Sources (6)

Pinned Comments

JohnLBergqvist commented on 2023-04-10 15:56 (UTC) (edited on 2023-04-10 15:57 (UTC) by JohnLBergqvist)

This package replaces the previous 'mythtv' AUR package. It has been renamed to comply with Arch's VCS package guidelines.

I hope to update the various mythplugins AUR packages soon

Latest Comments

1 2 3 4 5 6 .. 31 Next › Last »

bevipbr commented on 2024-12-16 02:56 (UTC) (edited on 2024-12-16 03:20 (UTC) by bevipbr)

Not sure what I'm doing wrong, but I am still not able to install. I've added the paramater suggested by @hamelg under configuration in the PKGBUILD and applied the patch acccording to the instructions by @jfabernathy. Now I get this error:


/usr/bin/ld: libavcodec/amfenc_h264.o: in function `GetDefaultChannelLayout':
/usr/include/AMF/core/AudioBuffer.h:89: multiple definition of `GetDefaultChannelLayout'; libavcodec/amfenc.o:/usr/include/AMF/core/AudioBuffer.h:89: first defined here
/usr/bin/ld: libavcodec/amfenc_hevc.o: in function `GetDefaultChannelLayout':
/usr/include/AMF/core/AudioBuffer.h:89: multiple definition of `GetDefaultChannelLayout'; libavcodec/amfenc.o:/usr/include/AMF/core/AudioBuffer.h:89: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [ffbuild/library.mak:121: libavcodec/libmythavcodec.so.59] Error 1
make[2]: Leaving directory '/var/tmp/pamac-build-user/mythtv-git/mythtv-git/src/mythtv/mythtv/external/FFmpeg'
make[1]: *** [Makefile:32: FFmpeg-all] Error 2
make[1]: Leaving directory '/var/tmp/pamac-build-user/mythtv-git/mythtv-git/src/mythtv/mythtv/external'
make: *** [Makefile:66: external] Error 2
==> ERROR: A failure occurred in build().

skunkfunk commented on 2024-11-17 20:37 (UTC)

It seems that just removing x264 from the configuration in PKGBUILD works and performs just fine, if anybody wants a simpler workaround.

jfabernathy commented on 2024-11-11 18:44 (UTC) (edited on 2024-11-11 19:21 (UTC) by jfabernathy)

@glenb77 Thanks, I think I did this right. I downloaded the patch to the same directory as the PKGBUILD file, removed the --extra-cflags mentioned earlier, and then did:

makepkg -o
patch -d src/mythtv/ -p1 < libx265.patch
makepkg -ef
makepkg -i

mythfrontend works at least.

glenb77 commented on 2024-11-11 03:13 (UTC)

@jfabernathy, built for me. i just did makepkg -o to get source and not compile, applied the patch, then makepkg -e to build after the file is patched.

jfabernathy commented on 2024-11-10 11:49 (UTC)

I've never patched a AUR PKGBUILD packagage. I'm not finding a lot of info on how to do that and not mess up mythtv-git.

hamelg commented on 2024-11-09 20:58 (UTC) (edited on 2024-11-09 21:28 (UTC) by hamelg)

applying this patch should be better.

https://app.box.com/s/fu5admlhwiw00vyfeyga6jq4ur8ufc6p

EDIT: upload patch

hamelg commented on 2024-11-09 18:06 (UTC)

patch the PKGBUILD : add this parameter to the configure command :

--extra-cflags=-Wno-incompatible-pointer-types \

see the issue : https://github.com/MythTV/mythtv/issues/966

jfabernathy commented on 2024-11-09 14:47 (UTC)

Where did you add the option " -Wno-incompatible-pointer-types" to work around the failure"?

hamelg commented on 2024-11-09 09:50 (UTC) (edited on 2024-11-09 10:57 (UTC) by hamelg)

upgrading x265 from 3.6 to 4.0 requires recompiling mythtv and now the compilation fails with this error :


libavcodec/libx265.c: In function ‘libx265_encode_frame’:
libavcodec/libx265.c:579:59: error: passing argument 5 of ‘ctx->api->encoder_encode’ from incompatible pointer type [-Wincompatible-pointer-types]
  579 |                                    pic ? &x265pic : NULL, &x265pic_out);
      |                                                           ^~~~~~~~~~~~
      |                                                           |
      |                                                           x265_picture *
libavcodec/libx265.c:579:59: note: expected ‘x265_picture **’ but argument is of type ‘x265_picture *’
make[2]: *** [ffbuild/common.mak:81: libavcodec/libx265.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/goinfre/build/tmp/mythtv-git/src/mythtv/mythtv/external/FFmpeg'
make[1]: *** [Makefile:32: FFmpeg-all] Error 2
make[1]: Leaving directory '/goinfre/build/tmp/mythtv-git/src/mythtv/mythtv/external'
make: *** [Makefile:66: external] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Any ideas to solve this problem?

EDIT: I used -Wno-incompatible-pointer-types to work around the failure

JohnLBergqvist commented on 2024-06-30 17:33 (UTC)

@jfabernathy I've just fixed this