From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C0A03138334 for ; Fri, 13 Jul 2018 21:40:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71BE8E0869; Fri, 13 Jul 2018 21:40:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 06C67E0869 for ; Fri, 13 Jul 2018 21:40:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 33426335CA7 for ; Fri, 13 Jul 2018 21:40:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 89F2737D for ; Fri, 13 Jul 2018 21:40:22 +0000 (UTC) From: "gerion" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "gerion" Message-ID: <1524519004.b9c57a4265f20ade72561b15816285f93304bc4b.gerion@gentoo> Subject: [gentoo-commits] repo/user/gerislay:master commit in: media-libs/xine-lib/, media-libs/xine-lib/files/ X-VCS-Repository: repo/user/gerislay X-VCS-Files: media-libs/xine-lib/Manifest media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch media-libs/xine-lib/metadata.xml media-libs/xine-lib/xine-lib-1.2.9-r2.ebuild X-VCS-Directories: media-libs/xine-lib/files/ media-libs/xine-lib/ X-VCS-Committer: gerion X-VCS-Committer-Name: gerion X-VCS-Revision: b9c57a4265f20ade72561b15816285f93304bc4b X-VCS-Branch: master Date: Fri, 13 Jul 2018 21:40:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b0f1ca0f-742e-4946-ba71-7f7de45d0be4 X-Archives-Hash: 9e1280d57c750d629c72d70e579c00ed commit: b9c57a4265f20ade72561b15816285f93304bc4b Author: Gerion Entrup flump de> AuthorDate: Mon Apr 2 20:20:52 2018 +0000 Commit: gerion flump de> CommitDate: Mon Apr 23 21:30:04 2018 +0000 URL: https://gitweb.gentoo.org/repo/user/gerislay.git/commit/?id=b9c57a42 media-libs/xine-lib: depend on virtual/jack media-libs/xine-lib/Manifest | 4 + .../files/xine-lib-1.2.6-imagemagick7.patch | 13 ++ media-libs/xine-lib/metadata.xml | 69 +++++++ media-libs/xine-lib/xine-lib-1.2.9-r2.ebuild | 227 +++++++++++++++++++++ 4 files changed, 313 insertions(+) diff --git a/media-libs/xine-lib/Manifest b/media-libs/xine-lib/Manifest new file mode 100644 index 0000000..37a7e6d --- /dev/null +++ b/media-libs/xine-lib/Manifest @@ -0,0 +1,4 @@ +AUX xine-lib-1.2.6-imagemagick7.patch 384 SHA256 b0d263ea712f367172a9a23bbd9fa228628c50636220c4201e1c9b41fb1377fe SHA512 13badc72163f41a14fa85d84cbc835a396ab2bc195125025962257de4a41925e29c74159c3941472334f9eb10feee4278ea96288201689d5fcc48c494940ceb9 WHIRLPOOL 283a32868c7c3993b8559e58fd3a31e2709f4dfb6b89af80e89f71ad9194b292656dc896233fd8d4b109951080b74a53633895ae9280dba9907ac650746d09be +DIST xine-lib-1.2.9.tar.xz 5180452 SHA256 32b34e8049feb762d75a551d5d2cdb56c396fdd83e35b9b7de5fd08e498e948d SHA512 bc672b32d6d72e6fa5641319e0bd15d721ea4b65e6d025e3cdbf6ba3655a7b2c714809d919a53fca8a908a7ce37541a341c13dd8a336799c2e942d5f86b84d3c WHIRLPOOL f5759a4fcaa95e3fe3cfa6b6843a21f8c6456569251f7066a20d859794b7a390685e72c2d0755fdea8e74dfc1ad0e566c61ac0a7c6ac1cb8062ef2a301a775c7 +EBUILD xine-lib-1.2.9-r2.ebuild 5465 SHA256 6bcb2f28793486029ea73f5058e3be42b2eb6540fb118a2acf0925305da502c6 SHA512 1e466621be194571a7af5fdcfe1337f55a510b0ae93e33d0c16828c131ee3f494a263e0c85073d71a05ba270fb574b3bf087f9d227b7d0a9011b3596c8b67912 WHIRLPOOL dbd16f622453d7854ca3073d2700b73065c7359c4a638680a6c12596408549946024d240d50beef071281d8b08b5210c85941cdc51ef72b25cb1769c19a5e238 +MISC metadata.xml 2668 SHA256 9ac93ae2c04bad6f6712784dd0b0dd1963e672982b4fb1614c3aafce19a1e22f SHA512 17263da5cdc28752dc9344b9806665d236d8a5d3ccad7b19209912a3510b17c9d6587fd1aa847e509a3c4accd53cc96c7d1fc476f6adf9aa63c90b7eed45183b WHIRLPOOL 169388bb12822ad114445dbe52d0fa2dae041922f98e466cea183fcf892ca1b8db40ebc4f9f4d40cae6323f4e6ae562e8d3166a835e776f5ac9e112f5894f3ed 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 0000000..3406222 --- /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 ++#include + #ifdef PACKAGE_NAME + #undef PACKAGE_BUGREPORT + #undef PACKAGE_NAME diff --git a/media-libs/xine-lib/metadata.xml b/media-libs/xine-lib/metadata.xml new file mode 100644 index 0000000..9d10869 --- /dev/null +++ b/media-libs/xine-lib/metadata.xml @@ -0,0 +1,69 @@ + + + + + media-video@gentoo.org + + An open source library for media applications + + + Enable playback of Blu-ray filesystems using media-libs/libbluray + + + Enable support for DXR3 mpeg acceleration cards. + + + Build the media-libs/flac based FLAC demuxer and decoder. This + flag is not needed for playing FLAC content, neither standalone nor in Ogg + container (OggFLAC), but might have better support for exotic features like + 24-bit samples or 96kHz sample rates. + + + Enable support for the Fusion audio sub system + + + Build the gdkpixbuf-based image decoder plugin. + + + Build the ImageMagick-based image decoder plugin. + + + Build the media-libs/libmad based mp3 decoder. This mp3 decoder + has superior support compared to the one coming from FFmpeg that is used as + a fallback. If you experience any bad behaviour with mp3 files (skipping, + distorted sound) make sure you enabled this USE flag. + + + Use mmap() function while reading file from local disks. Using mmap() will + use more virtual memory space, but leaves to the Kernel the task of caching + the file's data. mmap() access should be faster, but might misbehave if the + device where the file resides in is removed during playback. + + + Use media-libs/freetype for font rendering and + media-libs/fontconfig for font discovery. Enabling this USE flag + will allow OSD (such as subtitles) to use more advanced font and to more + easily select which font to use. The support for TrueType fonts in xine-lib + is still experimental, and might not be as good looking as the bitmap fonts + used with this USE flag disabled. + + + Build the VDR plugin + + + Enable support for vidix video output. + + + Adds support for SIMD optimizations for UltraSPARC processors. + + + Enable VP8 codec support via media-libs/libvpx. + + + Enable support for XVideo Motion Compensation (accelerated mpeg playback). + + + + xine + + 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 0000000..bfa6c1f --- /dev/null +++ b/media-libs/xine-lib/xine-lib-1.2.9-r2.ebuild @@ -0,0 +1,227 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic libtool multilib + +if [[ ${PV} == *9999* ]]; then + EHG_REPO_URI="http://hg.debian.org/hg/xine-lib/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 fusionsound 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 ) + fusionsound? ( >=dev-libs/DirectFB-1.7.1[fusionsound] ) + 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 + virtual/pkgconfig + >=sys-devel/libtool-2.2.6b + oss? ( virtual/os-headers ) + v4l? ( virtual/os-headers ) + X? ( + x11-libs/libXt + x11-proto/xf86vidmodeproto + x11-proto/xproto + ) + xv? ( x11-proto/videoproto ) + xvmc? ( x11-proto/videoproto ) + xinerama? ( x11-proto/xineramaproto )" +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 + $(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 fusionsound) + $(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 +}