From 22fe0ea8e712c0a6ed6070e3aeb175887e8dc7af Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Thu, 16 Apr 2020 21:38:55 +0100 Subject: media-sound/openmpt123: Bump to 0.4.12, drop old 0.4.11 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: James Le Cuirot --- media-sound/openmpt123/Manifest | 2 +- media-sound/openmpt123/openmpt123-0.4.11.ebuild | 74 ------------------------- media-sound/openmpt123/openmpt123-0.4.12.ebuild | 74 +++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 75 deletions(-) delete mode 100644 media-sound/openmpt123/openmpt123-0.4.11.ebuild create mode 100644 media-sound/openmpt123/openmpt123-0.4.12.ebuild (limited to 'media-sound') diff --git a/media-sound/openmpt123/Manifest b/media-sound/openmpt123/Manifest index 63f880895ec0..f8ef5c0c5408 100644 --- a/media-sound/openmpt123/Manifest +++ b/media-sound/openmpt123/Manifest @@ -1 +1 @@ -DIST libopenmpt-0.4.11+release.autotools.tar.gz 1471760 BLAKE2B fa6fd53974e235c9efb01dd7498067be9eb90a06906785d05257557c4c7faafbd0136f63e46f76638b46362cad02849fee45a21ed1c65603134c387d1c064d12 SHA512 d720a0c04984f624f7ecd1ee8648045cd09ced2cc8b1cf3546404b9e73b2781493076391c1881e0d0eee72cf829a38365313efb9852448cd1cfe5f7b7f535e99 +DIST libopenmpt-0.4.12+release.autotools.tar.gz 1472183 BLAKE2B ef3a2e04289a767e911c1d1aca9f973418be103b5aa62517cbc2a3900d2c5e3f175a885a13d85d29b1fd87af3df17b93900a6faa4ad38507b8aabf8897ab1203 SHA512 ed3d992712d6f3ecf019491311af72842c80703542a67f4e5a8bd5196156ef0941412d44f6887f3eefcf04094408704a23ba86cf12b05943bde4007eced9c63a diff --git a/media-sound/openmpt123/openmpt123-0.4.11.ebuild b/media-sound/openmpt123/openmpt123-0.4.11.ebuild deleted file mode 100644 index e7c6d6f4b4b7..000000000000 --- a/media-sound/openmpt123/openmpt123-0.4.11.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit multilib - -MY_P="libopenmpt-${PV}+release.autotools" -DESCRIPTION="libopenmpt-based command line player for tracked music files (modules)" -HOMEPAGE="https://lib.openmpt.org/libopenmpt/" -SRC_URI="https://lib.openmpt.org/files/libopenmpt/src/${MY_P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="flac portaudio pulseaudio sdl sndfile" - -RDEPEND=" - ~media-libs/libopenmpt-${PV} - flac? ( media-libs/flac ) - pulseaudio? ( media-sound/pulseaudio ) - sdl? ( media-libs/libsdl2 ) - sndfile? ( media-libs/libsndfile ) -" - -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - - # Normally libopenmpt is built alongside openmpt123. Avoid the - # internal dependency and link it externally. - rm -r libopenmpt/ || die - sed -i \ - -e "s:libopenmpt/libopenmpt\.pc::g" \ - configure || die - sed -i \ - -e "/_${PN}_DEPENDENCIES/s:libopenmpt\.la::g" \ - -e "/_${PN}_LDADD/s:libopenmpt\.la:-lopenmpt:g" \ - Makefile.in || die -} - -src_configure() { - # A lot of these optional dependencies relate to libopenmpt, which - # we package separately, so we disable them here. - econf \ - --disable-static \ - --enable-openmpt123 \ - --disable-examples \ - --disable-tests \ - --disable-doxygen-doc \ - --without-zlib \ - --without-mpg123 \ - --without-ogg \ - --without-vorbis \ - --without-vorbisfile \ - $(use_with pulseaudio) \ - $(use_with portaudio) \ - --without-portaudiocpp \ - $(use_with sdl sdl2) \ - --without-sdl \ - $(use_with sndfile) \ - $(use_with flac) -} - -src_compile() { - emake "bin/${PN}$(get_exeext)" -} - -src_install() { - dobin "bin/${PN}$(get_exeext)" -} diff --git a/media-sound/openmpt123/openmpt123-0.4.12.ebuild b/media-sound/openmpt123/openmpt123-0.4.12.ebuild new file mode 100644 index 000000000000..f015fab023a7 --- /dev/null +++ b/media-sound/openmpt123/openmpt123-0.4.12.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib + +MY_P="libopenmpt-${PV}+release.autotools" +DESCRIPTION="libopenmpt-based command line player for tracked music files (modules)" +HOMEPAGE="https://lib.openmpt.org/libopenmpt/" +SRC_URI="https://lib.openmpt.org/files/libopenmpt/src/${MY_P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="flac portaudio pulseaudio sdl sndfile" + +RDEPEND=" + ~media-libs/libopenmpt-${PV} + flac? ( media-libs/flac ) + pulseaudio? ( media-sound/pulseaudio ) + sdl? ( media-libs/libsdl2 ) + sndfile? ( media-libs/libsndfile ) +" + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + + # Normally libopenmpt is built alongside openmpt123. Avoid the + # internal dependency and link it externally. + rm -r libopenmpt/ || die + sed -i \ + -e "s:libopenmpt/libopenmpt\.pc::g" \ + configure || die + sed -i \ + -e "/_${PN}_DEPENDENCIES/s:libopenmpt\.la::g" \ + -e "/_${PN}_LDADD/s:libopenmpt\.la:-lopenmpt:g" \ + Makefile.in || die +} + +src_configure() { + # A lot of these optional dependencies relate to libopenmpt, which + # we package separately, so we disable them here. + econf \ + --disable-static \ + --enable-openmpt123 \ + --disable-examples \ + --disable-tests \ + --disable-doxygen-doc \ + --without-zlib \ + --without-mpg123 \ + --without-ogg \ + --without-vorbis \ + --without-vorbisfile \ + $(use_with pulseaudio) \ + $(use_with portaudio) \ + --without-portaudiocpp \ + $(use_with sdl sdl2) \ + --without-sdl \ + $(use_with sndfile) \ + $(use_with flac) +} + +src_compile() { + emake "bin/${PN}$(get_exeext)" +} + +src_install() { + dobin "bin/${PN}$(get_exeext)" +} -- cgit v1.2.3-65-gdbad