From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/printer-applet/
Date: Thu, 26 May 2011 01:15:05 +0000 (UTC) [thread overview]
Message-ID: <a4ce6db16cd6c0b51e1952565a3d3586b1bf816c.jmbsvicetto@gentoo> (raw)
commit: a4ce6db16cd6c0b51e1952565a3d3586b1bf816c
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 23:53:55 2011 +0000
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Thu May 26 01:08:47 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=a4ce6db1
[kde-base/printer-applet] 4.6.80 version bump.
(Portage version: 2.2.0_alpha35/git/Linux x86_64, signed Manifest commit with key BB0E6E98)
---
.../printer-applet/printer-applet-4.6.80.ebuild | 46 ++++++++++++++++++++
1 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/kde-base/printer-applet/printer-applet-4.6.80.ebuild b/kde-base/printer-applet/printer-applet-4.6.80.ebuild
new file mode 100644
index 0000000..3765abc
--- /dev/null
+++ b/kde-base/printer-applet/printer-applet-4.6.80.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+KDE_HANDBOOK="optional"
+KMNAME="kdeutils"
+PYTHON_DEPEND="2"
+inherit python kde4-meta
+
+DESCRIPTION="KDE printer system tray utility"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="
+ >=app-admin/system-config-printer-common-1.2.2
+ $(add_kdebase_dep pykde4)
+"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ kde4-meta_pkg_setup
+ python_set_active_version 2
+}
+
+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"
+}
+
+src_install() {
+ kde4-meta_src_install
+ python_convert_shebangs -q -r $(python_get_version) "${ED}"
+}
+
+pkg_postrm() {
+ python_mod_cleanup "${PREFIX}share/apps/${PN}"
+}
next reply other threads:[~2011-05-26 1:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-26 1:15 Jorge Manuel B. S. Vicetto [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-04-20 22:53 [gentoo-commits] proj/kde:master commit in: kde-base/printer-applet/ Johannes Huber
2012-09-20 12:52 Johannes Huber
2011-10-25 20:26 Alexey Shvetsov
2011-10-06 0:26 Maciej Mrozowski
2011-09-07 0:02 Andreas Hüttel
2011-08-20 23:34 Marc Schiffbauer
2011-05-18 14:16 Dimitris Papapoulios
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a4ce6db16cd6c0b51e1952565a3d3586b1bf816c.jmbsvicetto@gentoo \
--to=jmbsvicetto@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox