summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-06-24 16:38:30 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-06-24 16:38:30 +0000
commitbc2ce3bcc40045579917f8520e96f6d7e3a48c48 (patch)
tree73bee87f4da1729ad3806b1dc0ec9b19e7595f27 /kde-misc/filelight-i18n
parentStable on amd64 wrt bug 175155 (diff)
downloadgentoo-2-bc2ce3bcc40045579917f8520e96f6d7e3a48c48.tar.gz
gentoo-2-bc2ce3bcc40045579917f8520e96f6d7e3a48c48.tar.bz2
gentoo-2-bc2ce3bcc40045579917f8520e96f6d7e3a48c48.zip
Initial ebuild to add localisation support to kde-misc/filelight as requested in bug 182565.
(Portage version: 2.1.3_rc4)
Diffstat (limited to 'kde-misc/filelight-i18n')
-rw-r--r--kde-misc/filelight-i18n/ChangeLog11
-rw-r--r--kde-misc/filelight-i18n/Manifest16
-rw-r--r--kde-misc/filelight-i18n/filelight-i18n-1.0.ebuild43
-rw-r--r--kde-misc/filelight-i18n/files/digest-filelight-i18n-1.03
-rw-r--r--kde-misc/filelight-i18n/metadata.xml5
5 files changed, 78 insertions, 0 deletions
diff --git a/kde-misc/filelight-i18n/ChangeLog b/kde-misc/filelight-i18n/ChangeLog
new file mode 100644
index 000000000000..9e4c15a53182
--- /dev/null
+++ b/kde-misc/filelight-i18n/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for kde-misc/filelight-i18n
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/filelight-i18n/ChangeLog,v 1.1 2007/06/24 16:38:30 philantrop Exp $
+
+*filelight-i18n-1.0 (24 Jun 2007)
+
+ 24 Jun 2007; Wulf C. Krueger <philantrop@gentoo.org> +metadata.xml,
+ +filelight-i18n-1.0.ebuild:
+ Initial ebuild to add localisation support to kde-misc/filelight as
+ requested in bug 182565.
+
diff --git a/kde-misc/filelight-i18n/Manifest b/kde-misc/filelight-i18n/Manifest
new file mode 100644
index 000000000000..6eb2da2c5ba9
--- /dev/null
+++ b/kde-misc/filelight-i18n/Manifest
@@ -0,0 +1,16 @@
+DIST filelight-1.0-i18n-20070422.tar.bz2 986141 RMD160 e676c7c208123b2209514d3b9406540533103715 SHA1 1f50270d851ae7578b696f1e9737be82ad06a424 SHA256 1c3b973b3dc70e08a83990a737afd15aa653029202270992940b2a23705f02fc
+EBUILD filelight-i18n-1.0.ebuild 1315 RMD160 60f5cceab6df09c87d95a0a0c59d6a3bdb7b57ac SHA1 e5670d92c3b681f8693c39a5d2575b6e0e0b8801 SHA256 be4d6092f63570cd83da6bc795cf69956b56be2e3f1a5bdbab6f2106fcd4b7a1
+MD5 94bc413b933d8223bcd41328658c8fd5 filelight-i18n-1.0.ebuild 1315
+RMD160 60f5cceab6df09c87d95a0a0c59d6a3bdb7b57ac filelight-i18n-1.0.ebuild 1315
+SHA256 be4d6092f63570cd83da6bc795cf69956b56be2e3f1a5bdbab6f2106fcd4b7a1 filelight-i18n-1.0.ebuild 1315
+MISC ChangeLog 357 RMD160 d9bd0a0fd04f25b3a2287d56e59f0f1bdcb0d73f SHA1 2715c2716a3a3a506f23fd4c1c95dbd0dca55ecd SHA256 66aa5af56485513acd25d6ae8bc86f7528261d38355b500fd3cc7efd4d28b5c6
+MD5 ec0586e147bd6e55901af5c22400bb35 ChangeLog 357
+RMD160 d9bd0a0fd04f25b3a2287d56e59f0f1bdcb0d73f ChangeLog 357
+SHA256 66aa5af56485513acd25d6ae8bc86f7528261d38355b500fd3cc7efd4d28b5c6 ChangeLog 357
+MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
+MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156
+RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156
+SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a metadata.xml 156
+MD5 5db61a1cebc12a422f35b17cdb0893d6 files/digest-filelight-i18n-1.0 286
+RMD160 5d1350d811ca3a72a96ac61c61bc86aae1d30ff1 files/digest-filelight-i18n-1.0 286
+SHA256 e00b125e1d5360ef8d01620be1873f839affa527faa8ca19c533f855700be5c7 files/digest-filelight-i18n-1.0 286
diff --git a/kde-misc/filelight-i18n/filelight-i18n-1.0.ebuild b/kde-misc/filelight-i18n/filelight-i18n-1.0.ebuild
new file mode 100644
index 000000000000..3e29d66cc54f
--- /dev/null
+++ b/kde-misc/filelight-i18n/filelight-i18n-1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/filelight-i18n/filelight-i18n-1.0.ebuild,v 1.1 2007/06/24 16:38:30 philantrop Exp $
+
+inherit kde
+
+MY_P="${PN/i18n/${PV}}-i18n-20070422"
+DESCRIPTION="Translations for kde-misc/filelight"
+HOMEPAGE="http://www.methylblue.com/filelight/"
+SRC_URI="http://www.methylblue.com/filelight/packages/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="doc"
+
+DEPEND="~kde-misc/filelight-1.0"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+LANGS="az bg br ca cs cy da de el en_GB es et fr ga gl is it ja ka lt nb nl pl
+pt pt_BR ro ru rw sr sr@Latn sv ta tr uk"
+LANGS_DOC="da es et it pt ru sv"
+
+for lang in ${LANGS}; do
+ IUSE="${IUSE} linguas_${lang}"
+done
+
+src_unpack(){
+ kde_src_unpack
+ rm -f "${S}/configure"
+
+ local MAKE_PO=$(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d | tr '\n' ' ')
+ elog "Enabling translations for: en ${MAKE_PO}"
+ sed -i -e "s:^SUBDIRS =.*:SUBDIRS = . ${MAKE_PO}:" "${S}/po/Makefile.am" || die "sed for locale failed"
+
+ if use doc; then
+ local MAKE_DOC=$(echo "${LINGUAS} ${LANGS_DOC}" | fmt -w 1 | sort | uniq -d | tr '\n' ' ')
+ elog "Enabling documentation for: en ${MAKE_DOC}"
+ sed -i -e "s:^SUBDIRS =.*:SUBDIRS = filelight ${MAKE_DOC}:" "${S}/doc/Makefile.am" || die "sed for locale (docs) failed"
+ fi
+}
diff --git a/kde-misc/filelight-i18n/files/digest-filelight-i18n-1.0 b/kde-misc/filelight-i18n/files/digest-filelight-i18n-1.0
new file mode 100644
index 000000000000..8aa1dbbf542e
--- /dev/null
+++ b/kde-misc/filelight-i18n/files/digest-filelight-i18n-1.0
@@ -0,0 +1,3 @@
+MD5 14b74c4e8095e5979cd9c02c6146ea0e filelight-1.0-i18n-20070422.tar.bz2 986141
+RMD160 e676c7c208123b2209514d3b9406540533103715 filelight-1.0-i18n-20070422.tar.bz2 986141
+SHA256 1c3b973b3dc70e08a83990a737afd15aa653029202270992940b2a23705f02fc filelight-1.0-i18n-20070422.tar.bz2 986141
diff --git a/kde-misc/filelight-i18n/metadata.xml b/kde-misc/filelight-i18n/metadata.xml
new file mode 100644
index 000000000000..8d1e86a9cefb
--- /dev/null
+++ b/kde-misc/filelight-i18n/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+</pkgmetadata>