diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-04-04 21:33:24 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-04-04 21:33:24 +0000 |
commit | bb8b2b75f099be2aaaceb6827a22ae084705f1cf (patch) | |
tree | 1a4de11242712c2c03c7f448cb05880b15b36d49 /app-cdr/recorder | |
parent | marked x86 per bug 404613 (diff) | |
download | gentoo-2-bb8b2b75f099be2aaaceb6827a22ae084705f1cf.tar.gz gentoo-2-bb8b2b75f099be2aaaceb6827a22ae084705f1cf.tar.bz2 gentoo-2-bb8b2b75f099be2aaaceb6827a22ae084705f1cf.zip |
Version bump and use Python 2.x wrt #410743 by Calvin Kruse
(Portage version: 2.2.0_alpha98/cvs/Linux x86_64)
Diffstat (limited to 'app-cdr/recorder')
-rw-r--r-- | app-cdr/recorder/ChangeLog | 9 | ||||
-rw-r--r-- | app-cdr/recorder/recorder-1.4.5.ebuild | 66 |
2 files changed, 73 insertions, 2 deletions
diff --git a/app-cdr/recorder/ChangeLog b/app-cdr/recorder/ChangeLog index f186ea831c8c..64e81edf3462 100644 --- a/app-cdr/recorder/ChangeLog +++ b/app-cdr/recorder/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-cdr/recorder -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/recorder/ChangeLog,v 1.5 2010/06/11 21:02:47 yngwin Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/recorder/ChangeLog,v 1.6 2012/04/04 21:33:24 ssuominen Exp $ + +*recorder-1.4.5 (04 Apr 2012) + + 04 Apr 2012; Samuli Suominen <ssuominen@gentoo.org> +recorder-1.4.5.ebuild: + Version bump and use Python 2.x wrt #410743 by Calvin Kruse 11 Jun 2010; Ben de Groot <yngwin@gentoo.org> metadata.xml: Removing myself as maintainer diff --git a/app-cdr/recorder/recorder-1.4.5.ebuild b/app-cdr/recorder/recorder-1.4.5.ebuild new file mode 100644 index 000000000000..fb66477e9580 --- /dev/null +++ b/app-cdr/recorder/recorder-1.4.5.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/recorder/recorder-1.4.5.ebuild,v 1.1 2012/04/04 21:33:24 ssuominen Exp $ + +EAPI=4 + +PYTHON_DEPEND="2:2.7" + +inherit fdo-mime python + +DESCRIPTION="A simple GTK+ disc burner" +HOMEPAGE="http://code.google.com/p/recorder/" +SRC_URI="http://recorder.googlecode.com/files/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="dvdr mp3 nls ogg vcd" + +LANGS="ar cs es fr it nl pl pt_BR ru sv" +for l in ${LANGS}; do + IUSE="${IUSE} linguas_${l}" +done + +DEPEND="nls? ( sys-devel/gettext )" +RDEPEND="${DEPEND} + >=dev-python/pygtk-2 + sys-apps/coreutils + virtual/cdrtools + dvdr? ( app-cdr/dvd+rw-tools ) + mp3? ( media-sound/mpg123 ) + ogg? ( media-sound/vorbis-tools ) + vcd? ( + app-cdr/cdrdao + media-video/vcdimager + )" + +DOCS="CHANGELOG TRANSLATORS" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + python_convert_shebangs 2 recorder + + local MY_NLS="" + if use nls; then + for ling in ${LINGUAS}; do + if has $ling ${LANGS}; then + MY_NLS="${MY_NLS} ${ling}" + fi + done + fi + + sed -i -e 's:ar cs es fr pt_BR ru it nl:${MY_NLS}:' Makefile +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} |