summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel <dilfridge@gentoo.org>2016-04-20 17:46:24 +0200
committerAndreas K. Huettel <dilfridge@gentoo.org>2016-04-20 17:47:25 +0200
commit5ea1dd7e97866f4915ab6120275a8ae08fd4c0fe (patch)
treecf0e0b079844cc5d5ad0987e4a0f80b467fd19c7 /kde-misc/wacomtablet
parentapp-admin/ansible: cleanup of bad line (diff)
downloadgentoo-5ea1dd7e97866f4915ab6120275a8ae08fd4c0fe.tar.gz
gentoo-5ea1dd7e97866f4915ab6120275a8ae08fd4c0fe.tar.bz2
gentoo-5ea1dd7e97866f4915ab6120275a8ae08fd4c0fe.zip
kde-misc/wacomtablet: Add Plasma:5 version. Does it build? It builds!
Package-Manager: portage-2.2.28
Diffstat (limited to 'kde-misc/wacomtablet')
-rw-r--r--kde-misc/wacomtablet/Manifest1
-rw-r--r--kde-misc/wacomtablet/files/wacomtablet-3.0.0_beta1-ecm.patch11
-rw-r--r--kde-misc/wacomtablet/wacomtablet-3.0.0_beta1.ebuild58
3 files changed, 70 insertions, 0 deletions
diff --git a/kde-misc/wacomtablet/Manifest b/kde-misc/wacomtablet/Manifest
index d9caebbfa65..c2d738523e3 100644
--- a/kde-misc/wacomtablet/Manifest
+++ b/kde-misc/wacomtablet/Manifest
@@ -1 +1,2 @@
DIST 114856-wacomtablet-2.1.0.tar.xz 657868 SHA256 1c4d0e9bf593b9ac99f0c2f1efae81b665cb07f5778486273ca1742f76b9c19e SHA512 fe8060120d63209bbe2adcb1c3f746086326f893ef1eaa879e0d0f843e9ba27fbbd3df5f9bf008dfc6e2dac0f1347ecc0b2bb46931646c82aaec9bfc6bc62a96 WHIRLPOOL f705be2dfe64a410f83e9acd1ec9b4f4cb58e24fbea2c3bbeadcae17dfb9bf58ce579b8040b002c2d4eb42b89e65a52f54c3c6a3fa77e8b29897a024bf7ade1b
+DIST 114856-wacomtablet-3.0.0~beta1.tar.xz 655684 SHA256 0bdb5c3f8dbd77010b4b6b37044aee33a8e026a5f31c8b6071b83ac4811cb9d6 SHA512 cf95cbd8f3489bf0d18acfec72ca964685060ae7c7a554b118f5086a46a1e97be67f674f1bf1db6ce15638fcdcfca5043e7438af09ced8acd9fb601c44f433fb WHIRLPOOL 13d5f72b307e6a154127912289af47d2eec077aa6f4602095b0a62eddb31a20991877312d6ed085e6047b1d491c655de3a9ace215ce23591666ca463045b5a84
diff --git a/kde-misc/wacomtablet/files/wacomtablet-3.0.0_beta1-ecm.patch b/kde-misc/wacomtablet/files/wacomtablet-3.0.0_beta1-ecm.patch
new file mode 100644
index 00000000000..dabb9037019
--- /dev/null
+++ b/kde-misc/wacomtablet/files/wacomtablet-3.0.0_beta1-ecm.patch
@@ -0,0 +1,11 @@
+diff -ruN wacomtablet-3.0.0~beta1.orig/CMakeLists.txt wacomtablet-3.0.0~beta1/CMakeLists.txt
+--- wacomtablet-3.0.0~beta1.orig/CMakeLists.txt 2015-10-28 18:53:01.000000000 +0100
++++ wacomtablet-3.0.0~beta1/CMakeLists.txt 2016-04-20 17:41:06.087315610 +0200
+@@ -66,5 +66,5 @@
+
+ feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
+
+-include(MacroOptionalAddSubdirectory)
+-macro_optional_add_subdirectory( po )
++include(ECMOptionalAddSubdirectory)
++ecm_optional_add_subdirectory( po )
diff --git a/kde-misc/wacomtablet/wacomtablet-3.0.0_beta1.ebuild b/kde-misc/wacomtablet/wacomtablet-3.0.0_beta1.ebuild
new file mode 100644
index 00000000000..62f40145d40
--- /dev/null
+++ b/kde-misc/wacomtablet/wacomtablet-3.0.0_beta1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+#EGIT_BRANCH="releng3.0"
+KDE_DOC_DIR="doc/user"
+KDE_HANDBOOK="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="KControl module for Wacom tablets"
+HOMEPAGE="http://kde-apps.org/content/show.php?action=content&content=114856"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+MY_PV=${PV/_/\~}
+MY_P=${PN}-${MY_PV}
+SRC_URI="http://kde-apps.org/CONTENT/content-files/114856-${MY_P}.tar.xz"
+
+S=${WORKDIR}/${MY_P}
+
+CDEPEND="
+ $(add_frameworks_dep extra-cmake-modules)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep kglobalaccel)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ $(add_frameworks_dep plasma)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtdeclarative)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtx11extras)
+ >=x11-drivers/xf86-input-wacom-0.20.0
+ x11-libs/libX11
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libxcb
+"
+DEPEND="${CDEPEND}
+ sys-devel/gettext
+ x11-proto/xproto
+"
+RDEPEND="${CDEPEND}
+ !kde-misc/wacomtablet:4
+"
+
+PATCHES=( "${FILESDIR}/${P}-ecm.patch" )