summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Schlarb (moschlar) <mail@moritz-schlarb.de>2011-10-12 08:01:49 +0000
committerMoritz Schlarb (moschlar) <mail@moritz-schlarb.de>2011-10-12 08:01:49 +0000
commitbcae1497d74863337d04342cfbe952688decf1a4 (patch)
tree9e99bd6e738becc4505352513d9d4b3d508e47c1 /x11-plugins
parentMake review script more particular about the directory from which it is run. (diff)
downloadsunrise-bcae1497d74863337d04342cfbe952688decf1a4.tar.gz
sunrise-bcae1497d74863337d04342cfbe952688decf1a4.tar.bz2
sunrise-bcae1497d74863337d04342cfbe952688decf1a4.zip
x11-plugins/pidgin-blinklight: New ebuild for bug 268778 and version bump. Thanks to Andrew for the initial ebuild, _AxS_ for advice and binki for review.
svn path=/sunrise/; revision=12459
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/pidgin-blinklight/ChangeLog9
-rw-r--r--x11-plugins/pidgin-blinklight/Manifest5
-rw-r--r--x11-plugins/pidgin-blinklight/files/fix-paths.patch11
-rw-r--r--x11-plugins/pidgin-blinklight/metadata.xml5
-rw-r--r--x11-plugins/pidgin-blinklight/pidgin-blinklight-0.11.1.ebuild40
5 files changed, 70 insertions, 0 deletions
diff --git a/x11-plugins/pidgin-blinklight/ChangeLog b/x11-plugins/pidgin-blinklight/ChangeLog
new file mode 100644
index 000000000..abdc6c1c4
--- /dev/null
+++ b/x11-plugins/pidgin-blinklight/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for x11-plugins/pidgin-blinklight
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 12 Oct 2011; Moritz Schlarb (moschlar) <mail@moritz-schlarb.de>
+ +pidgin-blinklight-0.11.1.ebuild, +files/fix-paths.patch, +metadata.xml:
+ New ebuild for bug 268778 and version bump. Thanks to Andrew for the initial
+ ebuild, _AxS_ for advice and binki for review.
+
diff --git a/x11-plugins/pidgin-blinklight/Manifest b/x11-plugins/pidgin-blinklight/Manifest
new file mode 100644
index 000000000..cd5f3723a
--- /dev/null
+++ b/x11-plugins/pidgin-blinklight/Manifest
@@ -0,0 +1,5 @@
+AUX fix-paths.patch 449 RMD160 3ad909255b5f0808672516f8855a1ff8d543fc40 SHA1 2e836d60d99c768710351a05813f3fbeda046005 SHA256 f6f7167e042abeb2af79be3fef21eaa5cd6cf2c7c668f2d96bcde11d9c3e18f8
+DIST pidgin-blinklight_0.11.1.orig.tar.gz 350721 RMD160 3e304247ebc5281505b6877dc55734b3488f3500 SHA1 7b4a6b396e084ef98630de084d50b29ece3d7f8c SHA256 6efc3e519d6df36a1b2afad520b4169e095b21832ca48a0c90bf4d1f128d90a2
+EBUILD pidgin-blinklight-0.11.1.ebuild 1045 RMD160 f524e64af0611f43b36232295d23184d93a306a0 SHA1 24bd9350bc074f9d1329ce59b87adb5a101ff65a SHA256 ece9173a370e338b5fa8d44dd3bbfaf53ce459022517889d48ac406fecda1af5
+MISC ChangeLog 400 RMD160 73e5428f5befec09ab25e6a5f756463b16021b6c SHA1 21427e4e2c4bc03f95c511b6d4a28edc70263c2b SHA256 9394f035cec8d449014ce8dfd0744192011071e1d8090c5b0497b5720ff71cdd
+MISC metadata.xml 208 RMD160 c18611400760e42bdd001905be0a63c2e963bcea SHA1 595816105cac477cb85792a182e15888029118a1 SHA256 c4841c87f0c2b9b5e679a27dc72180be8d508fb3f5df0fbab2ec2c805c0a6d82
diff --git a/x11-plugins/pidgin-blinklight/files/fix-paths.patch b/x11-plugins/pidgin-blinklight/files/fix-paths.patch
new file mode 100644
index 000000000..c0af74535
--- /dev/null
+++ b/x11-plugins/pidgin-blinklight/files/fix-paths.patch
@@ -0,0 +1,11 @@
+--- pidgin-blinklight-0.11.1/src/pidgin-blinklight.c.old 2011-10-11 11:29:13.277577702 +0200
++++ pidgin-blinklight-0.11.1/src/pidgin-blinklight.c 2011-10-11 12:31:22.338699746 +0200
+@@ -99,7 +99,7 @@
+
+ // Make /proc file writable
+ if (!fork())
+- execl("/usr/lib/pidgin-blinklight/blinklight-fixperm","blinklight-fixperm",NULL);
++ execl("/usr/libexec/blinklight-fixperm","blinklight-fixperm",NULL);
+
+
+ char *chosen_file = blinklight_init();
diff --git a/x11-plugins/pidgin-blinklight/metadata.xml b/x11-plugins/pidgin-blinklight/metadata.xml
new file mode 100644
index 000000000..31dc017fa
--- /dev/null
+++ b/x11-plugins/pidgin-blinklight/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/x11-plugins/pidgin-blinklight/pidgin-blinklight-0.11.1.ebuild b/x11-plugins/pidgin-blinklight/pidgin-blinklight-0.11.1.ebuild
new file mode 100644
index 000000000..11e3a1a86
--- /dev/null
+++ b/x11-plugins/pidgin-blinklight/pidgin-blinklight-0.11.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils linux-info
+
+DESCRIPTION="Blinks your ThinkPad's ThinkLight upon new messages"
+HOMEPAGE="http://www.joachim-breitner.de/blog/archives/239-gaim-thinklight-pidgin-blinklight.html"
+SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="net-im/pidgin"
+RDEPEND="${DEPEND}"
+
+DOCS="AUTHORS ChangeLog README TODO VERSION"
+
+pkg_pretend() {
+ local acpi_modules="THINKPAD_ACPI ASUS_LAPTOP ACPI_ASUS IBM-ACPI"
+ local acpi_module_present=
+ if linux_config_exists; then
+ for config in ${acpi_modules}; do
+ linux_chkconfig_present ${config} && acpi_module_present=true
+ done
+ fi
+ if ! [[ ${acpi_module_present} ]]; then
+ ewarn "Could not find one of the required acpi modules in your kernel config,"
+ ewarn "Please enable one of the following:"
+ ewarn "$acpi_modules"
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/fix-paths.patch
+}