Skip to content

Commit

Permalink
kde-misc/wacomtablet: Add Plasma:5 version. Does it build? It builds!
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.28
  • Loading branch information
akhuettel committed Apr 20, 2016
1 parent 3326d01 commit 5ea1dd7
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 0 deletions.
1 change: 1 addition & 0 deletions kde-misc/wacomtablet/Manifest
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions kde-misc/wacomtablet/files/wacomtablet-3.0.0_beta1-ecm.patch
Original file line number Diff line number Diff line change
@@ -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 )
58 changes: 58 additions & 0 deletions kde-misc/wacomtablet/wacomtablet-3.0.0_beta1.ebuild
Original file line number Diff line number Diff line change
@@ -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" )

0 comments on commit 5ea1dd7

Please sign in to comment.