Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libtheora/
Date: Thu, 31 Aug 2017 12:37:51
Message-Id: 1504182487.cc92ce135e1876bb184e6af36deed2a19dc6a4d2.radhermit@gentoo
1 commit: cc92ce135e1876bb184e6af36deed2a19dc6a4d2
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 31 12:28:07 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 31 12:28:07 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc92ce13
7
8 media-libs/libtheora: remove old
9
10 media-libs/libtheora/libtheora-1.1.1.ebuild | 76 -----------------------------
11 1 file changed, 76 deletions(-)
12
13 diff --git a/media-libs/libtheora/libtheora-1.1.1.ebuild b/media-libs/libtheora/libtheora-1.1.1.ebuild
14 deleted file mode 100644
15 index d883a67ab35..00000000000
16 --- a/media-libs/libtheora/libtheora-1.1.1.ebuild
17 +++ /dev/null
18 @@ -1,76 +0,0 @@
19 -# Copyright 1999-2013 Gentoo Foundation
20 -# Distributed under the terms of the GNU General Public License v2
21 -
22 -EAPI=5
23 -inherit autotools eutils flag-o-matic
24 -
25 -DESCRIPTION="The Theora Video Compression Codec"
26 -HOMEPAGE="http://www.theora.org"
27 -SRC_URI="http://downloads.xiph.org/releases/theora/${P/_}.tar.bz2"
28 -
29 -LICENSE="BSD"
30 -SLOT="0"
31 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-aix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
32 -IUSE="doc +encode examples static-libs"
33 -
34 -RDEPEND="media-libs/libogg:=
35 - encode? ( media-libs/libvorbis:= )
36 - examples? (
37 - media-libs/libpng:0=
38 - >=media-libs/libsdl-0.11.0
39 - media-libs/libvorbis:=
40 - )"
41 -DEPEND="${RDEPEND}
42 - doc? ( app-doc/doxygen )
43 - virtual/pkgconfig"
44 -REQUIRED_USE="examples? ( encode )" #285895
45 -
46 -S=${WORKDIR}/${P/_}
47 -
48 -VARTEXFONTS=${T}/fonts
49 -
50 -src_prepare() {
51 - epatch \
52 - "${FILESDIR}"/${PN}-1.0_beta2-flags.patch \
53 - "${FILESDIR}"/${P}-libpng16.patch #465450
54 -
55 - # bug 467006
56 - sed -i "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" configure.ac || die
57 -
58 - AT_M4DIR=m4 eautoreconf
59 -}
60 -
61 -src_configure() {
62 - use x86 && filter-flags -fforce-addr -frename-registers #200549
63 - use doc || export ac_cv_prog_HAVE_DOXYGEN=false
64 -
65 - # --disable-spec because LaTeX documentation has been prebuilt
66 - econf \
67 - $(use_enable static-libs static) \
68 - --disable-spec \
69 - $(use_enable encode) \
70 - $(use_enable examples)
71 -}
72 -
73 -src_install() {
74 - emake \
75 - DESTDIR="${D}" \
76 - docdir="${EPREFIX}"/usr/share/doc/${PF} \
77 - install
78 -
79 - dodoc AUTHORS CHANGES README
80 -
81 - if use examples; then
82 - if use doc; then
83 - insinto /usr/share/doc/${PF}/examples
84 - doins examples/*.[ch]
85 - fi
86 -
87 - dobin examples/.libs/png2theora
88 - for bin in dump_{psnr,video} {encoder,player}_example; do
89 - newbin examples/.libs/${bin} theora_${bin}
90 - done
91 - fi
92 -
93 - prune_libtool_files
94 -}