diff options
author | Michael Weber <xmw@gentoo.org> | 2013-05-29 13:13:17 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2013-05-29 13:13:17 +0000 |
commit | c3d0d8afd4508e4ffe0dfdbbaf82a165f7ac449a (patch) | |
tree | 89d593ddc971e50f806f85c46849b749cca8e046 /media-sound/flacon/flacon-0.8.0.ebuild | |
parent | Version bump; remove old. (diff) | |
download | historical-c3d0d8afd4508e4ffe0dfdbbaf82a165f7ac449a.tar.gz historical-c3d0d8afd4508e4ffe0dfdbbaf82a165f7ac449a.tar.bz2 historical-c3d0d8afd4508e4ffe0dfdbbaf82a165f7ac449a.zip |
Ebuild by Nikoli, bug 471554. Remove local description of USE linguas_si_LK.
Package-Manager: portage-2.2.0_alpha177/cvs/Linux x86_64
Manifest-Sign-Key: 0x62EEF090
Diffstat (limited to 'media-sound/flacon/flacon-0.8.0.ebuild')
-rw-r--r-- | media-sound/flacon/flacon-0.8.0.ebuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/media-sound/flacon/flacon-0.8.0.ebuild b/media-sound/flacon/flacon-0.8.0.ebuild index 9313aaf08b1e..53669c763716 100644 --- a/media-sound/flacon/flacon-0.8.0.ebuild +++ b/media-sound/flacon/flacon-0.8.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/flacon/flacon-0.8.0.ebuild,v 1.1 2013/05/29 08:33:51 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/flacon/flacon-0.8.0.ebuild,v 1.2 2013/05/29 13:12:57 xmw Exp $ EAPI="5" @@ -34,7 +34,8 @@ RDEPEND="${PYTHON_DEPS} replaygain? ( mp3? ( media-sound/mp3gain ) ogg? ( media-sound/vorbisgain ) - )" + ) +" DEPEND="${RDEPEND}" src_prepare() { @@ -44,15 +45,17 @@ src_prepare() { l10n_find_plocales_changes "translations" "${PN}_" '.qm' l10n_for_each_disabled_locale_do my_rm_loc - touch translations/dummy.{ts,qm} + + if [ -z "$(l10n_get_locales)" ]; then + sed -e '/install .*translations/d' -i Makefile || die + fi python_fix_shebang . sed -e '/cd $(INST_DIR) && python -mcompileall ./d' -i Makefile || die # do not use /tmp/ for tests - sed -e "s,/tmp/,${T}/," \ - -i Makefile tests/flacon_tests.py || die + sed -e "s,/tmp/,${T}/," -i Makefile tests/flacon_tests.py || die } src_compile() { :; } @@ -64,7 +67,5 @@ src_test() { src_install() { default - rm "${D}"/usr/share/${PN}/translations/dummy.qm - - python_optimize "${D}" + python_optimize "${ED}"/usr/share/${PN} } |