* [gentoo-commits] repo/gentoo:master commit in: media-libs/xine-lib/, media-libs/xine-lib/files/
@ 2015-09-15 12:15 Alexis Ballier
0 siblings, 0 replies; 6+ messages in thread
From: Alexis Ballier @ 2015-09-15 12:15 UTC (permalink / raw
To: gentoo-commits
commit: a59351a243cc55ff56ab15895b16356846cbe0ca
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 15 12:15:39 2015 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Sep 15 12:15:50 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a59351a2
media-libs/xine-lib: fix build with ffmpeg git master
Package-Manager: portage-2.2.20.1
media-libs/xine-lib/files/ffmpeg29.patch | 44 ++++++++++++++++++++++++++++
media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild | 3 +-
2 files changed, 46 insertions(+), 1 deletion(-)
diff --git a/media-libs/xine-lib/files/ffmpeg29.patch b/media-libs/xine-lib/files/ffmpeg29.patch
new file mode 100644
index 0000000..a220483
--- /dev/null
+++ b/media-libs/xine-lib/files/ffmpeg29.patch
@@ -0,0 +1,44 @@
+Index: xine-lib-1.2.6/src/combined/ffmpeg/ff_audio_decoder.c
+===================================================================
+--- xine-lib-1.2.6.orig/src/combined/ffmpeg/ff_audio_decoder.c
++++ xine-lib-1.2.6/src/combined/ffmpeg/ff_audio_decoder.c
+@@ -590,7 +590,7 @@ static int ff_audio_decode (ff_audio_dec
+ int got_frame;
+ float gain = this->class->gain;
+ if (!this->av_frame)
+- this->av_frame = avcodec_alloc_frame ();
++ this->av_frame = av_frame_alloc ();
+
+ consumed = avcodec_decode_audio4 (this->context, this->av_frame, &got_frame, &avpkt);
+ if ((consumed >= 0) && got_frame) {
+@@ -1071,7 +1071,7 @@ static void ff_audio_reset (audio_decode
+ /* try to reset the wma decoder */
+ if( this->decoder_ok ) {
+ #if AVAUDIO > 3
+- avcodec_free_frame (&this->av_frame);
++ av_frame_free (&this->av_frame);
+ #endif
+ pthread_mutex_lock (&ffmpeg_lock);
+ avcodec_close (this->context);
+@@ -1105,7 +1105,7 @@ static void ff_audio_dispose (audio_deco
+
+ if( this->context && this->decoder_ok ) {
+ #if AVAUDIO > 3
+- avcodec_free_frame (&this->av_frame);
++ av_frame_free (&this->av_frame);
+ #endif
+ pthread_mutex_lock (&ffmpeg_lock);
+ avcodec_close (this->context);
+Index: xine-lib-1.2.6/src/combined/ffmpeg/ff_video_decoder.c
+===================================================================
+--- xine-lib-1.2.6.orig/src/combined/ffmpeg/ff_video_decoder.c
++++ xine-lib-1.2.6/src/combined/ffmpeg/ff_video_decoder.c
+@@ -2523,7 +2523,7 @@ static video_decoder_t *ff_video_open_pl
+ this->stream = stream;
+ this->class = (ff_video_class_t *) class_gen;
+
+- this->av_frame = avcodec_alloc_frame();
++ this->av_frame = av_frame_alloc();
+ this->context = avcodec_alloc_context();
+ this->context->opaque = this;
+ #if AVPALETTE == 1
diff --git a/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild b/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild
index ac9f0f4..543d87f 100644
--- a/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild
+++ b/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit flag-o-matic libtool multilib
+inherit flag-o-matic libtool multilib eutils
if [[ ${PV} == *9999* ]]; then
EHG_REPO_URI="http://hg.debian.org/hg/xine-lib/xine-lib-1.2"
@@ -130,6 +130,7 @@ src_prepare() {
for x in 0 1 2 3; do
sed -i -e "/^O${x}_CFLAGS=\"-O${x}\"/d" configure || die
done
+ has_version '>=media-video/ffmpeg-2.9' && epatch "${FILESDIR}/ffmpeg29.patch"
}
src_configure() {
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/xine-lib/, media-libs/xine-lib/files/
@ 2016-07-22 8:53 Lars Wendler
0 siblings, 0 replies; 6+ messages in thread
From: Lars Wendler @ 2016-07-22 8:53 UTC (permalink / raw
To: gentoo-commits
commit: 945b213eb8d07eaf5d1a4d359ab2b13378354f9d
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 22 08:37:11 2016 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Jul 22 08:52:56 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=945b213e
media-libs/xine-lib: Fixed compilation with >=x11-libs/libxcb-1.12
Gentoo bug #584640
Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
.../files/xine-lib-1.2.6-libxcb-1.12.patch | 25 ++++++++++++++++++++++
media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild | 17 +++++++--------
2 files changed, 33 insertions(+), 9 deletions(-)
diff --git a/media-libs/xine-lib/files/xine-lib-1.2.6-libxcb-1.12.patch b/media-libs/xine-lib/files/xine-lib-1.2.6-libxcb-1.12.patch
new file mode 100644
index 0000000..cc17643
--- /dev/null
+++ b/media-libs/xine-lib/files/xine-lib-1.2.6-libxcb-1.12.patch
@@ -0,0 +1,25 @@
+https://bugs.xine-project.org/show_bug.cgi?id=572
+https://bugs.gentoo.org/584640
+
+--- xine-lib-1.2.6/m4/video_out.m4
++++ xine-lib-1.2.6/m4/video_out.m4
+@@ -305,7 +305,7 @@
+ dnl xcb
+ XINE_ARG_WITH([xcb], [Enable support for XCB video out plugins])
+ if test x"$with_xcb" != x"no"; then
+- PKG_CHECK_MODULES([XCB], [xcb-shape >= 1.0], [have_xcb=yes], [have_xcb=no])
++ PKG_CHECK_MODULES([XCB], [xcb xcb-shape >= 1.0], [have_xcb=yes], [have_xcb=no])
+ if test x"$hard_enable_xcb" = x"yes" && test x"$have_xcb" != x"yes"; then
+ AC_MSG_ERROR([XCB support requested, but XCB not found])
+ elif test x"$have_xcb" = x"yes"; then
+--- xine-lib-1.2.6/src/video_out/Makefile.am
++++ xine-lib-1.2.6/src/video_out/Makefile.am
+@@ -147,7 +147,7 @@
+ xineplug_vo_out_xcbshm_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS) $(XCBSHM_CFLAGS) $(AVUTIL_CFLAGS)
+
+ xineplug_vo_out_xcbxv_la_SOURCES = video_out_xcbxv.c $(XCBOSD)
+-xineplug_vo_out_xcbxv_la_LIBADD = $(XINE_LIB) $(PTHREAD_LIBS) $(LTLIBINTL) $(XCBXV_LIBS) $(XCB_LIBS)
++xineplug_vo_out_xcbxv_la_LIBADD = $(XINE_LIB) $(PTHREAD_LIBS) $(LTLIBINTL) $(XCBXV_LIBS) $(XCBSHM_LIBS) $(XCB_LIBS)
+ xineplug_vo_out_xcbxv_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS) $(XCBXV_CFLAGS)
+
+ xineplug_vo_out_xshm_la_SOURCES = video_out_xshm.c $(X11OSD)
diff --git a/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild b/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild
index 032fd3c..18a0be4 100644
--- a/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild
+++ b/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild
@@ -4,11 +4,11 @@
EAPI=6
-inherit flag-o-matic libtool multilib eutils
+inherit autotools flag-o-matic libtool multilib eutils
if [[ ${PV} == *9999* ]]; then
EHG_REPO_URI="http://hg.debian.org/hg/xine-lib/xine-lib-1.2"
- inherit autotools mercurial eutils
+ inherit mercurial eutils
unset NLS_IUSE
NLS_DEPEND="sys-devel/gettext"
NLS_RDEPEND="virtual/libintl"
@@ -116,23 +116,22 @@ REQUIRED_USE="vidix? ( || ( X fbcon ) )
xv? ( X )
xinerama? ( X )"
+PATCHES=(
+ "${FILESDIR}/${P}-libxcb-1.12.patch"
+)
+
src_prepare() {
default
sed -i -e '/define VDR_ABS_FIFO_DIR/s|".*"|"/var/vdr/xine"|' src/vdr/input_vdr.c || die
+ has_version '>=media-video/ffmpeg-2.9' && eapply "${FILESDIR}/ffmpeg29.patch"
- if [[ ${PV} == *9999* ]]; then
- epatch_user
- eautoreconf
- else
- elibtoolize
- fi
+ eautoreconf
local x
for x in 0 1 2 3; do
sed -i -e "/^O${x}_CFLAGS=\"-O${x}\"/d" configure || die
done
- has_version '>=media-video/ffmpeg-2.9' && eapply "${FILESDIR}/ffmpeg29.patch"
}
src_configure() {
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/xine-lib/, media-libs/xine-lib/files/
@ 2016-11-27 23:43 Mike Frysinger
0 siblings, 0 replies; 6+ messages in thread
From: Mike Frysinger @ 2016-11-27 23:43 UTC (permalink / raw
To: gentoo-commits
commit: 42c946fd3b81136b633882884a8e47abc49c706e
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 27 23:41:11 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sun Nov 27 23:43:01 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c946fd
media-libs/xine-lib: fix build w/newer glibc #580012
media-libs/xine-lib/files/xine-lib-1.2.6-sysmacros.patch | 15 +++++++++++++++
media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild | 1 +
2 files changed, 16 insertions(+)
diff --git a/media-libs/xine-lib/files/xine-lib-1.2.6-sysmacros.patch b/media-libs/xine-lib/files/xine-lib-1.2.6-sysmacros.patch
new file mode 100644
index 00000000..a7168d5
--- /dev/null
+++ b/media-libs/xine-lib/files/xine-lib-1.2.6-sysmacros.patch
@@ -0,0 +1,15 @@
+fix build w/newer glibc due to major/minor includes being dropped from sys/types.h
+
+https://bugs.gentoo.org/580012
+https://bugs.xine-project.org/show_bug.cgi?id=574
+
+--- a/src/xine-utils/xine_check.c
++++ b/src/xine-utils/xine_check.c
+@@ -55,6 +55,7 @@
+ #include <dlfcn.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
++#include <sys/sysmacros.h>
+ #include <sys/utsname.h>
+ #include <linux/major.h>
+ #include <linux/hdreg.h>
diff --git a/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild b/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild
index 38f2b64..1acf133 100644
--- a/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild
+++ b/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild
@@ -118,6 +118,7 @@ REQUIRED_USE="vidix? ( || ( X fbcon ) )
PATCHES=(
"${FILESDIR}/${P}-libxcb-1.12.patch"
+ "${FILESDIR}/${P}-sysmacros.patch"
)
src_prepare() {
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/xine-lib/, media-libs/xine-lib/files/
@ 2017-05-23 8:54 Lars Wendler
0 siblings, 0 replies; 6+ messages in thread
From: Lars Wendler @ 2017-05-23 8:54 UTC (permalink / raw
To: gentoo-commits
commit: 99dc1b4f413426dfde42805f427c1603839986ed
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue May 23 08:54:30 2017 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue May 23 08:54:30 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99dc1b4f
media-libs/xine-lib: Fixed build with imagemagick-7 (bug #581820).
Package-Manager: Portage-2.3.6, Repoman-2.3.2
media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch | 13 +++++++++++++
media-libs/xine-lib/xine-lib-1.2.8.ebuild | 4 ++++
2 files changed, 17 insertions(+)
diff --git a/media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch b/media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch
new file mode 100644
index 00000000000..34062222e32
--- /dev/null
+++ b/media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch
@@ -0,0 +1,13 @@
+http://git.pld-linux.org/?p=packages/xine-lib.git;a=blob;f=imagemagick7.patch;h=d050323cdf509c9bb5f8edbad90084e8ce5c1b38;hb=HEAD
+
+--- xine-lib-1.2.6/src/video_dec/image.c
++++ xine-lib-1.2.6/src/video_dec/image.c
+@@ -39,7 +39,7 @@
+ #define LOG
+ */
+
+-#include <wand/magick_wand.h>
++#include <MagickWand/MagickWand.h>
+ #ifdef PACKAGE_NAME
+ #undef PACKAGE_BUGREPORT
+ #undef PACKAGE_NAME
diff --git a/media-libs/xine-lib/xine-lib-1.2.8.ebuild b/media-libs/xine-lib/xine-lib-1.2.8.ebuild
index 84c471c4b36..c2642d2f5c1 100644
--- a/media-libs/xine-lib/xine-lib-1.2.8.ebuild
+++ b/media-libs/xine-lib/xine-lib-1.2.8.ebuild
@@ -118,6 +118,10 @@ REQUIRED_USE="vidix? ( || ( X fbcon ) )
src_prepare() {
default
+ if has_version '>=media-gfx/imagemagick-7.0.1.0' ; then
+ eapply "${FILESDIR}/${PN}-1.2.6-imagemagick7.patch"
+ fi
+
sed -i -e '/define VDR_ABS_FIFO_DIR/s|".*"|"/var/vdr/xine"|' src/vdr/input_vdr.c || die
eautoreconf
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/xine-lib/, media-libs/xine-lib/files/
@ 2020-12-20 17:35 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2020-12-20 17:35 UTC (permalink / raw
To: gentoo-commits
commit: ca669a43b72f0f87b80765b5fde418d1e8c658f1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 20 17:33:12 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 20 17:35:54 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca669a43
media-libs/xine-lib: cleanup old
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/xine-lib/Manifest | 1 -
.../files/xine-lib-1.2.6-imagemagick7.patch | 13 --
media-libs/xine-lib/xine-lib-1.2.9-r2.ebuild | 222 ---------------------
3 files changed, 236 deletions(-)
diff --git a/media-libs/xine-lib/Manifest b/media-libs/xine-lib/Manifest
index 733501c0d65..d4d406cf057 100644
--- a/media-libs/xine-lib/Manifest
+++ b/media-libs/xine-lib/Manifest
@@ -1,3 +1,2 @@
DIST xine-lib-1.2.10.tar.xz 5226116 BLAKE2B e1bc088814c951ff56e55b626fe1f6f34c3da744e716de369a68e6c82a5adc414b452675ad19a5f82500bade6795b54efd503de8ffe4f1e65b534317ca0a26af SHA512 1cbe033da606d67a0a59f19968b2fe1cb46eaeb32c4b4aca7b91125b7230e15bd36d1e3e39e48e6eda56e556018f9f9bf84acb0012d3dd634306e7110fdc4c5f
DIST xine-lib-1.2.11.tar.xz 5282204 BLAKE2B c61bec690f662e01372b1c068b0681ac4435925ca90a767c590d5d3b968163280c11210dc9e3aeb4cc6bb6b3520349ba22e18b17f34bd9139af02280d3a37ee3 SHA512 8208e4699819465ec9e820530f27b6129ee954ea17ab474eb9eda12137af1417ed5260830c1006ce32266a3913d22ba9957689bb5552464908038a1b8a8efbcf
-DIST xine-lib-1.2.9.tar.xz 5180452 BLAKE2B 43d977d31bf2fcabd896c806e56d5cd12cf579951a4e0df5451df7323fb43cff2770fb2bf1b65b9041e761ec9e9e68d55f761e18522c787aa643f71bb73bd0b7 SHA512 bc672b32d6d72e6fa5641319e0bd15d721ea4b65e6d025e3cdbf6ba3655a7b2c714809d919a53fca8a908a7ce37541a341c13dd8a336799c2e942d5f86b84d3c
diff --git a/media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch b/media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch
deleted file mode 100644
index 34062222e32..00000000000
--- a/media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-http://git.pld-linux.org/?p=packages/xine-lib.git;a=blob;f=imagemagick7.patch;h=d050323cdf509c9bb5f8edbad90084e8ce5c1b38;hb=HEAD
-
---- xine-lib-1.2.6/src/video_dec/image.c
-+++ xine-lib-1.2.6/src/video_dec/image.c
-@@ -39,7 +39,7 @@
- #define LOG
- */
-
--#include <wand/magick_wand.h>
-+#include <MagickWand/MagickWand.h>
- #ifdef PACKAGE_NAME
- #undef PACKAGE_BUGREPORT
- #undef PACKAGE_NAME
diff --git a/media-libs/xine-lib/xine-lib-1.2.9-r2.ebuild b/media-libs/xine-lib/xine-lib-1.2.9-r2.ebuild
deleted file mode 100644
index f1ccbed7984..00000000000
--- a/media-libs/xine-lib/xine-lib-1.2.9-r2.ebuild
+++ /dev/null
@@ -1,222 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic libtool
-
-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
- KEYWORDS="amd64 arm64 ~hppa ppc ppc64 x86"
- SRC_URI="mirror://sourceforge/xine/${P}.tar.xz"
- NLS_IUSE="nls"
- NLS_DEPEND="nls? ( sys-devel/gettext )"
- NLS_RDEPEND="nls? ( virtual/libintl )"
-fi
-
-DESCRIPTION="Core libraries for Xine movie player"
-HOMEPAGE="http://xine.sourceforge.net/"
-
-LICENSE="GPL-2"
-SLOT="1"
-IUSE="a52 aac aalib +alsa altivec bluray +css dts dvb dxr3 fbcon flac gtk imagemagick ipv6 jack jpeg libcaca mad +mmap mng modplug musepack opengl oss pulseaudio samba sdl speex theora truetype v4l vaapi vcd vdpau vdr vidix +vis vorbis vpx wavpack +X xinerama +xv xvmc ${NLS_IUSE}"
-
-RDEPEND="${NLS_RDEPEND}
- dev-libs/libxdg-basedir
- media-libs/libdvdnav
- media-video/ffmpeg:0=
- 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 )
- 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? ( virtual/jpeg:0 )
- 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 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- pulseaudio? ( media-sound/pulseaudio )
- samba? ( net-fs/samba )
- 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? ( x11-libs/libva:0=[X,opengl] )
- vcd? (
- >=media-video/vcdimager-0.7.23
- dev-libs/libcdio:0=[-minimal]
- )
- vdpau? ( x11-libs/libvdpau )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
- vpx? ( media-libs/libvpx:0= )
- wavpack? ( media-sound/wavpack )
- X? (
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libxcb
- )
- xinerama? ( x11-libs/libXinerama )
- xv? ( x11-libs/libXv )
- xvmc? ( x11-libs/libXvMC )
-"
-DEPEND="${RDEPEND}
- ${NLS_DEPEND}
- app-arch/xz-utils
- >=sys-devel/libtool-2.2.6b
- virtual/pkgconfig
- 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 )
-"
-REQUIRED_USE="
- vidix? ( || ( X fbcon ) )
- xv? ( X )
- xinerama? ( X )
-"
-
-src_prepare() {
- default
-
- if has_version '>=media-gfx/imagemagick-7.0.1.0' ; then
- eapply "${FILESDIR}/${PN}-1.2.6-imagemagick7.patch"
- fi
-
- 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() {
- [[ ${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
- --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
- $(use_enable a52 a52dec)
- $(use_enable aac faad)
- $(use_enable aalib)
- $(use_enable altivec)
- $(use_enable bluray)
- $(use_enable dts)
- $(use_enable dvb)
- $(use_enable dxr3)
- $(use_enable fbcon fb)
- $(use_enable gtk gdkpixbuf)
- $(use_enable ipv6)
- $(use_enable jpeg libjpeg)
- $(use_enable mad)
- $(use_enable mmap)
- $(use_enable mng)
- $(use_enable modplug)
- $(use_enable musepack)
- $(use_enable opengl)
- $(use_enable opengl glu)
- $(use_enable oss)
- $(use_enable samba)
- $(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_with alsa)
- $(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) )
-
- econf "${myconf[@]}"
-}
-
-src_compile() {
- # enable verbose building, bug #448140
- emake V=1
-}
-
-src_install() {
- default
- find "${D}" -name '*.la' -delete || die
- rm -f "${ED}"usr/share/doc/${PF}/COPYING || die
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/xine-lib/, media-libs/xine-lib/files/
@ 2023-06-10 22:23 Andreas Sturmlechner
0 siblings, 0 replies; 6+ messages in thread
From: Andreas Sturmlechner @ 2023-06-10 22:23 UTC (permalink / raw
To: gentoo-commits
commit: c769755bd61678a0720b66e30c0169cdb0cc0e6d
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 22:23:26 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 22:23:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c769755b
media-libs/xine-lib: drop 1.2.12-r4
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-libs/xine-lib/Manifest | 1 -
.../files/xine-lib-1.2.12-dav1d-1.0.0.patch | 22 --
.../files/xine-lib-1.2.12-fix-mmap-crash.patch | 15 --
media-libs/xine-lib/xine-lib-1.2.12-r4.ebuild | 234 ---------------------
4 files changed, 272 deletions(-)
diff --git a/media-libs/xine-lib/Manifest b/media-libs/xine-lib/Manifest
index 8d57c36528f1..9cdc369cb760 100644
--- a/media-libs/xine-lib/Manifest
+++ b/media-libs/xine-lib/Manifest
@@ -1,2 +1 @@
-DIST xine-lib-1.2.12.tar.xz 5341212 BLAKE2B e975be2e7cf013e218001631c6b27a0d5e291605cb236c075e4b7463b30d23f3ee14aa7e18473d52efaf124f6ab0346b93591b613c6d9339f8f28e6a719b1ef8 SHA512 cdc913d0c78a3a34bd6e4060040fd844f22dbc673330e30769c83e9682a46f3369af8f59bd0c759ddc601de979b13d53e7ed10c54f3b78bdc63afceb484826be
DIST xine-lib-1.2.13.tar.xz 5007364 BLAKE2B 8c39328b4135035e7b4070c670591e61a92443bb389af3b7da053fd68101fcb2f18cd258840e96a5f3e02d4cf979b028947a10fddd1bfc3b92ed7f18d3f58942 SHA512 269275f0e324acc559695d268fb93e0e0ca4b17d22c4a57d482365ac058ae2aed125b9e1b522c1fc501cf4b2c186ac05d921d7c82a98e094cb0c70489e61c924
diff --git a/media-libs/xine-lib/files/xine-lib-1.2.12-dav1d-1.0.0.patch b/media-libs/xine-lib/files/xine-lib-1.2.12-dav1d-1.0.0.patch
deleted file mode 100644
index cb3253cf99a5..000000000000
--- a/media-libs/xine-lib/files/xine-lib-1.2.12-dav1d-1.0.0.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://bugs.gentoo.org/835791
-https://sourceforge.net/p/xine/tickets/11/
---- a/src/video_dec/dav1d.c
-+++ b/src/video_dec/dav1d.c
-@@ -544,11 +544,17 @@
-
- /* multithreading */
- ncpu = xine_cpu_count();
-+#if DAV1D_API_VERSION_MAJOR > 5
-+ settings.n_threads = ncpu + 1;
-+ xprintf(stream->xine, XINE_VERBOSITY_DEBUG, LOG_MODULE ": "
-+ "Using %d threads\n", settings.n_threads);
-+#else
- settings.n_frame_threads = (ncpu > 8) ? 4 : (ncpu < 2) ? 1 : ncpu/2;
- settings.n_tile_threads = MAX(1, ncpu - settings.n_frame_threads + 1);
- xprintf(stream->xine, XINE_VERBOSITY_DEBUG, LOG_MODULE ": "
- "Using %d frame threads, %d tile threads\n",
- settings.n_frame_threads, settings.n_tile_threads);
-+#endif
-
- /* dri frame allocator */
- settings.allocator.cookie = this;
diff --git a/media-libs/xine-lib/files/xine-lib-1.2.12-fix-mmap-crash.patch b/media-libs/xine-lib/files/xine-lib-1.2.12-fix-mmap-crash.patch
deleted file mode 100644
index df5515f0495c..000000000000
--- a/media-libs/xine-lib/files/xine-lib-1.2.12-fix-mmap-crash.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-https://sourceforge.net/p/xine/tickets/12/
-https://sourceforge.net/p/xine/xine-lib-1.2/ci/f56d70b45346ca9363a720724b0c2d00fc798988/tree/src/input/input_file.c?diff=d6e5d46a943257f0be171fb8ab16050810a21581
-https://bugs.gentoo.org/846398
-
---- a/src/input/input_file.c
-+++ b/src/input/input_file.c
-@@ -449,7 +449,7 @@
- #ifdef HAVE_MMAP
- this->mmap_base = NULL;
- do {
-- uint8_t mmap_base;
-+ uint8_t *mmap_base;
- size_t tmp_size;
- /* may cause truncation - if it does, DON'T mmap! */
- tmp_size = (size_t)sbuf.st_size;
diff --git a/media-libs/xine-lib/xine-lib-1.2.12-r4.ebuild b/media-libs/xine-lib/xine-lib-1.2.12-r4.ebuild
deleted file mode 100644
index 2f42d1c56c87..000000000000
--- a/media-libs/xine-lib/xine-lib-1.2.12-r4.ebuild
+++ /dev/null
@@ -1,234 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit 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
- KEYWORDS="amd64 arm64 ~hppa ppc ppc64 ~riscv x86"
- SRC_URI="mirror://sourceforge/xine/${P}.tar.xz"
- NLS_IUSE="nls"
- NLS_DEPEND="nls? ( sys-devel/gettext )"
- NLS_RDEPEND="nls? ( virtual/libintl )"
-fi
-
-DESCRIPTION="Core libraries for Xine movie player"
-HOMEPAGE="http://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 ipv6 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}"
-
-BDEPEND="
- app-arch/xz-utils
- >=sys-devel/libtool-2.2.6b
- virtual/pkgconfig
-"
-RDEPEND="
- dev-libs/libxdg-basedir
- media-libs/libdvdnav
- media-video/ffmpeg:=
- 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-sound/pulseaudio )
- 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 )
-"
-REQUIRED_USE="
- vidix? ( || ( X fbcon ) )
- xv? ( X )
- xinerama? ( X )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.2.12-dav1d-1.0.0.patch
- "${FILESDIR}"/${PN}-1.2.12-fix-mmap-crash.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() {
- [[ ${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
- --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 ipv6)
- $(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) )
-
- 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
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-06-10 22:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-23 8:54 [gentoo-commits] repo/gentoo:master commit in: media-libs/xine-lib/, media-libs/xine-lib/files/ Lars Wendler
-- strict thread matches above, loose matches on Subject: below --
2023-06-10 22:23 Andreas Sturmlechner
2020-12-20 17:35 Sam James
2016-11-27 23:43 Mike Frysinger
2016-07-22 8:53 Lars Wendler
2015-09-15 12:15 Alexis Ballier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox