summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-01-25 17:35:28 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-01-25 17:35:28 +0000
commitfb1f9a02410d0f8294f991ca5321022b6e46b4ab (patch)
treeb4081a92705eb67f7d1075f1d4b3ca207428bc6c /kde-base/printer-applet
parentVersion bump KDE 4.3.5 (diff)
downloadgentoo-2-fb1f9a02410d0f8294f991ca5321022b6e46b4ab.tar.gz
gentoo-2-fb1f9a02410d0f8294f991ca5321022b6e46b4ab.tar.bz2
gentoo-2-fb1f9a02410d0f8294f991ca5321022b6e46b4ab.zip
Version bump KDE 4.3.5
(Portage version: 2.2_rc61/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-base/printer-applet')
-rw-r--r--kde-base/printer-applet/ChangeLog10
-rw-r--r--kde-base/printer-applet/printer-applet-4.3.5.ebuild31
2 files changed, 39 insertions, 2 deletions
diff --git a/kde-base/printer-applet/ChangeLog b/kde-base/printer-applet/ChangeLog
index 687935daa6bf..5664e73c8bc8 100644
--- a/kde-base/printer-applet/ChangeLog
+++ b/kde-base/printer-applet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/printer-applet
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/printer-applet/ChangeLog,v 1.17 2009/12/10 23:52:30 scarabeus Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/printer-applet/ChangeLog,v 1.18 2010/01/25 17:35:28 scarabeus Exp $
+
+*printer-applet-4.3.5 (25 Jan 2010)
+
+ 25 Jan 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+ +printer-applet-4.3.5.ebuild:
+ Version bump
10 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org>
-printer-applet-4.3.1.ebuild:
diff --git a/kde-base/printer-applet/printer-applet-4.3.5.ebuild b/kde-base/printer-applet/printer-applet-4.3.5.ebuild
new file mode 100644
index 000000000000..6bd604d1a4cb
--- /dev/null
+++ b/kde-base/printer-applet/printer-applet-4.3.5.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/printer-applet/printer-applet-4.3.5.ebuild,v 1.1 2010/01/25 17:35:28 scarabeus Exp $
+
+EAPI="2"
+
+KMNAME="kdeutils"
+inherit kde4-meta
+
+DESCRIPTION="KDE printer system tray utility"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND="
+ >=app-admin/system-config-printer-common-1.1.12
+ app-misc/hal-cups-utils
+ $(add_kdebase_dep pykde4)
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ kde4-meta_src_prepare
+
+ # Rename printer-applet -> printer-applet-kde
+ local newname="printer-applet-kde"
+ sed -e "/PYKDE4_ADD_EXECUTABLE/s/ printer-applet[[:space:]]*)/ ${newname})/" \
+ -e "/install/s/)/ RENAME ${newname}.desktop)/" \
+ -i "${PN}"/CMakeLists.txt || die "failed to rename printer-applet executable"
+ sed -e "/Exec/s/printer-applet/${newname}/" \
+ -i "${PN}"/printer-applet.desktop || die "failed to patch .desktop file"
+}