diff options
Diffstat (limited to 'media-sound/moc')
-rw-r--r-- | media-sound/moc/Manifest | 3 | ||||
-rw-r--r-- | media-sound/moc/metadata.xml | 1 | ||||
-rw-r--r-- | media-sound/moc/moc-2.6_alpha3-r3.ebuild | 96 |
3 files changed, 99 insertions, 1 deletions
diff --git a/media-sound/moc/Manifest b/media-sound/moc/Manifest index be646476fa98..166b0759083d 100644 --- a/media-sound/moc/Manifest +++ b/media-sound/moc/Manifest @@ -3,4 +3,5 @@ DIST moc-2.5.2.tar.bz2 602728 BLAKE2B 10b568404632f29ed5fd1d04ec424aa364a6e74c1a DIST moc-2.6-alpha3.tar.xz 496676 BLAKE2B 3b4f31676c869a0cacd44cce1e4509304e3b00a15e578eb394510fbe0ddaf53f5c5628f2dccd60f4b3925f3e597d9fbc04bc2a8e090e2e05227b822f1aa05ef0 SHA512 e38e277e5e945827308f47a8f3614eb1e52c16271da372f50e7b6427a7dfc994e1c66761a9e46326bf483b91e9127efe7796a329c62e95524609edfb3a7603bf EBUILD moc-2.5.2-r1.ebuild 2109 BLAKE2B a24ab48ca76fe6a1d062bd2d7e875daad0b833e73687a6c328d21c89f4857fc270f0fb57f79e6554253b6d2ce2ce8ada2d8970f3a325840a5681f89276be9dd4 SHA512 d7b1a37f2a5b162c8637af93a5da4a39e7080904054eb7d6cc3433521a43447b2d670137af09b74d19fa98b8cd647f83045a21bdad5692f81adb898523d0a667 EBUILD moc-2.6_alpha3-r2.ebuild 2248 BLAKE2B e74e11a9a71a95399bb7e4c802d14b3992a63a8a1c9a5386fe857fa2cc48b61c1851d41aae5c438cf7c65d8a54e2213c243953849220a61607b304580db50eba SHA512 bf4131162002fc37857ea0022f7304ef7d6f7bda45cd8ed96a1fd3d204ddbe0b1f4b3cb6a544a9661fe915d6144c07586812e9cc8926747c85148b97505b48b9 -MISC metadata.xml 532 BLAKE2B 79a7280e9bb412be2a57f13259d34ff2d2501bd3a34bc74c6fe5ce2529842dae5f199a674224b0b13883af8536fea947e98c6054c3039141a60dbc436ad4a5e2 SHA512 62746eb7250465ef0099c8b9c8e906e932d1bb5c9ac41b1a0192ee3cd4fa79698342b6fac2e7646d65197ebc9f7a504ab733eb2b889b7e84d1a8a9fadfc2ac57 +EBUILD moc-2.6_alpha3-r3.ebuild 2309 BLAKE2B d64957278960b177987a702701a5519b30439da37c2b254f97b0fcbaa402159a5eb669d9bab35d4d2aa71dc636eba405905a4a40e9202e2a1e0d19058aa4dd43 SHA512 3299e36a66c407ea53df6d4e6a8cce0ee1493b4e07e585b9c6e0bdcdbfe49e4c2dd953b6d81e6faf0489346cb0a808e1ada04a3eeb07fcc325d8367da3812a74 +MISC metadata.xml 620 BLAKE2B f4b43ba546218153ab2e3c980ca4b09e4b82a35dc17755be3904beb7131f22f71b756edc913f0dce4285e779a1b4a75c474577c81095d341c50d45b03f407497 SHA512 fd676e1ee0aba80032597c106ae94a451e9e2762fffe0b7a33119d2701eea37ac400d25849bd668654bcf7ed8d12af91c0bcab4e6006d5cd3bf0f35af098baa2 diff --git a/media-sound/moc/metadata.xml b/media-sound/moc/metadata.xml index 5d50f496122e..7a91a7907864 100644 --- a/media-sound/moc/metadata.xml +++ b/media-sound/moc/metadata.xml @@ -8,6 +8,7 @@ <use> <flag name="cache">Enable tags caching support</flag> <flag name="sid">Build with SID (Commodore 64 Audio) support</flag> + <flag name="sndio">Enable support for the <pkg>media-sound/sndio</pkg> backend</flag> <flag name="tremor">Build vorbis support using an integer implementation of the vorbis library (<pkg>media-libs/tremor</pkg>)</flag> </use> diff --git a/media-sound/moc/moc-2.6_alpha3-r3.ebuild b/media-sound/moc/moc-2.6_alpha3-r3.ebuild new file mode 100644 index 000000000000..76ce43971282 --- /dev/null +++ b/media-sound/moc/moc-2.6_alpha3-r3.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P=${PN}-${PV/_/-} +DESCRIPTION="Music On Console - ncurses interface for playing audio files" +HOMEPAGE="https://moc.daper.net" +SRC_URI="http://ftp.daper.net/pub/soft/moc/unstable/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="aac alsa +cache curl debug ffmpeg flac jack libsamplerate mad +magic modplug musepack + oss sid sndfile sndio speex timidity tremor +unicode vorbis wavpack" + +RDEPEND=" + >=dev-libs/libltdl-2:0 + dev-libs/popt + sys-libs/ncurses:0=[unicode?] + aac? ( media-libs/faad2 ) + alsa? ( >=media-libs/alsa-lib-1.0.11 ) + cache? ( >=sys-libs/db-4.1:= ) + curl? ( >=net-misc/curl-7.15.1 ) + ffmpeg? ( >=media-video/ffmpeg-1.2.6-r1 ) + flac? ( >=media-libs/flac-1.1.3 ) + jack? ( virtual/jack ) + libsamplerate? ( >=media-libs/libsamplerate-0.1.0 ) + mad? ( + media-libs/libmad + sys-libs/zlib + media-libs/libid3tag + ) + magic? ( sys-apps/file ) + modplug? ( >=media-libs/libmodplug-0.7 ) + musepack? ( + media-sound/musepack-tools + >=media-libs/taglib-1.5 + ) + sid? ( >=media-libs/libsidplay-2.1.1 ) + sndfile? ( >=media-libs/libsndfile-1.0.0 ) + sndio? ( media-sound/sndio ) + speex? ( >=media-libs/speex-1.0.0 ) + timidity? ( + >=media-libs/libtimidity-0.1.0 + media-sound/timidity++ + ) + vorbis? ( + >=media-libs/libogg-1.0 + tremor? ( media-libs/tremor ) + !tremor? ( >=media-libs/libvorbis-1.0 ) + ) + wavpack? ( >=media-sound/wavpack-4.31 ) +" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig +" + +S=${WORKDIR}/${MY_P} +PATCHES=( "${FILESDIR}/ffmpeg4.patch" ) + +src_configure() { + local myconf=( + --without-rcc + $(use_enable debug) + $(use_enable cache) + $(use_with oss) + $(use_with alsa) + $(use_with jack) + $(use_with sndio) + $(use_with magic) + $(use_with unicode ncursesw) + $(use_with libsamplerate samplerate) + $(use_with aac) + $(use_with ffmpeg) + $(use_with flac) + $(use_with modplug) + $(use_with mad mp3) + $(use_with musepack) + $(use_with sid sidplay2) + $(use_with sndfile) + $(use_with speex) + $(use_with timidity) + $(use_with vorbis vorbis $(usex tremor tremor "")) + $(use_with wavpack) + $(use_with curl) + ) + + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |