summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2008-04-21 21:15:02 +0000
committerWulf Krueger <philantrop@gentoo.org>2008-04-21 21:15:02 +0000
commitb5e4349c086af5913fa69b9e68ce3ad331dc59a9 (patch)
tree5b0f2bb3ba1030cb17fce4c27ac23ad3723558e6 /kde-misc/kdissert/kdissert-1.0.7.ebuild
parent2.1.5_rc6 bump. The metadata-transfer feature is now disabled by default. (diff)
downloadhistorical-b5e4349c086af5913fa69b9e68ce3ad331dc59a9.tar.gz
historical-b5e4349c086af5913fa69b9e68ce3ad331dc59a9.tar.bz2
historical-b5e4349c086af5913fa69b9e68ce3ad331dc59a9.zip
Added a patch for gcc 4.3 compatibility as kindly provided by Marek Vavrusa on bug 217553. Minor QA fixes.
Package-Manager: portage-2.1.5_rc5
Diffstat (limited to 'kde-misc/kdissert/kdissert-1.0.7.ebuild')
-rw-r--r--kde-misc/kdissert/kdissert-1.0.7.ebuild21
1 files changed, 16 insertions, 5 deletions
diff --git a/kde-misc/kdissert/kdissert-1.0.7.ebuild b/kde-misc/kdissert/kdissert-1.0.7.ebuild
index fe85c13f9ab2..a2ca10b746a0 100644
--- a/kde-misc/kdissert/kdissert-1.0.7.ebuild
+++ b/kde-misc/kdissert/kdissert-1.0.7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdissert/kdissert-1.0.7.ebuild,v 1.6 2007/04/24 08:13:09 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdissert/kdissert-1.0.7.ebuild,v 1.7 2008/04/21 21:15:02 philantrop Exp $
inherit kde
@@ -19,9 +19,20 @@ need-kde 3.5
#LANGS="bg br cs da de el es fr ga gl it ka nl pl pt_BR pt ru sv tr"
+src_unpack() {
+ kde_src_unpack
+
+ # Fixes bug 217553.
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+
+ # Fix the desktop file.
+ sed -i -e "s:\(MimeType=.*\):\1;:" "${S}"/src/appdata/kdissert.desktop
+ sed -i -e "/Categories/s:QT:Qt:" "${S}"/src/appdata/kdissert.desktop
+}
+
src_compile() {
- [ -d "$QTDIR/etc/settings" ] && addwrite "$QTDIR/etc/settings"
- addpredict "$QTDIR/etc/settings"
+ [[ -d ${QTDIR}/etc/settings ]] && addwrite "${QTDIR}/etc/settings"
+ addpredict "${QTDIR}/etc/settings"
local myconf="--kdeincludes=$(kde-config --prefix)/include --prefix=/usr "
use amd64 && myconf="${myconf} --libsuffix=64"
@@ -32,5 +43,5 @@ src_compile() {
src_install() {
./waf --destdir="${D}" install
- dodoc AUTHORS COPYING INSTALL README ROADMAP
+ dodoc AUTHORS INSTALL README ROADMAP || die "installing docs failed"
}