From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/xine-lib/
Date: Mon, 13 Aug 2018 21:40:33 +0000 (UTC) [thread overview]
Message-ID: <1534196414.4c49abac288ea3112a34c56e6be3fbf41cafece5.asturm@gentoo> (raw)
commit: 4c49abac288ea3112a34c56e6be3fbf41cafece5
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 13 21:18:12 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Aug 13 21:40:14 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c49abac
media-libs/xine-lib: Switch USE=jack to virtual/jack, dep fixes
Reported-by: Daniel Bautista <dbautista <AT> gmail.com>
Tested-by: Anton Gubarkov <anton.gubarkov <AT> gmail.com>
Closes: https://bugs.gentoo.org/637466
Package-Manager: Portage-2.3.46, Repoman-2.3.10
media-libs/xine-lib/xine-lib-1.2.9-r2.ebuild | 229 +++++++++++++++++++++++++++
1 file changed, 229 insertions(+)
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
new file mode 100644
index 00000000000..ffafb74e695
--- /dev/null
+++ b/media-libs/xine-lib/xine-lib-1.2.9-r2.ebuild
@@ -0,0 +1,229 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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 ~amd64-fbsd ~x86-fbsd"
+ 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 libav 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 +xcb xinerama +xv xvmc ${NLS_IUSE}"
+
+RDEPEND="${NLS_RDEPEND}
+ dev-libs/libxdg-basedir
+ media-libs/libdvdnav
+ 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 )
+ !libav? ( media-video/ffmpeg:0= )
+ libav? (
+ media-libs/libpostproc:0=
+ media-video/libav: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
+ )
+ xcb? ( 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
+ --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 xcb)
+ )
+ [[ ${PV} == *9999* ]] || myconf+=( $(use_enable nls) )
+
+ if ! use libav && has_version '>=media-video/ffmpeg-2.2:0'; then
+ myconf+=( --enable-avformat ) #507474
+ fi
+
+ 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
+}
next reply other threads:[~2018-08-13 21:40 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-13 21:40 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-12 10:14 [gentoo-commits] repo/gentoo:master commit in: media-libs/xine-lib/ 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-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=1534196414.4c49abac288ea3112a34c56e6be3fbf41cafece5.asturm@gentoo \
--to=asturm@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