summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc/kcm-grub2/kcm-grub2-0.6.4-r1.ebuild')
-rw-r--r--kde-misc/kcm-grub2/kcm-grub2-0.6.4-r1.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/kde-misc/kcm-grub2/kcm-grub2-0.6.4-r1.ebuild b/kde-misc/kcm-grub2/kcm-grub2-0.6.4-r1.ebuild
new file mode 100644
index 00000000000..029d09c3d77
--- /dev/null
+++ b/kde-misc/kcm-grub2/kcm-grub2-0.6.4-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_LINGUAS="ca ca@valencia cs da de el es et fi fr ga gl hu it lt nl pa pl pt
+pt_BR ro ru sk sl sv uk tr zh_TW"
+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="4"
+IUSE="+hwinfo imagemagick packagekit"
+
+COMMON_DEPEND="
+ hwinfo? ( sys-apps/hwinfo )
+ imagemagick? ( media-gfx/imagemagick )
+ packagekit? ( app-admin/packagekit-qt4 )
+"
+DEPEND="${COMMON_DEPEND}
+ dev-util/automoc
+"
+RDEPEND="${COMMON_DEPEND}
+ $(add_kdeapps_dep kcmshell)
+"
+
+src_configure() {
+ local mycmakeargs=(
+ "-DWITHQApt=OFF"
+ "-DGRUB_INSTALL_EXE=/usr/sbin/grub2-install"
+ "-DGRUB_MKCONFIG_EXE=/usr/sbin/grub2-mkconfig"
+ "-DGRUB_PROBE_EXE=/usr/sbin/grub2-probe"
+ "-DGRUB_SET_DEFAULT_EXE=/usr/sbin/grub2-set-default"
+ "-DGRUB_MENU=/boot/grub/grub.cfg"
+ "-DGRUB_CONFIG=/etc/default/grub"
+ "-DGRUB_ENV=/boot/grub/grubenv"
+ "-DGRUB_MEMTEST=/etc/grub.d/39_memtest86+"
+ $(cmake-utils_use_with packagekit QPackageKit)
+ $(cmake-utils_use_with imagemagick ImageMagick)
+ $(cmake-utils_use_with hwinfo HD)
+ )
+ cmake-utils_src_configure
+}