summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Malm <gengor@gentoo.org>2009-01-11 08:01:40 +0000
committerGordon Malm <gengor@gentoo.org>2009-01-11 08:01:40 +0000
commite4e07cfc9353e2c39b3195746b0e7d637934f194 (patch)
tree10c03254f2fbc9dce0b444b16c3610e79c9bc813 /kde-misc
parentversion bump (diff)
downloadgentoo-2-e4e07cfc9353e2c39b3195746b0e7d637934f194.tar.gz
gentoo-2-e4e07cfc9353e2c39b3195746b0e7d637934f194.tar.bz2
gentoo-2-e4e07cfc9353e2c39b3195746b0e7d637934f194.zip
Bump debian patchset for lm_sensors-3 support, bug #232782
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-hardened-r3-rc1-2008120601 i686)
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/ksensors/ChangeLog9
-rw-r--r--kde-misc/ksensors/ksensors-0.7.3-r2.ebuild64
2 files changed, 71 insertions, 2 deletions
diff --git a/kde-misc/ksensors/ChangeLog b/kde-misc/ksensors/ChangeLog
index aa0bda1e707b..544260fd55a8 100644
--- a/kde-misc/ksensors/ChangeLog
+++ b/kde-misc/ksensors/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-misc/ksensors
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/ksensors/ChangeLog,v 1.12 2008/08/06 18:25:14 cardoe Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/ksensors/ChangeLog,v 1.13 2009/01/11 08:01:40 gengor Exp $
+
+*ksensors-0.7.3-r2 (11 Jan 2009)
+
+ 11 Jan 2009; Gordon Malm <gengor@gentoo.org> +ksensors-0.7.3-r2.ebuild:
+ Bump debian patchset for lm_sensors-3 support, bug #232782
06 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
add GLEP 56 USE flag desc from use.local.desc
diff --git a/kde-misc/ksensors/ksensors-0.7.3-r2.ebuild b/kde-misc/ksensors/ksensors-0.7.3-r2.ebuild
new file mode 100644
index 000000000000..eb94b32139ba
--- /dev/null
+++ b/kde-misc/ksensors/ksensors-0.7.3-r2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/ksensors/ksensors-0.7.3-r2.ebuild,v 1.1 2009/01/11 08:01:40 gengor Exp $
+
+inherit kde
+
+DESCRIPTION="KSensors - a nice lm_sensors frontend for KDE"
+SRC_URI="mirror://sourceforge/ksensors/${P}.tar.gz
+ mirror://debian/pool/main/k/ksensors/${PN}_${PV}-16.diff.gz"
+HOMEPAGE="http://ksensors.sourceforge.net/"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="hddtemp ibmacpi"
+
+DEPEND=">=sys-apps/lm_sensors-2.6.3"
+
+RDEPEND="${DEPEND}
+ hddtemp? ( >=app-admin/hddtemp-0.3_beta15-r1 )"
+
+need-kde 3
+
+src_unpack() {
+ kde_src_unpack
+
+ cd ${WORKDIR}
+
+ # Debian patchset, fixes bugs 120350, 171208, 173821, 232782
+ epatch ${PN}_${PV}-16.diff
+
+ # On Gentoo hddtemp resides in /usr/sbin which is not in the user's
+ # path. Thus, call hddtemp with full path.
+ use hddtemp && epatch ${FILESDIR}/${P}-hddtemp-path.patch
+
+ # User-contributed patch, fixes bug 116661
+ use ibmacpi && epatch ${FILESDIR}/${P}-ibm-acpi.patch
+}
+
+src_install() {
+ kde_src_install
+
+ dodoc README AUTHORS TODO ChangeLog FAQ INSTALL NEWS
+ dodoc LEEME LIESMICH LISEZMOI
+
+ docinto debian
+ dodoc debian/{changelog,copyright}
+ doman debian/ksensors.1
+
+ # Remove obsolete menu entry
+ rm -fR ${D}/usr/share/applnk/
+
+ insinto /usr/share/applications/kde
+ doins ${FILESDIR}/ksensors.desktop
+}
+
+pkg_postinst() {
+ kde_pkg_postinst
+
+ if use hddtemp; then
+ [[ -u "${ROOT}"/usr/sbin/hddtemp ]] || \
+ elog "You need to run \"chmod u+s /usr/sbin/hddtemp\" to show disk temperatures."
+ fi
+}