diff options
author | Andreas Hüttel <dilfridge@gentoo.org> | 2012-03-06 23:35:37 +0000 |
---|---|---|
committer | Andreas Hüttel <dilfridge@gentoo.org> | 2012-03-06 23:35:37 +0000 |
commit | 1eabee5424cb6b7feaebe52560d20f05e73e82c4 (patch) | |
tree | f0cdbe1f3e025f18ec8c0d13283c9223dba031ca /kde-base/printer-applet | |
parent | Add support for Prefix. bug #407193 (diff) | |
download | historical-1eabee5424cb6b7feaebe52560d20f05e73e82c4.tar.gz historical-1eabee5424cb6b7feaebe52560d20f05e73e82c4.tar.bz2 historical-1eabee5424cb6b7feaebe52560d20f05e73e82c4.zip |
Version bump KDE SC 4.8.1
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'kde-base/printer-applet')
-rw-r--r-- | kde-base/printer-applet/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/printer-applet/printer-applet-4.8.1.ebuild | 47 |
2 files changed, 54 insertions, 1 deletions
diff --git a/kde-base/printer-applet/ChangeLog b/kde-base/printer-applet/ChangeLog index 515c68f2913f..2772c5e6fc3c 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-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/printer-applet/ChangeLog,v 1.71 2012/02/21 12:52:26 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/printer-applet/ChangeLog,v 1.72 2012/03/06 23:35:27 dilfridge Exp $ + +*printer-applet-4.8.1 (06 Mar 2012) + + 06 Mar 2012; Andreas K. Huettel <dilfridge@gentoo.org> + +printer-applet-4.8.1.ebuild: + Version bump KDE SC 4.8.1 20 Feb 2012; Johannes Huber <johu@gentoo.org> -printer-applet-4.6.3.ebuild: Remove KDE SC 4.6.3 diff --git a/kde-base/printer-applet/printer-applet-4.8.1.ebuild b/kde-base/printer-applet/printer-applet-4.8.1.ebuild new file mode 100644 index 000000000000..5fe067cd9440 --- /dev/null +++ b/kde-base/printer-applet/printer-applet-4.8.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 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.8.1.ebuild,v 1.1 2012/03/06 23:35:27 dilfridge Exp $ + +EAPI=4 + +KDE_HANDBOOK="optional" +PYTHON_DEPEND="2" +KDE_SCM="git" +inherit python kde4-base + +DESCRIPTION="KDE printer system tray utility" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND=" + >=app-admin/system-config-printer-common-1.2.2 + $(add_kdebase_dep pykde4) +" +RDEPEND="${DEPEND}" + +pkg_setup() { + kde4-base_pkg_setup + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + kde4-base_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 CMakeLists.txt || die "failed to rename printer-applet executable" + sed -e "/Exec/s/printer-applet/${newname}/" \ + -i printer-applet.desktop || die "failed to patch .desktop file" +} + +src_install() { + kde4-base_src_install + python_convert_shebangs -q -r $(python_get_version) "${ED}" +} + +pkg_postrm() { + python_mod_cleanup "${PREFIX}share/apps/${PN}" +} |