summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2012-02-17 17:13:15 +0000
committerSebastian Pipping <sping@gentoo.org>2012-02-17 17:13:15 +0000
commitaf86ae045e0036ef80d9f894c36777b6cb373c7e (patch)
tree04c8ac5b072b2a240933b56bbda9045952e3a9ca /app-cdr
parentStable for HPPA (bug #404199). (diff)
downloadgentoo-2-af86ae045e0036ef80d9f894c36777b6cb373c7e.tar.gz
gentoo-2-af86ae045e0036ef80d9f894c36777b6cb373c7e.tar.bz2
gentoo-2-af86ae045e0036ef80d9f894c36777b6cb373c7e.zip
app-cdr/isomaster: Respect ${LINGUAS} (bug #402679)
(Portage version: 2.1.10.46/cvs/Linux x86_64)
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/isomaster/ChangeLog6
-rw-r--r--app-cdr/isomaster/isomaster-1.3.9-r1.ebuild14
-rw-r--r--app-cdr/isomaster/isomaster-1.3.9.ebuild56
3 files changed, 18 insertions, 58 deletions
diff --git a/app-cdr/isomaster/ChangeLog b/app-cdr/isomaster/ChangeLog
index bbe723582fb6..d9e388f02360 100644
--- a/app-cdr/isomaster/ChangeLog
+++ b/app-cdr/isomaster/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-cdr/isomaster
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/isomaster/ChangeLog,v 1.22 2012/01/21 21:22:10 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/isomaster/ChangeLog,v 1.23 2012/02/17 17:13:15 sping Exp $
+
+ 17 Feb 2012; Sebastian Pipping <sping@gentoo.org> -isomaster-1.3.9.ebuild,
+ isomaster-1.3.9-r1.ebuild:
+ Respect ${LINGUAS} (bug #402679), remove old revision
21 Jan 2012; Samuli Suominen <ssuominen@gentoo.org>
isomaster-1.3.9-r1.ebuild:
diff --git a/app-cdr/isomaster/isomaster-1.3.9-r1.ebuild b/app-cdr/isomaster/isomaster-1.3.9-r1.ebuild
index 4953ee4f313a..dc11a22f9b6b 100644
--- a/app-cdr/isomaster/isomaster-1.3.9-r1.ebuild
+++ b/app-cdr/isomaster/isomaster-1.3.9-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/isomaster/isomaster-1.3.9-r1.ebuild,v 1.2 2012/01/21 21:22:10 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/isomaster/isomaster-1.3.9-r1.ebuild,v 1.3 2012/02/17 17:13:15 sping Exp $
EAPI=4
inherit eutils fdo-mime toolchain-funcs
@@ -44,9 +44,21 @@ src_compile() {
emake "${myisoconf[@]}"
}
+_apply_linguas() {
+ mv "${D}"/usr/share/locale{,_ALL} || die
+ dodir /usr/share/locale || die
+ for lingua in ${LINGUAS}; do
+ [[ -d "${D}"/usr/share/locale_ALL/${lingua} ]] || break
+ mv "${D}"/usr/share/{locale_ALL/${lingua},locale/} || die
+ done
+ rm -R "${D}"/usr/share/locale_ALL || die
+}
+
src_install() {
emake "${myisoconf[@]}" DESTDIR="${D}" install
dodoc {CHANGELOG,CREDITS,README,TODO}.TXT *.txt
+
+ _apply_linguas # bug 402679
}
pkg_postinst() {
diff --git a/app-cdr/isomaster/isomaster-1.3.9.ebuild b/app-cdr/isomaster/isomaster-1.3.9.ebuild
deleted file mode 100644
index f72145cc1392..000000000000
--- a/app-cdr/isomaster/isomaster-1.3.9.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/isomaster/isomaster-1.3.9.ebuild,v 1.3 2012/01/21 19:31:34 ssuominen Exp $
-
-EAPI=4
-inherit eutils fdo-mime toolchain-funcs
-
-DESCRIPTION="Graphical CD image editor for reading, modifying and writing ISO images"
-HOMEPAGE="http://littlesvr.ca/isomaster"
-SRC_URI="http://littlesvr.ca/${PN}/releases/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
-IUSE="nls"
-
-#dev-libs/iniparser, see pkg_setup() and bug 399629
-RDEPEND="x11-libs/gtk+:2"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- nls? ( sys-devel/gettext )"
-
-pkg_setup() {
- myisoconf=(
- DEFAULT_EDITOR=leafpad
- MYDOCPATH=/usr/share/doc/${PF}/bkisofs
- #USE_SYSTEM_INIPARSER=1
- PREFIX=/usr
- )
-
- use nls || myisoconf+=( WITHOUT_NLS=1 )
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-asneeded.patch
-}
-
-src_configure() { :; } #274361
-
-src_compile() {
- tc-export CC
- emake "${myisoconf[@]}"
-}
-
-src_install() {
- emake "${myisoconf[@]}" DESTDIR="${D}" install
- dodoc {CHANGELOG,CREDITS,README,TODO}.TXT *.txt
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}