summaryrefslogtreecommitdiffstats
path: root/trinity-base/kmilo
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-11-28 02:34:44 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-11-28 02:34:44 +0100
commit644110a847c5911c2eb04eb53c93031740561efc (patch)
tree9658dde1cc70b52b233957b7852f87d997e98156 /trinity-base/kmilo
downloadtde-packaging-gentoo-644110a847c5911c2eb04eb53c93031740561efc.tar.gz
tde-packaging-gentoo-644110a847c5911c2eb04eb53c93031740561efc.zip
Initial import of an ebuilds tree
from Fat-Zer's (Alexander Golubev) repository. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'trinity-base/kmilo')
-rw-r--r--trinity-base/kmilo/Manifest2
-rw-r--r--trinity-base/kmilo/files/kdeutils-3.5.13.1-kmilo-fix-powerbook.patch67
l---------trinity-base/kmilo/files/shared1
-rw-r--r--trinity-base/kmilo/kmilo-3.5.13.1.ebuild30
-rw-r--r--trinity-base/kmilo/kmilo-3.5.13.2.ebuild28
-rw-r--r--trinity-base/kmilo/kmilo-9999.ebuild28
-rw-r--r--trinity-base/kmilo/metadata.xml24
7 files changed, 180 insertions, 0 deletions
diff --git a/trinity-base/kmilo/Manifest b/trinity-base/kmilo/Manifest
new file mode 100644
index 00000000..c59ac62b
--- /dev/null
+++ b/trinity-base/kmilo/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/trinity-base/kmilo/files/kdeutils-3.5.13.1-kmilo-fix-powerbook.patch b/trinity-base/kmilo/files/kdeutils-3.5.13.1-kmilo-fix-powerbook.patch
new file mode 100644
index 00000000..f5830b6b
--- /dev/null
+++ b/trinity-base/kmilo/files/kdeutils-3.5.13.1-kmilo-fix-powerbook.patch
@@ -0,0 +1,67 @@
+diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
+index 14828bc..2766533 100644
+--- a/ConfigureChecks.cmake
++++ b/ConfigureChecks.cmake
+@@ -117,24 +117,21 @@ endif( )
+
+ ##### kmilo #####################################
+
+-if ( BUILD_KMILO )
++if( BUILD_KMILO )
+ # FIXME: If anybody will ever compile trinity for POWERPC and especialy for
+-# POWERBOOK he should test those checks and modules
+- if( WITH_POWERBOOK )
++# POWERBOOK he or she should test workability of those modules
++ if( WITH_POWERBOOK OR WITH_POWERBOOK2 )
++ check_library_exists( "pbb" "init_libpbb" "" HAVE_PBBIPC_LIBRARY )
+ check_include_file( "pbbipc.h" HAVE_PBBIPC_H )
+- if( NOT HAVE_PBBIPC_H )
+- tde_message_fatal( "pbbipc.h header is required, but was not found on your system" )
+- endif( NOT HAVE_PBBIPC_H )
+- endif( WITH_POWERBOOK )
+-
+- if( WITH_POWERBOOK2 )
+ check_include_file( "pbb.h" HAVE_PBB_H )
+- if( NOT HAVE_PBB_H )
+- tde_message_fatal( "pbb.h header is required, but was not found on your system" )
+- endif( NOT HAVE_PBB_H )
+- endif( WITH_POWERBOOK2 )
+-
+-endif (BUILD_KMILO)
++ if( HAVE_PBBIPC_LIBRARY AND ( ( WITH_POWERBOOK AND HAVE_PBBIPC_H ) OR
++ ( WITH_POWERBOOK2 AND HAVE_PBB_H ) ) )
++ set( PBB_LIBRARY pbb CACHE INTERNAL "" )
++ else()
++ tde_message_fatal( "suitable pbbuttonosd is required, but was not found on your system" )
++ endif()
++ endif( WITH_POWERBOOK OR WITH_POWERBOOK2 )
++endif( BUILD_KMILO )
+
+
+ ##### ksim ######################################
+diff --git a/kmilo/powerbook/CMakeLists.txt b/kmilo/powerbook/CMakeLists.txt
+index 461d2d2..bb98b70 100644
+--- a/kmilo/powerbook/CMakeLists.txt
++++ b/kmilo/powerbook/CMakeLists.txt
+@@ -28,7 +28,7 @@ link_directories(
+
+ tde_add_kpart( kmilo_powerbook AUTOMOC
+ SOURCES pb_monitor.cpp
+- LINK kio-shared kmilo-shared
++ LINK kio-shared kmilo-shared ${PBB_LIBRARY}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+
+diff --git a/kmilo/powerbook2/CMakeLists.txt b/kmilo/powerbook2/CMakeLists.txt
+index 461d2d2..bb98b70 100644
+--- a/kmilo/powerbook2/CMakeLists.txt
++++ b/kmilo/powerbook2/CMakeLists.txt
+@@ -28,7 +28,7 @@ link_directories(
+
+ tde_add_kpart( kmilo_powerbook AUTOMOC
+ SOURCES pb_monitor.cpp
+- LINK kio-shared kmilo-shared
++ LINK kio-shared kmilo-shared ${PBB_LIBRARY}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+
diff --git a/trinity-base/kmilo/files/shared b/trinity-base/kmilo/files/shared
new file mode 120000
index 00000000..af62be31
--- /dev/null
+++ b/trinity-base/kmilo/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/trinity-base/kmilo/kmilo-3.5.13.1.ebuild b/trinity-base/kmilo/kmilo-3.5.13.1.ebuild
new file mode 100644
index 00000000..64fd8d86
--- /dev/null
+++ b/trinity-base/kmilo/kmilo-3.5.13.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="kded module supports some hardware input devices, such as special keys"
+KEYWORDS="x86 amd64"
+IUSE="asus-laptop dell-laptop powerbook-laptop thinkpad-laptop vaio-laptop lm_sensors"
+
+DEPEND="powerbook-laptop? ( app-laptop/pbbuttonsd )"
+RDEPEND="${DEPEND}
+ lm_sensors? ( sys-apps/lm_sensors )"
+
+PATCHES=( "$FILESDIR/${TRINITY_MODULE_NAME}-${PV}-${PN}-fix-powerbook.patch" )
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with asus-laptop ASUS)
+ $(cmake-utils_use_with dell-laptop I8K)
+ $(cmake-utils_use_with powerbook-laptop POWERBOOK2)
+ $(cmake-utils_use_with thinkpad-laptop THINKPAD)
+ $(cmake-utils_use_with vaio-laptop VAIO)
+ $(cmake-utils_use_with lm_sensors SENSORS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/trinity-base/kmilo/kmilo-3.5.13.2.ebuild b/trinity-base/kmilo/kmilo-3.5.13.2.ebuild
new file mode 100644
index 00000000..99b580f8
--- /dev/null
+++ b/trinity-base/kmilo/kmilo-3.5.13.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="kded module supports some hardware input devices, such as special keys"
+KEYWORDS="~x86 ~amd64"
+IUSE="asus-laptop dell-laptop powerbook-laptop thinkpad-laptop vaio-laptop lm_sensors"
+
+DEPEND="powerbook-laptop? ( app-laptop/pbbuttonsd )"
+RDEPEND="${DEPEND}
+ lm_sensors? ( sys-apps/lm_sensors )"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with asus-laptop ASUS)
+ $(cmake-utils_use_with dell-laptop I8K)
+ $(cmake-utils_use_with powerbook-laptop POWERBOOK2)
+ $(cmake-utils_use_with thinkpad-laptop THINKPAD)
+ $(cmake-utils_use_with vaio-laptop VAIO)
+ $(cmake-utils_use_with lm_sensors SENSORS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/trinity-base/kmilo/kmilo-9999.ebuild b/trinity-base/kmilo/kmilo-9999.ebuild
new file mode 100644
index 00000000..5920cd6c
--- /dev/null
+++ b/trinity-base/kmilo/kmilo-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="kded module supports some hardware input devices, such as special keys"
+KEYWORDS=""
+IUSE="asus-laptop dell-laptop powerbook-laptop thinkpad-laptop vaio-laptop lm_sensors"
+
+DEPEND="powerbook-laptop? ( app-laptop/pbbuttonsd )"
+RDEPEND="${DEPEND}
+ lm_sensors? ( sys-apps/lm_sensors )"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with asus-laptop ASUS)
+ $(cmake-utils_use_with dell-laptop I8K)
+ $(cmake-utils_use_with powerbook-laptop POWERBOOK2)
+ $(cmake-utils_use_with thinkpad-laptop THINKPAD)
+ $(cmake-utils_use_with vaio-laptop VAIO)
+ $(cmake-utils_use_with lm_sensors SENSORS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/trinity-base/kmilo/metadata.xml b/trinity-base/kmilo/metadata.xml
new file mode 100644
index 00000000..94299758
--- /dev/null
+++ b/trinity-base/kmilo/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="asus-laptop">Adds support for some asus-specific laptop hardware.</flag>
+ <flag name="dell-laptop">Adds support for some dell-specific laptop hardware.</flag>
+ <flag name="powerbook-laptop">Adds support for some powerbook-specific laptop hardware.</flag>
+ <flag name="thinkpad-laptop">Adds support for some thinkpad-specific laptop hardware.</flag>
+ <flag name="vaio-laptop">Adds support for some vaio-specific laptop hardware.</flag>
+ </use>
+ <longdescription>
+ This is a kded module that can be extended to support various types of hardware
+ input devices that exist, such as those on keyboards.
+
+ The output device is skinnable, though not extensible by 3rd parties currently.
+ This will come in the future when the API is finalised.
+
+ It lacks very much functionality.
+ </longdescription>
+</pkgmetadata>