summaryrefslogtreecommitdiff
path: root/media-sound/abcde
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/abcde')
-rw-r--r--media-sound/abcde/Manifest8
-rw-r--r--media-sound/abcde/abcde-2.5.4-r1.ebuild63
-rw-r--r--media-sound/abcde/abcde-2.8.1.ebuild70
-rw-r--r--media-sound/abcde/files/abcde-2.5.4-eyeD3-0.7-api.patch22
-rw-r--r--media-sound/abcde/metadata.xml15
5 files changed, 178 insertions, 0 deletions
diff --git a/media-sound/abcde/Manifest b/media-sound/abcde/Manifest
new file mode 100644
index 000000000000..25d43f6daeef
--- /dev/null
+++ b/media-sound/abcde/Manifest
@@ -0,0 +1,8 @@
+AUX abcde-2.5.4-eyeD3-0.7-api.patch 622 SHA256 93a18f5587a851eeee4ff616b60095f52e270386bd4271f3b93b74d0185f3269 SHA512 6d9ac83d900f7c3b020903ed90568c5d0c5758664d899b8f778ca69a8ef0eb21d4d60795aa682fd031a0a27b95c2f0b1a7e635ef40e59f9c5f1f05d21f4bacdc WHIRLPOOL 4890c7b87ace7350e381093249df2b85219f60d6458eda537d255356614111ff2a87eb65fb09797d80a6002a466a2458743ab0f12d2a1b34434a0958328c5601
+DIST abcde-2.5.4.tar.gz 104229 SHA256 85b679b970e728a986487adcbff7c51eb0e72f9fa10c4450521f8e029fa6e591 SHA512 be3c8f697873b65888a37ea6209e161a6fc7bbe26c6e139b211b1fbcb233d3e250b21f6fad2114962ca4dcce79240e2cec51f69ce47549c737071a6122694791 WHIRLPOOL ae5ea868c7d66f8bd367f0a9724546721524b84ae0478fb9bd2ae64b1c1b358a24bfd8d0303ce3012c2bcce40d3b97a1cbcedcb13f8d4dea2ae6cd988d6c0921
+DIST abcde-2.8.1.tar.gz 149238 SHA256 e49c71d7ddcd312dcc819c3be203abd3d09d286500ee777cde434c7881962b39 SHA512 18e9e46ec69d0b99fc5e2b71ec549e3961e5f6d7f88cef1a6c8da154689554a70cc8bc748c1ef78f81583a510f8b03906b8a4fec454aa0b06f0169d0bc4a7b36 WHIRLPOOL ba86b0c635c6ecd3196ca1991d938b3d48c96cca9fd71a1bb4294add05f27605075407a5a784bc188276046d4a8cc5ff12b29e01956565186d64b14ff32d7633
+EBUILD abcde-2.5.4-r1.ebuild 1556 SHA256 9602af5de518e9d06867229a277f83d56a14e7102a93f2519f25823ebf49b985 SHA512 cfae3e23754c1b6a8170d8f4046a4c436ae7247f19e9af3c4397229bc5677f55d935bed731ece8f316edf91f7887e6bf39194d4f094f3810ad9306c7a189e030 WHIRLPOOL 3df31aa1475a004388db5215f7afd1a83ad95420a8236623c6d93bdf8ac5747f91e28395c7d0ed59e9036129d5a5e485b8bbe63eb9854165f7247a9e087d4e78
+EBUILD abcde-2.8.1.ebuild 1783 SHA256 4de82fa2b6d3378c925752ea2b95be8f7a88e6ec764603bb1d36a6e614d650ef SHA512 7339823db4743cc7ec7ee99648625f45ebc87cc6cb0070c30b13beec24b2a66b8646de6d994386b48d523fc6322151550980730ba6c3f002b85834cda03cc885 WHIRLPOOL 48118e9725bdbe2542f6b2083703dd38144227b7f07a9cac3e5a70e593d6096f118982ec3e60ffa9cec461b8d14c9a01787233058681ea2851f51c1a1db987f0
+MISC ChangeLog 3854 SHA256 d2354cbe41afb6340d6b017330bcf7caf0148d477242f9ab05541c021ba33d9d SHA512 b17f029b1f8a687df6ad288d4c1af8325992e876f8c0fe4fbb2639ca43d9ab72c9831705a85af249e2fce66bbd9fc46bb61a0a455ae2a7f5da38ee3700b0eb99 WHIRLPOOL 46e606e249c0e3da98e827c9447e0f0d39d2b212dc46058386a670f8dcd866151bc2183d9e29ad7016f3436ab2a72202389498de312ccd2f93ea739e412c2834
+MISC ChangeLog-2015 11229 SHA256 0605c9ace3658a0e20b5d34a78ba5bbd73e4a92a3161e739289e815ee09966f4 SHA512 d8655e095a2dc2d4d069865355c14475cbada587e5c90d8078c30c3632af492c699d66cadbc677fb0ebfd246996f1832fd9e11ed97fbf1c51e9eaa52809b81b4 WHIRLPOOL aaaa6fa8c3aa802703e6e422e3fab0aff3a5fa203754da08c84c6617f66f9d2938429b6475aa05c98f3b13a71c4b7f84db030d464c8d57995929744f5d2813b2
+MISC metadata.xml 651 SHA256 c4563d5333f8ef7576a9f7efe228644819ad472759951ab8a10d72275a5d449c SHA512 9174fb9c065d85ff2cb5312bca39bf33d5798f06caafe2a6d8e5fc239b253df8956a30b920fb0392e6a979328c975718f8393655a7cdaf975a72747de1c67ef5 WHIRLPOOL 0a3aff9b6d804ab6b2295aab3226e051d88aab89ec9e054d9b3b9e74f8b2bd6e4ee422acf3ccdcfc82cb5e7bcaee21796c50b1fdde2d35243d471a863879be32
diff --git a/media-sound/abcde/abcde-2.5.4-r1.ebuild b/media-sound/abcde/abcde-2.5.4-r1.ebuild
new file mode 100644
index 000000000000..1a0fc6bf0134
--- /dev/null
+++ b/media-sound/abcde/abcde-2.5.4-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="A command line CD encoder"
+HOMEPAGE="https://code.google.com/p/abcde/"
+SRC_URI="https://abcde.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+# Enable MP3 related flags by default
+IUSE="aac cdparanoia cdr flac +id3tag +lame musicbrainz normalize replaygain speex vorbis"
+
+# See `grep :: abcde-musicbrainz-tool` output for USE musicbrainz dependencies
+RDEPEND="media-sound/cd-discid
+ net-misc/wget
+ virtual/eject
+ aac? (
+ media-libs/faac
+ || ( media-video/atomicparsley media-video/atomicparsley-wez )
+ )
+ cdparanoia? (
+ || ( dev-libs/libcdio-paranoia media-sound/cdparanoia )
+ )
+ cdr? ( virtual/cdrtools )
+ flac? ( media-libs/flac )
+ id3tag? (
+ dev-python/eyeD3:0.7
+ >=media-sound/id3-0.12
+ media-sound/id3v2
+ )
+ lame? ( media-sound/lame )
+ musicbrainz? (
+ dev-perl/MusicBrainz-DiscID
+ dev-perl/WebService-MusicBrainz
+ virtual/perl-Digest-SHA
+ virtual/perl-Getopt-Long
+ )
+ normalize? ( >=media-sound/normalize-0.7.4 )
+ replaygain? (
+ vorbis? ( media-sound/vorbisgain )
+ lame? ( media-sound/mp3gain )
+ )
+ speex? ( media-libs/speex )
+ vorbis? ( media-sound/vorbis-tools )"
+
+src_prepare() {
+ sed -i -e 's:etc/abcde.co:etc/abcde/abcde.co:g' abcde || die
+
+ epatch "${FILESDIR}"/${P}-eyeD3-0.7-api.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" etcdir="${D}"etc/abcde install
+
+ dodoc changelog FAQ README TODO USEPIPES
+
+ docinto examples
+ dodoc examples/*
+}
diff --git a/media-sound/abcde/abcde-2.8.1.ebuild b/media-sound/abcde/abcde-2.8.1.ebuild
new file mode 100644
index 000000000000..b027b72810a5
--- /dev/null
+++ b/media-sound/abcde/abcde-2.8.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A command line CD encoder"
+HOMEPAGE="https://abcde.einval.com/"
+SRC_URI="https://abcde.einval.com/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+# Enable MP3 related flags by default
+IUSE="aac cdparanoia cdr flac +id3tag +lame mac musepack musicbrainz normalize opus replaygain speex vorbis wavpack"
+
+# See `grep :: abcde-musicbrainz-tool` output for USE musicbrainz dependencies
+RDEPEND="media-sound/cd-discid
+ net-misc/wget
+ virtual/eject
+ aac? (
+ || ( media-libs/faac media-sound/neroaac )
+ || ( media-video/atomicparsley media-video/atomicparsley-wez )
+ )
+ cdparanoia? (
+ || ( dev-libs/libcdio-paranoia media-sound/cdparanoia )
+ )
+ cdr? ( virtual/cdrtools )
+ flac? ( media-libs/flac )
+ id3tag? (
+ dev-python/eyeD3:0.7
+ >=media-sound/id3-0.12
+ media-sound/id3v2
+ )
+ lame? ( media-sound/lame )
+ mac? (
+ media-sound/apetag
+ media-sound/mac
+ )
+ musepack? ( media-sound/musepack-tools )
+ musicbrainz? (
+ dev-perl/MusicBrainz-DiscID
+ dev-perl/WebService-MusicBrainz
+ virtual/perl-Digest-SHA
+ virtual/perl-Getopt-Long
+ )
+ normalize? ( >=media-sound/normalize-0.7.4 )
+ opus? ( media-sound/opus-tools )
+ replaygain? (
+ vorbis? ( media-sound/vorbisgain )
+ lame? ( media-sound/mp3gain )
+ )
+ speex? ( media-libs/speex )
+ vorbis? ( media-sound/vorbis-tools )
+ wavpack? ( media-sound/wavpack )
+"
+
+src_prepare() {
+ default
+ sed -i 's:etc/abcde.co:etc/abcde/abcde.co:g' abcde || die
+ sed -i -e '/^prefix/s/=/?=/' -e '/^sysconfdir/s/=/?=/' Makefile || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix="/usr" sysconfdir="/etc/abcde" install
+
+ dodoc changelog FAQ README
+
+ docinto examples
+ dodoc examples/*
+}
diff --git a/media-sound/abcde/files/abcde-2.5.4-eyeD3-0.7-api.patch b/media-sound/abcde/files/abcde-2.5.4-eyeD3-0.7-api.patch
new file mode 100644
index 000000000000..15f234877996
--- /dev/null
+++ b/media-sound/abcde/files/abcde-2.5.4-eyeD3-0.7-api.patch
@@ -0,0 +1,22 @@
+Update to eyeD3 >= 0.7.0 API
+
+--- abcde
++++ abcde
+@@ -829,7 +829,7 @@
+ -a "$TRACKARTIST" -t "$TRACKNAME" -Y "$CDYEAR" \
+ -G "$GENREID" -n "${TRACKNUM:-$1}" \
+ ${TRACKNUM:+-N "$TRACKS"} \
+- ${ENCODING:+--set-encoding="$ENCODING"} \
++ ${ENCODING:+--encoding "$ENCODING"} \
+ ${TPE2:+--set-text-frame=TPE2:"$TPE2"} \
+ "$ABCDETEMPDIR/track$1.$OUTPUT"
+ ;;
+@@ -3879,7 +3879,7 @@
+ TAGGER="$EYED3"
+ TAGGEROPTS="$ID3V2OPTS"
+ ID3SYNTAX=eyed3
+- TAGGEROPTS="--set-encoding=utf16-LE $ID3V2OPTS"
++ TAGGEROPTS="--encoding utf16 $ID3V2OPTS"
+ fi
+
+ # NOGAP is specific to lame. Other encoders fail ...
diff --git a/media-sound/abcde/metadata.xml b/media-sound/abcde/metadata.xml
new file mode 100644
index 000000000000..41b01c0f1635
--- /dev/null
+++ b/media-sound/abcde/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <use>
+ <flag name="id3tag">Support ID3, ID3v2 tagging of audio files</flag>
+ <flag name="mac">Enable support for Monkey's Audio files</flag>
+ <flag name="normalize">Add support for normalizing audio file volume levels</flag>
+ <flag name="opus">Support opus encoding using opusenc</flag>
+ <flag name="replaygain">Support for Replay Gain metadata, for relative volume adjustment</flag>
+ </use>
+</pkgmetadata>