summaryrefslogtreecommitdiff
path: root/media-sound/moc
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/moc')
-rw-r--r--media-sound/moc/Manifest1
-rw-r--r--media-sound/moc/moc-2.6_alpha3-r2.ebuild94
2 files changed, 95 insertions, 0 deletions
diff --git a/media-sound/moc/Manifest b/media-sound/moc/Manifest
index b379f286146c..1fb34e49dc78 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-r1.ebuild 2279 BLAKE2B e82260010c115fbbb05d81c3f26da8fd7b1854af7533da00ccfc296b65ac41345671176b65eab3ea75c3c4bb5fe7fbe4c38abec0e551995ccc1c3c314adcc705 SHA512 cd106235b1017286763f06e0623cc339dce44e10002d5266d15ab4eecc90874be673de805038739a761df396af3fc8b1daf8685e36bc0543df6c00b628b361b4
+EBUILD moc-2.6_alpha3-r2.ebuild 2250 BLAKE2B ea3c33c85a7d37f7cc4f783bdac1a509c7d95fa219553a3feebad57a726d9a80c63fd840fe5d44bfb6ffebfafb4bce9377de4b7588082012344fca509086dd2b SHA512 2b80e2e3e7d297867001538f9cdcf825db89ef634454e80a4217da0164396fd1326c58a4de3662dccdc0149e08bf1b618f3b1c2bac090f86c89007dbcb929440
MISC metadata.xml 532 BLAKE2B 79a7280e9bb412be2a57f13259d34ff2d2501bd3a34bc74c6fe5ce2529842dae5f199a674224b0b13883af8536fea947e98c6054c3039141a60dbc436ad4a5e2 SHA512 62746eb7250465ef0099c8b9c8e906e932d1bb5c9ac41b1a0192ee3cd4fa79698342b6fac2e7646d65197ebc9f7a504ab733eb2b889b7e84d1a8a9fadfc2ac57
diff --git a/media-sound/moc/moc-2.6_alpha3-r2.ebuild b/media-sound/moc/moc-2.6_alpha3-r2.ebuild
new file mode 100644
index 000000000000..c1b7aa63c6d9
--- /dev/null
+++ b/media-sound/moc/moc-2.6_alpha3-r2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2020 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 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 )
+ 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 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
+}