diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-12-26 22:02:00 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-12-26 22:02:00 +0000 |
commit | 85fb63310185ce86f87938f9fded640a23a8d49f (patch) | |
tree | 437c9181e84ea3ffa064eaf51e0115f33e1f457e /app-cdr/recorder/recorder-1.4.5-r1.ebuild | |
parent | Convert to python-single-r1. (diff) | |
download | historical-85fb63310185ce86f87938f9fded640a23a8d49f.tar.gz historical-85fb63310185ce86f87938f9fded640a23a8d49f.tar.bz2 historical-85fb63310185ce86f87938f9fded640a23a8d49f.zip |
Convert to python-single-r1.
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'app-cdr/recorder/recorder-1.4.5-r1.ebuild')
-rw-r--r-- | app-cdr/recorder/recorder-1.4.5-r1.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/app-cdr/recorder/recorder-1.4.5-r1.ebuild b/app-cdr/recorder/recorder-1.4.5-r1.ebuild new file mode 100644 index 000000000000..0870303fd770 --- /dev/null +++ b/app-cdr/recorder/recorder-1.4.5-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2014 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-r1.ebuild,v 1.1 2014/12/26 22:01:58 mgorny Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit fdo-mime python-single-r1 + +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[${PYTHON_USEDEP}] + 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 ) + +src_prepare() { + python_fix_shebang 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 || die +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} |