From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/xine-lib/
Date: Wed, 12 Mar 2025 10:14:45 +0000 (UTC) [thread overview]
Message-ID: <1741774302.ac47ea76067a7cae784582b07944899581df434d.ionen@gentoo> (raw)
commit: ac47ea76067a7cae784582b07944899581df434d
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 12 02:35:33 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Mar 12 10:11:42 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac47ea76
media-libs/xine-lib: use ffmpeg-compat
It is possible fixes already exist for ffmpeg-7 on this package,
but not planning to look into that myself.
Given no code changes, plans are to sync keywords back with stable
when ready.
Bug: https://bugs.gentoo.org/948076
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
media-libs/xine-lib/xine-lib-1.2.13-r3.ebuild | 244 ++++++++++++++++++++++++++
1 file changed, 244 insertions(+)
diff --git a/media-libs/xine-lib/xine-lib-1.2.13-r3.ebuild b/media-libs/xine-lib/xine-lib-1.2.13-r3.ebuild
new file mode 100644
index 000000000000..54acce9f205d
--- /dev/null
+++ b/media-libs/xine-lib/xine-lib-1.2.13-r3.ebuild
@@ -0,0 +1,244 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit ffmpeg-compat flag-o-matic libtool multilib
+
+if [[ ${PV} == *9999* ]]; then
+ EHG_REPO_URI="http://hg.code.sf.net/p/xine/xine-lib-1.2"
+ inherit autotools mercurial
+ unset NLS_IUSE
+ NLS_DEPEND="sys-devel/gettext"
+ NLS_RDEPEND="virtual/libintl"
+else
+ SRC_URI="https://downloads.sourceforge.net/xine/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+ S="${WORKDIR}"/${PN}-$(ver_cut 1-2)
+
+ NLS_IUSE="nls"
+ NLS_DEPEND="nls? ( sys-devel/gettext )"
+ NLS_RDEPEND="nls? ( virtual/libintl )"
+fi
+
+DESCRIPTION="Core libraries for Xine movie player"
+HOMEPAGE="https://xine.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="1"
+IUSE="a52 aac aalib +alsa bluray cpu_flags_ppc_altivec +css dav1d dts dvb dxr3 fbcon flac gtk imagemagick jack jpeg libcaca mad +mmap mng modplug musepack nfs opengl oss pulseaudio samba sftp sdl speex theora truetype v4l vaapi vcd vdpau vdr vidix +vis vorbis vpx wavpack wayland +X xinerama +xv xvmc ${NLS_IUSE}"
+REQUIRED_USE="
+ vidix? ( || ( X fbcon ) )
+ wayland? ( opengl )
+ xv? ( X )
+ xinerama? ( X )
+"
+
+RDEPEND="
+ dev-libs/libxdg-basedir
+ media-libs/libdvdnav
+ media-video/ffmpeg-compat:6=
+ sys-libs/zlib:=
+ virtual/libiconv
+ a52? ( media-libs/a52dec )
+ aac? ( media-libs/faad2 )
+ aalib? ( media-libs/aalib )
+ alsa? ( media-libs/alsa-lib )
+ bluray? ( >=media-libs/libbluray-0.2.1:= )
+ css? ( >=media-libs/libdvdcss-1.2.10 )
+ dav1d? ( media-libs/dav1d:= )
+ dts? ( media-libs/libdca )
+ dxr3? ( media-libs/libfame )
+ flac? ( media-libs/flac:= )
+ gtk? ( x11-libs/gdk-pixbuf:2 )
+ imagemagick? ( virtual/imagemagick-tools )
+ jack? ( virtual/jack )
+ jpeg? ( media-libs/libjpeg-turbo:= )
+ libcaca? ( media-libs/libcaca )
+ mad? ( media-libs/libmad )
+ mng? ( media-libs/libmng:= )
+ modplug? ( >=media-libs/libmodplug-0.8.8.1 )
+ musepack? ( >=media-sound/musepack-tools-444 )
+ nfs? ( net-fs/libnfs:= )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ pulseaudio? ( media-libs/libpulse )
+ samba? ( net-fs/samba )
+ sftp? ( net-libs/libssh2 )
+ sdl? ( media-libs/libsdl )
+ speex? (
+ media-libs/libogg
+ media-libs/speex
+ )
+ theora? (
+ media-libs/libogg
+ media-libs/libtheora
+ )
+ truetype? (
+ media-libs/fontconfig
+ media-libs/freetype:2
+ )
+ v4l? ( media-libs/libv4l )
+ vaapi? ( media-libs/libva:=[X] )
+ vcd? (
+ >=media-video/vcdimager-0.7.23
+ dev-libs/libcdio:=[-minimal]
+ )
+ vdpau? ( x11-libs/libvdpau )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ vpx? ( media-libs/libvpx:= )
+ wavpack? ( media-sound/wavpack )
+ wayland? ( dev-libs/wayland )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libxcb:=
+ )
+ xinerama? ( x11-libs/libXinerama )
+ xv? ( x11-libs/libXv )
+ xvmc? ( x11-libs/libXvMC )
+"
+DEPEND="
+ ${RDEPEND}
+ oss? ( virtual/os-headers )
+ v4l? ( virtual/os-headers )
+ X? (
+ x11-base/xorg-proto
+ x11-libs/libXt
+ )
+ xv? ( x11-base/xorg-proto )
+ xvmc? ( x11-base/xorg-proto )
+ xinerama? ( x11-base/xorg-proto )
+"
+BDEPEND="
+ app-arch/xz-utils
+ >=dev-build/libtool-2.2.6b
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.2.13-configure-clang16.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i -e '/define VDR_ABS_FIFO_DIR/s|".*"|"/var/vdr/xine"|' src/vdr/input_vdr.c || die
+
+ if [[ "${PV}" = *9999* ]] ; then
+ eautoreconf
+ else
+ elibtoolize
+ fi
+
+ local x
+ for x in 0 1 2 3; do
+ sed -i -e "/^O${x}_CFLAGS=\"-O${x}\"/d" configure || die
+ done
+}
+
+src_configure() {
+ # TODO: fix with >=ffmpeg-7 then drop compat (bug #948076)
+ ffmpeg_compat_setup 6
+ ffmpeg_compat_add_flags
+
+ # bug #944147
+ append-flags -std=gnu17
+
+ [[ ${CHOST} == i?86-* ]] && append-flags -fomit-frame-pointer #422519
+
+ local win32dir #197236
+ if has_multilib_profile; then
+ win32dir=/usr/$(ABI="x86" get_libdir)/win32
+ else
+ win32dir=/usr/$(get_libdir)/win32
+ fi
+
+ local myconf=(
+ --disable-directfb
+ --disable-gnomevfs
+ --disable-optimizations
+ --disable-real-codecs
+ --disable-v4l
+ --disable-w32dll
+ --enable-avformat
+ --enable-ipv6
+ --with-external-dvdnav
+ --with-real-codecs-path=/usr/$(get_libdir)/codecs
+ --with-w32-path=${win32dir}
+ --with-xv-path=/usr/$(get_libdir)
+ --without-esound
+ --without-fusionsound
+ # Added dav1d for now. Could support both? Does it need to be XOR?
+ --without-libaom
+ $(use_enable a52 a52dec)
+ $(use_enable aac faad)
+ $(use_enable aalib)
+ $(use_enable cpu_flags_ppc_altivec altivec)
+ $(use_enable bluray)
+ $(use_enable dts)
+ $(use_enable dvb)
+ $(use_enable dxr3)
+ $(use_enable fbcon fb)
+ $(use_enable gtk gdkpixbuf)
+ $(use_enable jpeg libjpeg)
+ $(use_enable mad)
+ $(use_enable mmap)
+ $(use_enable mng)
+ $(use_enable modplug)
+ $(use_enable musepack)
+ $(use_enable nfs)
+ $(use_enable opengl)
+ $(use_enable opengl glu)
+ $(use_enable oss)
+ $(use_enable samba)
+ $(use_enable sftp)
+ $(use_enable v4l libv4l)
+ $(use_enable v4l v4l2)
+ $(use_enable vaapi)
+ $(use_enable vdpau)
+ $(use_enable vis)
+ $(use_enable vidix)
+ $(use_enable xinerama)
+ $(use_enable xvmc)
+ $(use_enable vcd)
+ $(use_enable vdr)
+ $(use_enable vpx)
+ $(use_enable wayland)
+ $(use_with alsa)
+ $(use_with dav1d)
+ $(use_with flac libflac)
+ $(use_with imagemagick)
+ $(use_with jack)
+ $(use_with libcaca caca)
+ $(use_with pulseaudio)
+ $(use_with sdl)
+ $(use_with speex)
+ $(use_with theora)
+ $(use_with truetype fontconfig)
+ $(use_with truetype freetype)
+ $(use_with vorbis)
+ $(use_with wavpack)
+ $(use_with X x)
+ $(use_with X xcb)
+ )
+ [[ ${PV} == *9999* ]] || myconf+=( $(use_enable nls) )
+
+ CONFIG_SHELL="${BROOT}"/bin/bash econf "${myconf[@]}"
+}
+
+src_compile() {
+ # enable verbose building, bug #448140
+ emake V=1
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+ rm "${ED}"/usr/share/doc/${PF}/COPYING || die
+}
next reply other threads:[~2025-03-12 10:14 UTC|newest]
Thread overview: 84+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-12 10:14 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-22 15:23 [gentoo-commits] repo/gentoo:master commit in: media-libs/xine-lib/ Sam James
2025-06-22 12:31 Sam James
2025-06-15 3:50 Michał Górny
2025-06-10 16:10 Arthur Zamarin
2025-06-10 16:10 Arthur Zamarin
2025-04-25 1:21 Ionen Wolkens
2024-11-24 23:15 Sam James
2023-06-01 6:58 Jakov Smolić
2023-06-01 6:45 Sam James
2023-06-01 6:22 Sam James
2023-06-01 5:22 Sam James
2023-04-17 1:25 Matt Turner
2023-04-17 1:25 Matt Turner
2023-01-26 6:29 Sam James
2022-11-12 17:48 Matt Turner
2022-11-12 17:48 Matt Turner
2022-11-12 16:06 Arthur Zamarin
2022-11-12 16:06 Arthur Zamarin
2022-11-05 2:07 Sam James
2022-09-05 3:56 Sam James
2022-09-03 5:27 Sam James
2022-09-03 5:27 Sam James
2022-07-20 20:26 Matt Turner
2022-07-15 7:58 David Seifert
2022-07-14 18:50 David Seifert
2022-05-19 22:46 Sam James
2022-05-05 9:50 Agostino Sarubbo
2022-05-03 17:48 Arthur Zamarin
2022-05-03 17:48 Arthur Zamarin
2022-05-03 17:48 Arthur Zamarin
2022-05-02 19:03 Sam James
2022-03-15 13:27 Alexis Ballier
2021-08-25 0:10 Marek Szuba
2021-05-16 18:58 Sam James
2021-03-06 21:38 Sergei Trofimovich
2021-03-06 21:38 Sergei Trofimovich
2021-03-05 7:32 Agostino Sarubbo
2021-03-05 7:27 Agostino Sarubbo
2021-03-04 1:45 Sam James
2020-12-20 16:40 Thomas Deutschmann
2020-12-18 10:25 Sergei Trofimovich
2020-12-17 7:48 Sam James
2020-12-17 5:32 Sam James
2020-12-06 20:26 Sam James
2020-12-06 19:49 Sam James
2020-09-04 16:47 Alexis Ballier
2020-04-26 12:05 David Seifert
2020-01-23 19:18 Matt Turner
2019-07-24 20:56 Aaron Bauman
2018-08-13 21:40 Andreas Sturmlechner
2018-08-13 21:40 Andreas Sturmlechner
2018-08-13 21:40 Andreas Sturmlechner
2018-08-13 21:40 Andreas Sturmlechner
2018-08-13 21:40 Andreas Sturmlechner
2018-08-13 21:40 Andreas Sturmlechner
2018-08-13 21:40 Andreas Sturmlechner
2018-08-13 21:40 Andreas Sturmlechner
2018-08-13 21:40 Andreas Sturmlechner
2018-08-13 21:40 Andreas Sturmlechner
2018-06-16 18:03 Pacho Ramos
2018-05-09 7:46 Lars Wendler
2018-03-22 22:54 Sergei Trofimovich
2018-03-18 22:52 Sergei Trofimovich
2018-02-25 18:21 Thomas Deutschmann
2018-02-22 9:15 Jason Zaman
2018-02-14 20:07 Pacho Ramos
2018-02-06 16:24 Thomas Deutschmann
2018-01-13 12:47 Lars Wendler
2018-01-13 12:16 Alexis Ballier
2017-12-28 12:40 Sergei Trofimovich
2017-12-27 23:45 Sergei Trofimovich
2017-12-19 5:16 Jason Zaman
2017-07-03 9:12 Alexis Ballier
2017-06-26 16:21 Alexis Ballier
2017-03-04 13:37 Alexis Ballier
2017-02-28 11:52 Lars Wendler
2017-02-11 16:33 Pacho Ramos
2016-12-30 12:07 Pacho Ramos
2016-11-27 20:03 Pacho Ramos
2016-08-11 19:19 Lars Wendler
2016-07-22 8:53 Lars Wendler
2016-06-21 19:42 Michał Górny
2016-05-02 7:51 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1741774302.ac47ea76067a7cae784582b07944899581df434d.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox