aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDror Levin <spatz@psybear.com>2009-05-30 19:45:35 +0300
committerDror Levin <spatz@psybear.com>2009-05-30 19:47:09 +0300
commitff724254f76303c89d8523193bba3eb796e458e0 (patch)
treee7866b2b0a3bb4b0746855dde2851f2a329d15fc /app-arch
parentPyQt4/sip/qscintilla/qscintilla-python: Automatic Version bump, remove old (diff)
downloadqt-ff724254f76303c89d8523193bba3eb796e458e0.tar.gz
qt-ff724254f76303c89d8523193bba3eb796e458e0.tar.bz2
qt-ff724254f76303c89d8523193bba3eb796e458e0.zip
q7z: added menu entry, revbump
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/q7z/ChangeLog6
-rw-r--r--app-arch/q7z/Manifest4
-rw-r--r--app-arch/q7z/q7z-0.8.0-r1.ebuild (renamed from app-arch/q7z/q7z-0.8.0.ebuild)26
3 files changed, 28 insertions, 8 deletions
diff --git a/app-arch/q7z/ChangeLog b/app-arch/q7z/ChangeLog
index 88f10171..735a4911 100644
--- a/app-arch/q7z/ChangeLog
+++ b/app-arch/q7z/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*q7z-0.8.0-r1 (30 May 2009)
+
+ 30 May 2009; Dror Levin <spatz@gentoo.org> -q7z-0.8.0.ebuild,
+ +q7z-0.8.0-r1.ebuild:
+ Added menu entry, revbump.
+
*q7z-0.8.0 (30 May 2009)
30 May 2009; Dror Levin <spatz@gentoo.org>
diff --git a/app-arch/q7z/Manifest b/app-arch/q7z/Manifest
index 0da2cf0e..80304f76 100644
--- a/app-arch/q7z/Manifest
+++ b/app-arch/q7z/Manifest
@@ -3,6 +3,6 @@ AUX 0.8.0-fix_imports.patch 532 RMD160 f29f4e82d7a95670eb7acf98b2a6efe4f90ad7a4
AUX 0.8.0-fix_paths.patch 2283 RMD160 ea4e7a361298165decae8beb213f70c5770e1a49 SHA1 7404ad156993a5cec5d5cb2e5dff9813f423b984 SHA256 a6e04c18c57249367d5ea4fd7f1adcbb83c1f018fb250b3ab2c24a67165e5834
AUX 0.8.0-init.py 1 RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 SHA1 adc83b19e793491b1c6ea0fd8b46cd9f32e592fc SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
DIST Q7Z-0.8.0.tar.bz2 177144 RMD160 63b4506a832e45cc98c2d041b5f9a26dce4aed18 SHA1 632a68d50b9ec9d1e1b2b796d0c812bd14dec609 SHA256 3dd799028b4eac2d6d2654d52824363b1c1e814c8cbf0a764d29b948cf8a6678
-EBUILD q7z-0.8.0.ebuild 1168 RMD160 50b4677fb6374be35e4057acfcd83f9753c34e75 SHA1 dbc761be4a687667a8f7217e01cd9e841afbeb82 SHA256 33019d7468ee23a399b24dcaaebebcd5d3a316a4000a06eea356b11f0f538c7b
-MISC ChangeLog 460 RMD160 14927002447ca0b5d8d07b65048d38556e35b9e6 SHA1 a8e766d99f7e14330727fb07b6dacbf2b6819c95 SHA256 548f2957e00deb60b1ecaf865e21cb740a6bf21104545ccb2dba6c68d83760d6
+EBUILD q7z-0.8.0-r1.ebuild 1697 RMD160 f49271be829f6b0aa90b14a0b201cb4a5ff29093 SHA1 8d2ec0b5bfb3ee9bcef68c3aba883636e3f4a765 SHA256 ac31051a711256d2abb01280f49bac6fd9e74cf60c6dd59d6cc3765928064119
+MISC ChangeLog 607 RMD160 dbfce5751bafb3e79905895c5e77e1dfb735ba50 SHA1 4e6120cbbdf0f524768b915c3349b1d64e8919ef SHA256 9fedbaa3019e82af1fa6f76e115a0dd03fc2981a94c690cd2df4932ad0a7276f
MISC metadata.xml 156 RMD160 2c307fe3d7f514f10f158344b51114121632f411 SHA1 1b61305bd125f03b40ed85c17989140608e1efee SHA256 2bc85ad7339ae0191c26e435f2da777058779a7ebf73d14658a6ea7bfcec01b2
diff --git a/app-arch/q7z/q7z-0.8.0.ebuild b/app-arch/q7z/q7z-0.8.0-r1.ebuild
index 409f8233..606ed5bf 100644
--- a/app-arch/q7z/q7z-0.8.0.ebuild
+++ b/app-arch/q7z/q7z-0.8.0-r1.ebuild
@@ -28,10 +28,19 @@ S="${WORKDIR}/${MY_PN}/Build"
src_prepare() {
cd ..
+
+ # fix paths used at runtime
epatch "${FILESDIR}/${PV}-fix_paths.patch"
+ # remove '-r' flag from 7z as it's not supposed to be used
epatch "${FILESDIR}/${PV}-fix_7z_flags.patch"
+ # fix imports to reference the q7z package
epatch "${FILESDIR}/${PV}-fix_imports.patch"
+ # patch menu entry to have correct name
+ mv "Desktop/Menu/${MY_PN}.desktop" "Desktop/Menu/${PN}.desktop"
+ sed -i "s/${MY_PN}/${PN}/" "Desktop/Menu/${PN}.desktop" \
+ || die "sed failed"
+
cd Source
mv "${MY_PN}.pyw" "${PN}.pyw"
}
@@ -42,16 +51,21 @@ src_install() {
cd ..
insinto "$(python_get_sitedir)/${PN}"
- doins Source/*.py
- newins "${FILESDIR}/${PV}-init.py" __init__.py
+ doins Source/*.py || die
+ newins "${FILESDIR}/${PV}-init.py" __init__.py || die
insinto "/usr/share/${PN}/Options"
- doins Options/*
+ doins Options/* || die
insinto "/usr/share/${PN}/Profiles"
- doins Desktop/Profiles/*
+ doins Desktop/Profiles/* || die
+
+ dobin "Source/${PN}.pyw" || die
+ dosym "/usr/bin/${PN}.pyw" "/usr/bin/${PN}" || die
- dobin "Source/${PN}.pyw"
- dosym "/usr/bin/${PN}.pyw" "/usr/bin/${PN}"
+ # install menu entry
+ insinto /usr/share/icons/hicolor/32x32/apps
+ newins "Image/apps/${MY_PN}.png" "${PN}.png" || die
+ domenu "Desktop/Menu/${PN}.desktop" || die
}
pkg_postinst() {