diff options
Diffstat (limited to 'gentoo/trinity-base/ksim')
-rw-r--r-- | gentoo/trinity-base/ksim/Manifest | 2 | ||||
-rw-r--r-- | gentoo/trinity-base/ksim/files/fix_crash.patch | 44 | ||||
l--------- | gentoo/trinity-base/ksim/files/shared | 1 | ||||
-rw-r--r-- | gentoo/trinity-base/ksim/ksim-3.5.13.1.ebuild | 27 | ||||
-rw-r--r-- | gentoo/trinity-base/ksim/ksim-3.5.13.2.ebuild | 26 | ||||
-rw-r--r-- | gentoo/trinity-base/ksim/ksim-9999.ebuild | 26 | ||||
-rw-r--r-- | gentoo/trinity-base/ksim/metadata.xml | 11 |
7 files changed, 137 insertions, 0 deletions
diff --git a/gentoo/trinity-base/ksim/Manifest b/gentoo/trinity-base/ksim/Manifest new file mode 100644 index 000000000..c59ac62b4 --- /dev/null +++ b/gentoo/trinity-base/ksim/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/gentoo/trinity-base/ksim/files/fix_crash.patch b/gentoo/trinity-base/ksim/files/fix_crash.patch new file mode 100644 index 000000000..1e6a810dd --- /dev/null +++ b/gentoo/trinity-base/ksim/files/fix_crash.patch @@ -0,0 +1,44 @@ +diff --git a/ksim/library/pluginglobal.cpp b/ksim/library/pluginglobal.cpp +index 34a38c3..5f523cc 100644 +--- a/ksim/library/pluginglobal.cpp ++++ b/ksim/library/pluginglobal.cpp +@@ -155,7 +155,7 @@ bool KSim::Plugin::isNull() const + return !d; + } + +-const TQString &KSim::Plugin::name() const ++TQString KSim::Plugin::name() const + { + return d ? d->name : TQString(); + } +@@ -170,7 +170,7 @@ TQCString KSim::Plugin::libName() const + return d ? d->libName : TQCString(); + } + +-const TQString &KSim::Plugin::fileName() const ++TQString KSim::Plugin::fileName() const + { + return d ? d->filename : TQString(); + } +diff --git a/ksim/library/pluginglobal.h b/ksim/library/pluginglobal.h +index 5dbeef8..e094198 100644 +--- a/ksim/library/pluginglobal.h ++++ b/ksim/library/pluginglobal.h +@@ -93,7 +93,7 @@ namespace KSim + * @return the name of the plugin, NOT the library name + * @see #libName + */ +- const TQString &name() const; ++ TQString name() const; + /** + * @return the icon of the plugin + */ +@@ -105,7 +105,7 @@ namespace KSim + /** + * @return path to the .desktop file + */ +- const TQString &fileName() const; ++ TQString fileName() const; + /** + * @return the plugin object + */ diff --git a/gentoo/trinity-base/ksim/files/shared b/gentoo/trinity-base/ksim/files/shared new file mode 120000 index 000000000..af62be31d --- /dev/null +++ b/gentoo/trinity-base/ksim/files/shared @@ -0,0 +1 @@ +../../../eclass/trinity-shared-files/
\ No newline at end of file diff --git a/gentoo/trinity-base/ksim/ksim-3.5.13.1.ebuild b/gentoo/trinity-base/ksim/ksim-3.5.13.1.ebuild new file mode 100644 index 000000000..e93db2583 --- /dev/null +++ b/gentoo/trinity-base/ksim/ksim-3.5.13.1.ebuild @@ -0,0 +1,27 @@ +# 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="Trinity system monitoring applets." +KEYWORDS="x86 amd64" +IUSE="snmp lm_sensors dell-laptop" + +DEPEND="lm_sensors? ( x11-libs/libXext ) + snmp? ( net-analyzer/net-snmp )" +RDEPEND="${DEPEND} + lm_sensors? ( sys-apps/lm_sensors )" +PATCHES=( "$FILESDIR/fix_crash.patch" ) + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_with dell-laptop I8K) + $(cmake-utils_use_with snmp SNMP) + $(cmake-utils_use_with lm_sensors SENSORS) + ) + + trinity-meta_src_configure +} diff --git a/gentoo/trinity-base/ksim/ksim-3.5.13.2.ebuild b/gentoo/trinity-base/ksim/ksim-3.5.13.2.ebuild new file mode 100644 index 000000000..88f668741 --- /dev/null +++ b/gentoo/trinity-base/ksim/ksim-3.5.13.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ +EAPI="5" +TRINITY_MODULE_NAME="kdeutils" + +inherit trinity-meta + +DESCRIPTION="Trinity system monitoring applets." +KEYWORDS="~x86 ~amd64" +IUSE="snmp lm_sensors dell-laptop" + +DEPEND="lm_sensors? ( x11-libs/libXext ) + snmp? ( net-analyzer/net-snmp )" +RDEPEND="${DEPEND} + lm_sensors? ( sys-apps/lm_sensors )" + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_with dell-laptop I8K) + $(cmake-utils_use_with snmp SNMP) + $(cmake-utils_use_with lm_sensors SENSORS) + ) + + trinity-meta_src_configure +} diff --git a/gentoo/trinity-base/ksim/ksim-9999.ebuild b/gentoo/trinity-base/ksim/ksim-9999.ebuild new file mode 100644 index 000000000..ade987e1b --- /dev/null +++ b/gentoo/trinity-base/ksim/ksim-9999.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ +EAPI="5" +TRINITY_MODULE_NAME="tdeutils" + +inherit trinity-meta + +DESCRIPTION="Trinity system monitoring applets." +KEYWORDS="" +IUSE="snmp lm_sensors dell-laptop" + +DEPEND="lm_sensors? ( x11-libs/libXext ) + snmp? ( net-analyzer/net-snmp )" +RDEPEND="${DEPEND} + lm_sensors? ( sys-apps/lm_sensors )" + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_with dell-laptop I8K) + $(cmake-utils_use_with snmp SNMP) + $(cmake-utils_use_with lm_sensors SENSORS) + ) + + trinity-meta_src_configure +} diff --git a/gentoo/trinity-base/ksim/metadata.xml b/gentoo/trinity-base/ksim/metadata.xml new file mode 100644 index 000000000..41bc6a0ef --- /dev/null +++ b/gentoo/trinity-base/ksim/metadata.xml @@ -0,0 +1,11 @@ +<?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="dell-laptop">Adds support for some dell-specific laptop hardware.</flag> + </use> +</pkgmetadata> |