kde-misc/ktoshiba: New package
authorJohannes Huber <johu@gentoo.org>
Wed, 27 Apr 2016 15:51:56 +0000 (17:51 +0200)
committerJohannes Huber <johu@gentoo.org>
Wed, 27 Apr 2016 15:52:03 +0000 (17:52 +0200)
Import from kde overlay. Initial ebuild by Joao Carreira
<jfmcarreira@gmail.com>, updates by me.

Package-Manager: portage-2.2.28

kde-misc/ktoshiba/Manifest [new file with mode: 0644]
kde-misc/ktoshiba/ktoshiba-5.2.ebuild [new file with mode: 0644]
kde-misc/ktoshiba/metadata.xml [new file with mode: 0644]

diff --git a/kde-misc/ktoshiba/Manifest b/kde-misc/ktoshiba/Manifest
new file mode 100644 (file)
index 0000000..9f22b78
--- /dev/null
@@ -0,0 +1 @@
+DIST ktoshiba-5.2.tar.xz 63344 SHA256 a53bc6883d0edc1e043048638ee106ab943cc30f3dda77f975dcaaeb03701241 SHA512 fa5d7a50fbbea67aa0d9a4ee85581aa1bdc4a768f8f0655285b1dc0006d603f6a13ce2f9a2ec5aa96454208ea839e1b6ac50b14b0e30c2e08275e98ea5bf2d5a WHIRLPOOL 62ffcf4058a082042a99dec74e21b7fe3a080d8af100dd1005815a4796c33ae8e727d94e94379974d01ef17d93b3d6fbe92cc1ad3e17a679ab67e6d1f1cacd66
diff --git a/kde-misc/ktoshiba/ktoshiba-5.2.ebuild b/kde-misc/ktoshiba/ktoshiba-5.2.ebuild
new file mode 100644 (file)
index 0000000..b9226a1
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Function key (FN) monitoring for Toshiba laptops"
+HOMEPAGE="http://ktoshiba.sourceforge.net/"
+SRC_URI="http://prdownloads.sourceforge.net/${PN}/${P}.tar.xz"
+LICENSE="GPL-2"
+
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+       $(add_frameworks_dep kauth)
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       net-libs/libmnl
+"
+
+DEPEND="${RDEPEND}
+       sys-devel/gettext
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DLIBMNL_INCLUDE_DIRS=/usr/include/libmnl
+       )
+       kde5_src_configure
+}
diff --git a/kde-misc/ktoshiba/metadata.xml b/kde-misc/ktoshiba/metadata.xml
new file mode 100644 (file)
index 0000000..2fdbf33
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="project">
+               <email>kde@gentoo.org</email>
+               <name>Gentoo KDE Project</name>
+       </maintainer>
+</pkgmetadata>