diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-08-27 12:48:09 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-08-27 12:48:09 +0000 |
commit | 7c6471ec5838bf1e073b1e5d651b71f57f402f4d (patch) | |
tree | 29ced69ecf690a608934a82afdb0d9166c03b873 /kde-misc/kcm-grub2/kcm-grub2-0.5.0.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-7c6471ec5838bf1e073b1e5d651b71f57f402f4d.tar.gz gentoo-2-7c6471ec5838bf1e073b1e5d651b71f57f402f4d.tar.bz2 gentoo-2-7c6471ec5838bf1e073b1e5d651b71f57f402f4d.zip |
Add grub2 kcm module for in-kde configuration.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc/kcm-grub2/kcm-grub2-0.5.0.ebuild')
-rw-r--r-- | kde-misc/kcm-grub2/kcm-grub2-0.5.0.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/kde-misc/kcm-grub2/kcm-grub2-0.5.0.ebuild b/kde-misc/kcm-grub2/kcm-grub2-0.5.0.ebuild new file mode 100644 index 000000000000..9ed1a536ecaa --- /dev/null +++ b/kde-misc/kcm-grub2/kcm-grub2-0.5.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Sabayon Promotion +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/kcm-grub2/kcm-grub2-0.5.0.ebuild,v 1.1 2011/08/27 12:48:09 scarabeus Exp $ + +EAPI=4 + +KDE_MINIMAL="4.6" +KDE_LINGUAS="da de et hu nl pt pt_BR sv uk" +inherit kde4-base + +DESCRIPTION="KCModule for configuring the GRUB2 bootloader." +HOMEPAGE="http://kde-apps.org/content/show.php?content=139643" +SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-3" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="+hwinfo imagemagick packagekit" + +COMMON_DEPEND=" + $(add_kdebase_dep kdelibs) + hwinfo? ( sys-apps/hwinfo ) + imagemagick? ( media-gfx/imagemagick ) + packagekit? ( app-admin/packagekit-qt4 ) +" +DEPEND="${COMMON_DEPEND} + dev-util/automoc +" +RDEPEND="${COMMON_DEPEND} + $(add_kdebase_dep kcmshell) +" + +PATCHES=( + "${FILESDIR}"/${PN}-use-gentoo-grub-commands.patch +) + +src_configure() { + local mycmakeargs=( + "-DWITHQApt=OFF" + $(cmake-utils_use_with packagekit QPackageKit) + $(cmake-utils_use_with imagemagick ImageMagick) + $(cmake-utils_use_with hwinfo HD) + ) + cmake-utils_src_configure +} |