diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2007-12-22 21:16:06 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2007-12-22 21:16:06 +0000 |
commit | b2fdcc1c132887b9dd52c1e6ded46fe214091807 (patch) | |
tree | 6a4800d7460dfe1bf141e2ed6d50673ba5f18c2a /kde-base | |
parent | Do not install kmrml as its runtime requirements are not met and apparently ... (diff) | |
download | gentoo-2-b2fdcc1c132887b9dd52c1e6ded46fe214091807.tar.gz gentoo-2-b2fdcc1c132887b9dd52c1e6ded46fe214091807.tar.bz2 gentoo-2-b2fdcc1c132887b9dd52c1e6ded46fe214091807.zip |
Make joystock control applet installation optional. Don't install soundserver control applet, when building without aRts.
(Portage version: 2.1.3.19)
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/kcontrol/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/kcontrol/files/digest-kcontrol-3.5.8-r1 | 6 | ||||
-rw-r--r-- | kde-base/kcontrol/kcontrol-3.5.8-r1.ebuild | 82 |
3 files changed, 95 insertions, 1 deletions
diff --git a/kde-base/kcontrol/ChangeLog b/kde-base/kcontrol/ChangeLog index 25b3ae5eb5d9..e0e354e23d7e 100644 --- a/kde-base/kcontrol/ChangeLog +++ b/kde-base/kcontrol/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for kde-base/kcontrol # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kcontrol/ChangeLog,v 1.95 2007/10/19 22:04:09 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kcontrol/ChangeLog,v 1.96 2007/12/22 21:16:05 carlo Exp $ + +*kcontrol-3.5.8-r1 (22 Dec 2007) + + 22 Dec 2007; Carsten Lohrke <carlo@gentoo.org> +kcontrol-3.5.8-r1.ebuild: + Make joystock control applet installation optional. Don't install + soundserver control applet, when building without aRts. *kcontrol-3.5.8 (19 Oct 2007) diff --git a/kde-base/kcontrol/files/digest-kcontrol-3.5.8-r1 b/kde-base/kcontrol/files/digest-kcontrol-3.5.8-r1 new file mode 100644 index 000000000000..f001f0d62458 --- /dev/null +++ b/kde-base/kcontrol/files/digest-kcontrol-3.5.8-r1 @@ -0,0 +1,6 @@ +MD5 f6f2574fc332dd1123144bb6a00e5e26 kdebase-3.5-patchset-06.tar.bz2 19825 +RMD160 ab7358b635e912ed9912cb95e48e3187064abae7 kdebase-3.5-patchset-06.tar.bz2 19825 +SHA256 c9ab23f648f84ebc66054f4db48685cbed3d99e9c87fa3df2c0d8a282b9a2394 kdebase-3.5-patchset-06.tar.bz2 19825 +MD5 9990c669229daaaa8fca4c5e354441fd kdebase-3.5.8.tar.bz2 24200172 +RMD160 6441b5eaead5fff5c42c532fb11c0d37001cb6ea kdebase-3.5.8.tar.bz2 24200172 +SHA256 0f1876d1c68f01ed8fee346c1bae4f53dd2c1dc56db94e309b3d1adfc6138493 kdebase-3.5.8.tar.bz2 24200172 diff --git a/kde-base/kcontrol/kcontrol-3.5.8-r1.ebuild b/kde-base/kcontrol/kcontrol-3.5.8-r1.ebuild new file mode 100644 index 000000000000..67f1faa3aa6b --- /dev/null +++ b/kde-base/kcontrol/kcontrol-3.5.8-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kcontrol/kcontrol-3.5.8-r1.ebuild,v 1.1 2007/12/22 21:16:05 carlo Exp $ + +KMNAME=kdebase +MAXKDEVER=$PV +KM_DEPRANGE="$PV $MAXKDEVER" +inherit kde-meta eutils + +SRC_URI="${SRC_URI} + mirror://gentoo/kdebase-3.5-patchset-06.tar.bz2" + +DESCRIPTION="The KDE Control Center" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="arts ieee1394 joystick logitech-mouse opengl kdehiddenvisibility" + +DEPEND=">=media-libs/freetype-2 + media-libs/fontconfig + dev-libs/openssl + arts? ( $(deprange 3.5.5 $MAXKDEVER kde-base/arts) ) + opengl? ( virtual/opengl ) + ieee1394? ( sys-libs/libraw1394 ) + logitech-mouse? ( >=dev-libs/libusb-0.1.10a )" + +RDEPEND="${DEPEND} + sys-apps/usbutils + $(deprange 3.5.6 $MAXKDEVER kde-base/kcminit) + $(deprange $PV $MAXKDEVER kde-base/kdebase-data) + $(deprange 3.5.7-r1 $MAXKDEVER kde-base/kdesu) + $(deprange $PV $MAXKDEVER kde-base/khelpcenter) + $(deprange $PV $MAXKDEVER kde-base/khotkeys) + $(deprange $PV $MAXKDEVER kde-base/libkonq) + $(deprange $PV $MAXKDEVER kde-base/kicker)" + +KMEXTRACTONLY="kwin/kwinbindings.cpp + kicker/kicker/core/kickerbindings.cpp + kicker/taskbar/taskbarbindings.cpp + kdesktop/kdesktopbindings.cpp + klipper/klipperbindings.cpp + kxkb/kxkbbindings.cpp + kicker/taskmanager" + +KMEXTRA="doc/kinfocenter" +KMCOMPILEONLY="kicker/libkicker + kicker/taskbar" +KMCOPYLIB="libkonq libkonq + libkicker kicker/libkicker + libtaskbar kicker/taskbar + libtaskmanager kicker/taskmanager" + +src_unpack() { + kde-meta_src_unpack unpack + + if ! use joystick ; then + sed -e 's:$(JOYSTICK_SUBDIR)::' \ + -e 's:kthememanager \\:kthememanager:' \ + -i "${S}/kcontrol/Makefile.am" \ + || die "sed failed" + fi + if ! use arts ; then + sed -e 's:arts::' \ + -i "${S}/kcontrol/Makefile.am" \ + || die "sed failed" + fi + + kde-meta_src_unpack makefiles +} + +src_compile() { + myconf="$myconf --with-ssl $(use_with arts) $(use_with opengl gl) + $(use_with ieee1394 libraw1394) $(use_with logitech-mouse libusb) + --with-usbids=/usr/share/misc/usb.ids" + kde-meta_src_compile +} + +src_install() { + kde-meta_src_install + + # Fix an obscure desktop file that only gets generated during the install phase. + sed -i -e '$d' "${D}/usr/kde/3.5/share/applications/kde/panel_appearance.desktop" + sed -i -e 's:Name=panel_appearance::' "${D}/usr/kde/3.5/share/applications/kde/panel_appearance.desktop" +} |