summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2011-12-07 20:11:31 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2011-12-07 20:11:31 +0000
commit03bd59abd6b4127770974d7cb160cd08f466cbb5 (patch)
tree4d8e981a0971911705b5b5e8f25ded896cc38351 /media-sound/flacon
parentBuild in the source tree (fixes bug #393095). (diff)
downloadgentoo-2-03bd59abd6b4127770974d7cb160cd08f466cbb5.tar.gz
gentoo-2-03bd59abd6b4127770974d7cb160cd08f466cbb5.tar.bz2
gentoo-2-03bd59abd6b4127770974d7cb160cd08f466cbb5.zip
Version bump to 0.6.0, thanks to Nikoli
(Portage version: 2.1.10.39/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/flacon')
-rw-r--r--media-sound/flacon/ChangeLog7
-rw-r--r--media-sound/flacon/flacon-0.6.0.ebuild56
2 files changed, 62 insertions, 1 deletions
diff --git a/media-sound/flacon/ChangeLog b/media-sound/flacon/ChangeLog
index 7c136c4f7197..c0c7db6f03b8 100644
--- a/media-sound/flacon/ChangeLog
+++ b/media-sound/flacon/ChangeLog
@@ -1,6 +1,11 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/flacon/ChangeLog,v 1.2 2011/12/07 20:11:31 maksbotan Exp $
+
+*flacon-0.6.0 (07 Dec 2011)
+
+ 07 Dec 2011; Maxim Koltsov <maksbotan@gentoo.org> +flacon-0.6.0.ebuild:
+ Version bump to 0.6.0, thanks to Nikoli
*flacon-0.5.7 (24 Sep 2011)
diff --git a/media-sound/flacon/flacon-0.6.0.ebuild b/media-sound/flacon/flacon-0.6.0.ebuild
new file mode 100644
index 000000000000..c58cb1c35b37
--- /dev/null
+++ b/media-sound/flacon/flacon-0.6.0.ebuild
@@ -0,0 +1,56 @@
+# 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.6.0.ebuild,v 1.1 2011/12/07 20:11:31 maksbotan Exp $
+
+EAPI="4"
+
+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 mp4 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 )
+ mp4? ( media-libs/faac )
+ 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_compile() { :; }
+
+pkg_postinst() {
+ python_mod_optimize /usr/share/${PN}
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/share/${PN}
+}