summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2011-09-24 18:15:13 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2011-09-24 18:15:13 +0000
commit0b3c54a26bbd795e1af2b2be49c9050600f61eb2 (patch)
tree4bf4149d62deeef7e636207153b30f87086914be /media-sound/flacon
parentAdd otroid use flag to 9999 version (diff)
downloadgentoo-2-0b3c54a26bbd795e1af2b2be49c9050600f61eb2.tar.gz
gentoo-2-0b3c54a26bbd795e1af2b2be49c9050600f61eb2.tar.bz2
gentoo-2-0b3c54a26bbd795e1af2b2be49c9050600f61eb2.zip
Add media-sound/flacon, bug #353606
(Portage version: 2.1.10.19/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/flacon')
-rw-r--r--media-sound/flacon/ChangeLog10
-rw-r--r--media-sound/flacon/flacon-0.5.7.ebuild57
-rw-r--r--media-sound/flacon/metadata.xml18
3 files changed, 85 insertions, 0 deletions
diff --git a/media-sound/flacon/ChangeLog b/media-sound/flacon/ChangeLog
new file mode 100644
index 000000000000..7c136c4f7197
--- /dev/null
+++ b/media-sound/flacon/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-sound/flacon
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/flacon/ChangeLog,v 1.1 2011/09/24 18:15:13 maksbotan Exp $
+
+*flacon-0.5.7 (24 Sep 2011)
+
+ 24 Sep 2011; Maxim Koltsov <maksbotan@gentoo.org> +flacon-0.5.7.ebuild,
+ +metadata.xml:
+ Add initial ebuild, thanks to Nikoli <nikoli@lavabit.com>. Bug 353606.
+
diff --git a/media-sound/flacon/flacon-0.5.7.ebuild b/media-sound/flacon/flacon-0.5.7.ebuild
new file mode 100644
index 000000000000..86fa04ba2737
--- /dev/null
+++ b/media-sound/flacon/flacon-0.5.7.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/flacon/flacon-0.5.7.ebuild,v 1.1 2011/09/24 18:15:13 maksbotan Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2"
+
+inherit python
+
+DESCRIPTION="Extracts audio tracks from audio CD image to separate tracks"
+HOMEPAGE="https://code.google.com/p/flacon/"
+SRC_URI="https://flacon.googlecode.com/files/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="flac mac mp3 ogg replaygain tta wavpack"
+
+RDEPEND="
+ dev-python/PyQt4[X]
+ media-sound/shntool[mac?]
+ flac? ( media-libs/flac )
+ mac? ( media-sound/mac )
+ mp3? ( media-sound/lame )
+ ogg? ( media-sound/vorbis-tools )
+ tta? ( media-sound/ttaenc )
+ wavpack? ( media-sound/wavpack )
+ replaygain? (
+ mp3? ( media-sound/mp3gain )
+ ogg? ( media-sound/vorbisgain )
+ )
+"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+
+ sed -e '/cd $(INST_DIR) && python -mcompileall ./d' -i Makefile || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/share/${PN}
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/share/${PN}
+}
diff --git a/media-sound/flacon/metadata.xml b/media-sound/flacon/metadata.xml
new file mode 100644
index 000000000000..7fd9f25cb552
--- /dev/null
+++ b/media-sound/flacon/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>nikoli@lavabit.com</email>
+ <name>Nikoli</name>
+ </maintainer>
+ <maintainer>
+ <email>maksbotan@gentoo.org</email>
+ <name>Maxim Koltsov</name>
+ </maintainer>
+ <use>
+ <flag name='mac'>Add support for Monkey's Audio files</flag>
+ <flag name='replaygain'>Support for Replay Gain metadata, for relative volume adjustment</flag>
+ <flag name='tta'>Add support for True Audio encoding</flag>
+ </use>
+</pkgmetadata>