Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/audiofile/
Date: Mon, 13 Feb 2017 10:19:05
Message-Id: 1486981109.281afba297f4510f267e871ac4e55c397ab6429d.leio@gentoo
1 commit: 281afba297f4510f267e871ac4e55c397ab6429d
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 13 10:17:59 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 13 10:18:29 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=281afba2
7
8 media-libs/audiofile: remove old (security cleanup)
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 media-libs/audiofile/audiofile-0.3.6-r1.ebuild | 41 ----------------------
13 media-libs/audiofile/audiofile-0.3.6-r2.ebuild | 48 --------------------------
14 2 files changed, 89 deletions(-)
15
16 diff --git a/media-libs/audiofile/audiofile-0.3.6-r1.ebuild b/media-libs/audiofile/audiofile-0.3.6-r1.ebuild
17 deleted file mode 100644
18 index 932f286b12..0000000000
19 --- a/media-libs/audiofile/audiofile-0.3.6-r1.ebuild
20 +++ /dev/null
21 @@ -1,41 +0,0 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Id$
25 -
26 -EAPI=5
27 -
28 -AUTOTOOLS_AUTORECONF=1
29 -inherit autotools-multilib gnome.org
30 -
31 -DESCRIPTION="An elegant API for accessing audio files"
32 -HOMEPAGE="http://www.68k.org/~michael/audiofile/"
33 -
34 -LICENSE="GPL-2 LGPL-2.1"
35 -SLOT="0/1" # subslot = soname major version
36 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
37 -IUSE="flac static-libs test"
38 -
39 -RDEPEND="flac? ( >=media-libs/flac-1.2.1[${MULTILIB_USEDEP}] )
40 - abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r1
41 - !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )"
42 -DEPEND="${RDEPEND}
43 - virtual/pkgconfig
44 - test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
45 -
46 -DOCS=( ACKNOWLEDGEMENTS AUTHORS ChangeLog NEWS NOTES README TODO )
47 -
48 -PATCHES=( "${FILESDIR}"/${P}-system-gtest.patch )
49 -
50 -src_configure() {
51 - local myeconfargs=(
52 - --enable-largefile
53 - --disable-werror
54 - --disable-examples
55 - $(use_enable flac)
56 - )
57 - autotools-multilib_src_configure
58 -}
59 -
60 -src_test() {
61 - autotools-multilib_src_test -C test
62 -}
63
64 diff --git a/media-libs/audiofile/audiofile-0.3.6-r2.ebuild b/media-libs/audiofile/audiofile-0.3.6-r2.ebuild
65 deleted file mode 100644
66 index cc20504bdd..0000000000
67 --- a/media-libs/audiofile/audiofile-0.3.6-r2.ebuild
68 +++ /dev/null
69 @@ -1,48 +0,0 @@
70 -# Copyright 1999-2017 Gentoo Foundation
71 -# Distributed under the terms of the GNU General Public License v2
72 -# $Id$
73 -
74 -EAPI=6
75 -
76 -inherit autotools gnome.org multilib-minimal
77 -
78 -DESCRIPTION="An elegant API for accessing audio files"
79 -HOMEPAGE="http://www.68k.org/~michael/audiofile/"
80 -
81 -LICENSE="GPL-2 LGPL-2.1"
82 -SLOT="0/1" # subslot = soname major version
83 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
84 -IUSE="flac static-libs test"
85 -
86 -RDEPEND="flac? ( >=media-libs/flac-1.2.1[${MULTILIB_USEDEP}] )"
87 -DEPEND="${RDEPEND}
88 - virtual/pkgconfig
89 - test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
90 -
91 -PATCHES=(
92 - "${FILESDIR}"/${PN}-0.3.6-gcc6-build-fixes.patch
93 - "${FILESDIR}"/${PN}-0.3.6-system-gtest.patch
94 -)
95 -
96 -src_prepare() {
97 - default
98 - eautoreconf
99 -}
100 -
101 -multilib_src_configure() {
102 - local myconf=(
103 - --enable-largefile
104 - --disable-werror
105 - --disable-examples
106 - $(use_enable flac)
107 - $(use_enable static-libs static)
108 - )
109 - ECONF_SOURCE="${S}" econf "${myconf[@]}"
110 -}
111 -
112 -multilib_src_install_all() {
113 - einstalldocs
114 -
115 - # package provides .pc file
116 - find "${D}" -name '*.la' -delete || die
117 -}