Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libmpeg2/
Date: Tue, 02 Feb 2021 09:23:47
Message-Id: 1612257595.32ea8bc25d254dfae2d5b9b6c34edeff9bf95e6c.asturm@gentoo
1 commit: 32ea8bc25d254dfae2d5b9b6c34edeff9bf95e6c
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 2 09:19:55 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 09:19:55 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32ea8bc2
7
8 media-libs/libmpeg2: Drop 0.5.1-r2
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-libs/libmpeg2/libmpeg2-0.5.1-r2.ebuild | 65 ----------------------------
14 1 file changed, 65 deletions(-)
15
16 diff --git a/media-libs/libmpeg2/libmpeg2-0.5.1-r2.ebuild b/media-libs/libmpeg2/libmpeg2-0.5.1-r2.ebuild
17 deleted file mode 100644
18 index a19f50792e1..00000000000
19 --- a/media-libs/libmpeg2/libmpeg2-0.5.1-r2.ebuild
20 +++ /dev/null
21 @@ -1,65 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -
27 -inherit autotools eutils libtool ltprune multilib-minimal
28 -
29 -DESCRIPTION="library for decoding mpeg-2 and mpeg-1 video"
30 -HOMEPAGE="http://libmpeg2.sourceforge.net/"
31 -SRC_URI="http://libmpeg2.sourceforge.net/files/${P}.tar.gz"
32 -
33 -LICENSE="GPL-2"
34 -SLOT="0"
35 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
36 -IUSE="sdl static-libs X"
37 -
38 -RDEPEND="sdl? ( media-libs/libsdl )
39 - X? (
40 - x11-libs/libXv
41 - x11-libs/libICE
42 - x11-libs/libSM
43 - x11-libs/libXt
44 - )"
45 -DEPEND="${RDEPEND}
46 - X? ( x11-base/xorg-proto )"
47 -
48 -DOCS=( AUTHORS ChangeLog NEWS README TODO )
49 -
50 -src_prepare() {
51 - epatch \
52 - "${FILESDIR}"/${P}-arm-private-symbols.patch \
53 - "${FILESDIR}"/${P}-global-symbol-test.patch \
54 - "${FILESDIR}"/${P}-armv4l.patch
55 - elibtoolize
56 - ### PowerPC fix for altivec
57 - epatch "${FILESDIR}"/${P}-altivec.patch
58 - eautoconf
59 -}
60 -
61 -multilib_src_configure() {
62 - ECONF_SOURCE="${S}" \
63 - econf \
64 - $(use_enable static-libs static) \
65 - --enable-shared \
66 - $(multilib_native_use_enable sdl) \
67 - $(multilib_native_use_with X x)
68 -
69 - # remove useless subdirs
70 - if ! multilib_is_native_abi ; then
71 - sed -i \
72 - -e 's/ libvo src//' \
73 - Makefile || die
74 - fi
75 -}
76 -
77 -multilib_src_compile() {
78 - emake OPT_CFLAGS="${CFLAGS}" \
79 - MPEG2DEC_CFLAGS="${CFLAGS}" \
80 - LIBMPEG2_CFLAGS=""
81 -}
82 -
83 -multilib_src_install_all() {
84 - prune_libtool_files --all
85 - einstalldocs
86 -}