summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2007-12-04 17:32:28 +0000
committerJim Ramsay <lack@gentoo.org>2007-12-04 17:32:28 +0000
commit22eb67cff3b512e84cd665e01d870ed6b6992922 (patch)
tree8cbc7a7ccd520ecffce7af4d415533065ac81195 /rox-base
parentStable on ppc wrt bug 200337 (diff)
downloadgentoo-2-22eb67cff3b512e84cd665e01d870ed6b6992922.tar.gz
gentoo-2-22eb67cff3b512e84cd665e01d870ed6b6992922.tar.bz2
gentoo-2-22eb67cff3b512e84cd665e01d870ed6b6992922.zip
Updated to install 0install native feed with new rox-0install eclass
(Portage version: 2.1.3.19)
Diffstat (limited to 'rox-base')
-rw-r--r--rox-base/rox-lib/ChangeLog7
-rw-r--r--rox-base/rox-lib/files/digest-rox-lib-2.0.4-r13
-rw-r--r--rox-base/rox-lib/rox-lib-2.0.4-r1.ebuild47
3 files changed, 56 insertions, 1 deletions
diff --git a/rox-base/rox-lib/ChangeLog b/rox-base/rox-lib/ChangeLog
index 46181bb5318c..d6dfd887fbde 100644
--- a/rox-base/rox-lib/ChangeLog
+++ b/rox-base/rox-lib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for rox-base/rox-lib
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/ChangeLog,v 1.20 2007/11/29 16:14:38 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/ChangeLog,v 1.21 2007/12/04 17:32:27 lack Exp $
+
+*rox-lib-2.0.4-r1 (04 Dec 2007)
+
+ 04 Dec 2007; Jim Ramsay <lack@gentoo.org> +rox-lib-2.0.4-r1.ebuild:
+ Updated to install 0install native feed for the new rox-0install eclass
29 Nov 2007; Jim Ramsay <lack@gentoo.org> -rox-lib-2.0.3-r1.ebuild,
-rox-lib-2.0.3-r2.ebuild, -rox-lib-2.0.3-r3.ebuild:
diff --git a/rox-base/rox-lib/files/digest-rox-lib-2.0.4-r1 b/rox-base/rox-lib/files/digest-rox-lib-2.0.4-r1
new file mode 100644
index 000000000000..d005a2148824
--- /dev/null
+++ b/rox-base/rox-lib/files/digest-rox-lib-2.0.4-r1
@@ -0,0 +1,3 @@
+MD5 2ba67e895b512f779930738afd3f20a1 rox-lib2-2.0.4.tar.bz2 139299
+RMD160 5c4fbb6d7980db5debcaff677749e34c39a83fbc rox-lib2-2.0.4.tar.bz2 139299
+SHA256 a7234531f972cf6f90be9076178e47324a952332ae2e6db4b475a7528abdf28e rox-lib2-2.0.4.tar.bz2 139299
diff --git a/rox-base/rox-lib/rox-lib-2.0.4-r1.ebuild b/rox-base/rox-lib/rox-lib-2.0.4-r1.ebuild
new file mode 100644
index 000000000000..844688296fdd
--- /dev/null
+++ b/rox-base/rox-lib/rox-lib-2.0.4-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/rox-lib-2.0.4-r1.ebuild,v 1.1 2007/12/04 17:32:27 lack Exp $
+
+NEED_PYTHON="2.3"
+inherit python eutils multilib
+
+MY_PN="rox-lib2"
+DESCRIPTION="ROX-Lib2 - Shared code for ROX applications by Thomas Leonard"
+HOMEPAGE="http://rox.sourceforge.net/desktop/ROX-Lib"
+SRC_URI="mirror://sourceforge/rox/${MY_PN}-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=rox-base/rox-2.2.0
+ >=dev-python/pygtk-2.8.2"
+
+DEPEND="rox-base/zeroinstall-injector"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_install() {
+ local baselibdir="/usr/$(get_libdir)"
+ local NATIVE_FEED_DIR="/usr/share/0install.net/native_feeds"
+ local ICON_CACHE_DIR="/var/cache/0install.net/interface_icons"
+
+ dodir "${baselibdir}"
+ cp -r ROX-Lib2/ "${D}${baselibdir}"
+ python_mod_optimize "${D}${baselibdir}/ROX-Lib2/" >/dev/null 2>&1
+ dodir /usr/share/doc/
+ dosym "${baselibdir}/ROX-Lib2/Help" "/usr/share/doc/${P}"
+
+ 0distutils ROX-Lib2/ROX-Lib2.xml > tmp.native_feed || die "0distutilss feed edit failed"
+ insinto "${baselibdir}/ROX-Lib2/"
+ newins tmp.native_feed ROX-Lib2.xml
+
+ local feedname
+ feedname=$(0distutils -e tmp.native_feed) || "0distutils URI escape failed"
+ dosym "${baselibdir}/ROX-Lib2/ROX-Lib2.xml" "${NATIVE_FEED_DIR}/${feedname}"
+
+ local cachedname
+ cachedname=$(0distutils -c tmp.native_feed) || "0distutils URI escape failed"
+ dosym "${baselibdir}/ROX-Lib2/.DirIcon" "${ICON_CACHE_DIR}/${cachedname}"
+}