Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libquicktime/
Date: Wed, 31 May 2017 12:11:37
Message-Id: 1496232686.cc24830f73ed7655ad86be871c8dd41842f8b168.aballier@gentoo
1 commit: cc24830f73ed7655ad86be871c8dd41842f8b168
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 31 12:11:16 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed May 31 12:11:26 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc24830f
7
8 media-libs/libquicktime: remove old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 .../libquicktime/libquicktime-1.2.4-r1.ebuild | 122 ---------------------
13 1 file changed, 122 deletions(-)
14
15 diff --git a/media-libs/libquicktime/libquicktime-1.2.4-r1.ebuild b/media-libs/libquicktime/libquicktime-1.2.4-r1.ebuild
16 deleted file mode 100644
17 index b31abf34887..00000000000
18 --- a/media-libs/libquicktime/libquicktime-1.2.4-r1.ebuild
19 +++ /dev/null
20 @@ -1,122 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -inherit libtool eutils multilib-minimal
26 -
27 -DESCRIPTION="An enhanced version of the quicktime4linux library"
28 -HOMEPAGE="http://libquicktime.sourceforge.net/"
29 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
30 -
31 -LICENSE="LGPL-2.1"
32 -SLOT="0"
33 -KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
34 -IUSE="aac alsa doc dv encode ffmpeg gtk jpeg lame libav cpu_flags_x86_mmx opengl png schroedinger static-libs vorbis X x264"
35 -
36 -RDEPEND=">=virtual/libintl-0-r1[${MULTILIB_USEDEP}]
37 - sys-libs/zlib:=
38 - aac? (
39 - >=media-libs/faad2-2.7-r3[${MULTILIB_USEDEP}]
40 - encode? ( >=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}] )
41 - )
42 - alsa? ( >=media-libs/alsa-lib-1.0.20 )
43 - dv? ( >=media-libs/libdv-1.0.0-r3[${MULTILIB_USEDEP}] )
44 - ffmpeg? (
45 - libav? ( media-video/libav:0=[${MULTILIB_USEDEP}] )
46 - !libav? ( media-video/ffmpeg:0=[${MULTILIB_USEDEP}] )
47 - )
48 - gtk? ( x11-libs/gtk+:2 )
49 - jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
50 - lame? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] )
51 - opengl? ( virtual/opengl )
52 - png? ( >=media-libs/libpng-1.6.10:0[${MULTILIB_USEDEP}] )
53 - schroedinger? ( >=media-libs/schroedinger-1.0.11-r1[${MULTILIB_USEDEP}] )
54 - vorbis? (
55 - >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
56 - >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
57 - )
58 - X? (
59 - x11-libs/libX11
60 - x11-libs/libXaw
61 - x11-libs/libXext
62 - x11-libs/libXt
63 - x11-libs/libXv
64 - )
65 - x264? ( >=media-libs/x264-0.0.20130506[${MULTILIB_USEDEP}] )"
66 -DEPEND="${RDEPEND}
67 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
68 - sys-devel/gettext
69 - doc? ( app-doc/doxygen )
70 - X? ( >=x11-proto/videoproto-2.3.1-r1[${MULTILIB_USEDEP}] )"
71 -
72 -REQUIRED_USE="opengl? ( X )"
73 -
74 -DOCS="ChangeLog README TODO"
75 -
76 -src_prepare() {
77 - epatch "${FILESDIR}"/${P}+libav-9.patch \
78 - "${FILESDIR}"/${P}-ffmpeg2.patch
79 - if has_version '>=media-video/ffmpeg-2.9' ||
80 - has_version '>=media-video/libav-12'; then
81 - epatch "${FILESDIR}"/${P}-ffmpeg29.patch
82 - fi
83 -
84 - for FILE in lqt_ffmpeg.c video.c audio.c ; do
85 - sed -i -e "s:CODEC_ID_:AV_&:g" "${S}/plugins/ffmpeg/${FILE}" || die
86 - done
87 -
88 - elibtoolize # Required for .so versioning on g/fbsd
89 -}
90 -
91 -multilib_src_configure() {
92 - # utils use: alsa, opengl, gtk+, X
93 -
94 - ECONF_SOURCE=${S} \
95 - econf \
96 - --enable-gpl \
97 - $(use_enable static-libs static) \
98 - $(use_enable cpu_flags_x86_mmx asm) \
99 - $(multilib_native_use_with doc doxygen) \
100 - $(use vorbis || echo --without-vorbis) \
101 - $(use_with lame) \
102 - $(multilib_native_use_with X x) \
103 - $(multilib_native_use_with opengl) \
104 - $(multilib_native_use_with alsa) \
105 - $(multilib_native_use_with gtk) \
106 - $(use_with dv libdv) \
107 - $(use_with jpeg libjpeg) \
108 - $(use_with ffmpeg) \
109 - $(use_with png libpng) \
110 - $(use_with schroedinger) \
111 - $(use_with aac faac) \
112 - $(use encode || echo --without-faac) \
113 - $(use_with aac faad2) \
114 - $(use_with x264) \
115 - --without-cpuflags
116 -
117 - if ! multilib_is_native_abi; then
118 - # disable building utilities
119 - sed -i -e '/SUBDIRS =/s:utils::' Makefile || die
120 - fi
121 -}
122 -
123 -multilib_src_install_all() {
124 - einstalldocs
125 - prune_libtool_files --all
126 -
127 - # Compatibility with software that uses quicktime prefix, but
128 - # don't do that when building for Darwin/MacOS
129 - [[ ${CHOST} != *-darwin* ]] && dosym /usr/include/lqt /usr/include/quicktime
130 -}
131 -
132 -pkg_preinst() {
133 - if [[ -d /usr/include/quicktime && ! -L /usr/include/quicktime ]]; then
134 - elog "For compatibility with other quicktime libraries, ${PN} was"
135 - elog "going to create a /usr/include/quicktime symlink, but for some"
136 - elog "reason that is a directory on your system."
137 -
138 - elog "Please check that is empty, and remove it, or submit a bug"
139 - elog "telling us which package owns the directory."
140 - die "/usr/include/quicktime is a directory."
141 - fi
142 -}