diff options
author | Daniel Pielmeier <billie@gentoo.org> | 2023-09-30 13:55:05 +0200 |
---|---|---|
committer | Daniel Pielmeier <billie@gentoo.org> | 2023-09-30 13:55:05 +0200 |
commit | 9f15f89a49184b18313fb8c16ca13690083a1220 (patch) | |
tree | 264d3ba2c2984cbda83dea8355db4215f0267824 /media-sound | |
parent | media-sound/mac: add 10.24 (diff) | |
download | gentoo-9f15f89a49184b18313fb8c16ca13690083a1220.tar.gz gentoo-9f15f89a49184b18313fb8c16ca13690083a1220.tar.bz2 gentoo-9f15f89a49184b18313fb8c16ca13690083a1220.zip |
media-sound/aqualung: Add compatibility with newer verions of media-sound/mac
Signed-off-by: Daniel Pielmeier <billie@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/aqualung/aqualung-1.2-r3.ebuild | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/media-sound/aqualung/aqualung-1.2-r3.ebuild b/media-sound/aqualung/aqualung-1.2-r3.ebuild new file mode 100644 index 000000000000..dc7c665c8929 --- /dev/null +++ b/media-sound/aqualung/aqualung-1.2-r3.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit autotools desktop lua-single xdg + +DESCRIPTION="Music player for a wide range of formats designed for gapless playback" +HOMEPAGE="https://aqualung.jeremyevans.net/ https://github.com/jeremyevans/aqualung" +SRC_URI="https://github.com/jeremyevans/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa cdda cddb debug flac ffmpeg ifp jack ladspa lame libsamplerate + lua mac modplug mp3 musepack oss podcast pulseaudio sndfile speex systray + vorbis wavpack" + +REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" + +BDEPEND=" + virtual/pkgconfig + sys-devel/gettext +" +RDEPEND=" + app-arch/bzip2 + dev-libs/libxml2 + sys-libs/zlib + x11-libs/gtk+:2 + alsa? ( media-libs/alsa-lib ) + cdda? ( dev-libs/libcdio-paranoia ) + cddb? ( media-libs/libcddb ) + ffmpeg? ( media-video/ffmpeg:= ) + flac? ( media-libs/flac:= ) + ifp? ( media-libs/libifp ) + jack? ( virtual/jack ) + ladspa? ( media-libs/liblrdf ) + lame? ( media-sound/lame ) + libsamplerate? ( media-libs/libsamplerate ) + lua? ( ${LUA_DEPS} ) + mac? ( >=media-sound/mac-10.24:= ) + modplug? ( media-libs/libmodplug ) + mp3? ( media-libs/libmad ) + musepack? ( >=media-sound/musepack-tools-444 ) + pulseaudio? ( media-libs/libpulse ) + sndfile? ( media-libs/libsndfile ) + speex? ( + media-libs/speex + media-libs/liboggz + media-libs/libogg + ) + vorbis? ( + media-libs/libvorbis + media-libs/libogg + ) + wavpack? ( media-sound/wavpack ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-1.1-configure-lua-version.patch" + "${FILESDIR}/${PN}-1.2-mac-configure.patch" + "${FILESDIR}/${PN}-1.2-mac-dec.patch" + "${FILESDIR}/${PN}-1.2-mac-endianness.patch" + "${FILESDIR}/${PN}-1.2-mac-glib.patch" +) + +pkg_setup() { + use lua && lua-single_pkg_setup +} + +src_prepare() { + default + + xdg_environment_reset + + eautoreconf +} + +src_configure() { + econf \ + --disable-rpath \ + --enable-loop \ + --enable-nls \ + --enable-transcoding \ + $(use_enable debug) \ + $(use_enable podcast) \ + $(use_enable systray) \ + $(use_enable jack jack-mgmt) \ + $(use_with alsa) \ + $(use_with cdda) \ + $(use_with cddb) \ + $(use_with ffmpeg lavc) \ + $(use_with flac) \ + $(use_with ifp) \ + $(use_with jack) \ + $(use_with ladspa) \ + $(use_with lame) \ + $(use_with libsamplerate src) \ + $(use_with lua) \ + $(use_with mac MAC) \ + $(use_with modplug mod) \ + $(use_with mp3 mpeg) \ + $(use_with musepack mpc) \ + $(use_with oss) \ + $(use_with pulseaudio pulse) \ + $(use_with sndfile) \ + $(use_with speex) \ + $(use_with vorbis vorbis) \ + $(use_with vorbis vorbisenc) \ + $(use_with wavpack) +} + +src_install() { + default + + newicon src/img/icon_64.png aqualung.png + make_desktop_entry aqualung Aqualung +} |