commit:     3a603b28058f3807a02a26e7dbdd1d21c9e5340b
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 11 16:15:39 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Jun 11 16:15:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a603b28

Revert "media-libs/libmp3splt: drop vulnerable"

This reverts commit 2b7c9e8a1bdfcb92c92ed6d7d5d4211e3823874e.

 media-libs/libmp3splt/Manifest                 |  1 +
 media-libs/libmp3splt/libmp3splt-0.9.1a.ebuild | 50 +++++++++++++++++++++++++
 media-libs/libmp3splt/libmp3splt-0.9.2.ebuild  | 51 ++++++++++++++++++++++++++
 3 files changed, 102 insertions(+)

diff --git a/media-libs/libmp3splt/Manifest b/media-libs/libmp3splt/Manifest
index 15dea1a79e9..a5278538140 100644
--- a/media-libs/libmp3splt/Manifest
+++ b/media-libs/libmp3splt/Manifest
@@ -1 +1,2 @@
+DIST libmp3splt-0.9.1a.tar.gz 702948 BLAKE2B 
96661e2fdc96d1ce4555bfc9b84f44bb1ecf9bd05f6b6038274a3097a657707bb6c6ef8b2b6ecf673c390f52a1885a6c91b555c1971d490df7089523d0739329
 SHA512 
07229c048c4f999c7c723ab2f7bb06807d264609c8c1e38f8ff40f11e54285212de71548bbd66ba3100287d563673d80a8704bd384d7ffcd2145a098faabd389
 DIST libmp3splt-0.9.2.tar.gz 707598 BLAKE2B 
4e8223472a7cd05d71d7df81a88b7d545a726a45d62dc6284d694e8cf8ad9406b037e274dbe28f2cf95febc87d8ba30aa15291f58df95b83a3aa0b5d3469ffea
 SHA512 
e5c98e8b173bc86302ccee4ca5eb0c8a8d93f225357eb7b14dea8d0700ed62ed6316506c182f6b295130f7924ff0b38e865d5e49fa9cd7882c648360d68872ed

diff --git a/media-libs/libmp3splt/libmp3splt-0.9.1a.ebuild 
b/media-libs/libmp3splt/libmp3splt-0.9.1a.ebuild
new file mode 100644
index 00000000000..0a8e12de1cc
--- /dev/null
+++ b/media-libs/libmp3splt/libmp3splt-0.9.1a.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit versionator autotools eutils multilib
+
+DESCRIPTION="a library for mp3splt to split mp3 and ogg files without decoding"
+HOMEPAGE="http://mp3splt.sourceforge.net";
+SRC_URI="mirror://sourceforge/${PN:3}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~hppa ~ppc ~ppc64 sparc x86"
+IUSE="doc flac pcre"
+
+RDEPEND="media-libs/libmad
+       media-libs/libvorbis
+       media-libs/libogg
+       media-libs/libid3tag
+       flac? ( >=media-libs/flac-1.2.1 )
+       pcre? ( dev-libs/libpcre )"
+DEPEND="${RDEPEND}
+       doc? ( >=app-doc/doxygen-1.8.3.1 media-gfx/graphviz )
+       sys-apps/findutils"
+
+src_prepare() {
+       epatch "${FILESDIR}"/${PN}-0.7-libltdl.patch
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               --disable-dependency-tracking \
+               --disable-static \
+               $(use_enable pcre) \
+               $(use_enable flac) \
+               $(use_enable doc doxygen_doc) \
+               --docdir=/usr/share/doc/${PF} \
+               --disable-optimise \
+               --disable-cutter  # TODO package cutter 
<http://cutter.sourceforge.net/>
+}
+
+src_install() {
+       default
+       use     doc && docompress -x /usr/share/doc/${PF}/doxygen/${PN}_ico.svg
+
+       dodoc AUTHORS ChangeLog LIMITS NEWS README TODO
+
+       find "${D}"/usr -name '*.la' -delete
+}

diff --git a/media-libs/libmp3splt/libmp3splt-0.9.2.ebuild 
b/media-libs/libmp3splt/libmp3splt-0.9.2.ebuild
new file mode 100644
index 00000000000..78ab615c50e
--- /dev/null
+++ b/media-libs/libmp3splt/libmp3splt-0.9.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit versionator autotools eutils multilib
+
+DESCRIPTION="a library for mp3splt to split mp3 and ogg files without decoding"
+HOMEPAGE="http://mp3splt.sourceforge.net";
+SRC_URI="mirror://sourceforge/${PN:3}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~hppa ~ppc ~ppc64 sparc x86"
+IUSE="doc flac pcre"
+
+RDEPEND="media-libs/libmad
+       media-libs/libvorbis
+       media-libs/libogg
+       media-libs/libid3tag
+       flac? ( >=media-libs/flac-1.2.1 )
+       pcre? ( dev-libs/libpcre )"
+DEPEND="${RDEPEND}
+       doc? ( >=app-doc/doxygen-1.8.3.1 media-gfx/graphviz )
+       sys-apps/findutils"
+
+src_prepare() {
+       epatch "${FILESDIR}"/${PN}-0.7-libltdl.patch
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               --disable-dependency-tracking \
+               --disable-static \
+               $(use_enable pcre) \
+               $(use_enable flac) \
+               $(use_enable doc doxygen_doc) \
+               --docdir=/usr/share/doc/${PF} \
+               --disable-optimise \
+               --disable-cutter  # TODO package cutter 
<http://cutter.sourceforge.net/>
+}
+
+src_install() {
+       default
+       use     doc && docompress -x /usr/share/doc/${PF}/doxygen/${PN}_ico.svg
+
+       dodoc AUTHORS ChangeLog LIMITS NEWS README TODO
+
+       find "${D}"/usr -name '*.la' -delete
+}

Reply via email to