summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2012-11-20 20:18:10 +0000
committerChristian Faulhammer <fauli@gentoo.org>2012-11-20 20:18:10 +0000
commit9b54d6d568dda4dafdcc60bacda3207d8785fe7f (patch)
tree5e74985687e7bf81b668c305ffc22a386ff7faab /mail-client/claws-mail-acpi-notifier
parentversion bump and clean up (diff)
downloadgentoo-2-9b54d6d568dda4dafdcc60bacda3207d8785fe7f.tar.gz
gentoo-2-9b54d6d568dda4dafdcc60bacda3207d8785fe7f.tar.bz2
gentoo-2-9b54d6d568dda4dafdcc60bacda3207d8785fe7f.zip
version bump
(Portage version: 2.1.11.31/cvs/Linux i686, signed Manifest commit with key 2B859DE3)
Diffstat (limited to 'mail-client/claws-mail-acpi-notifier')
-rw-r--r--mail-client/claws-mail-acpi-notifier/ChangeLog8
-rw-r--r--mail-client/claws-mail-acpi-notifier/claws-mail-acpi-notifier-1.0.28.ebuild40
2 files changed, 47 insertions, 1 deletions
diff --git a/mail-client/claws-mail-acpi-notifier/ChangeLog b/mail-client/claws-mail-acpi-notifier/ChangeLog
index c85587fc08da..b4d9edaa00f0 100644
--- a/mail-client/claws-mail-acpi-notifier/ChangeLog
+++ b/mail-client/claws-mail-acpi-notifier/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-client/claws-mail-acpi-notifier
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-acpi-notifier/ChangeLog,v 1.63 2012/05/04 08:42:23 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-acpi-notifier/ChangeLog,v 1.64 2012/11/20 20:18:10 fauli Exp $
+
+*claws-mail-acpi-notifier-1.0.28 (20 Nov 2012)
+
+ 20 Nov 2012; Christian Faulhammer <fauli@gentoo.org>
+ +claws-mail-acpi-notifier-1.0.28.ebuild:
+ version bump
04 May 2012; Jeff Horelick <jdhore@gentoo.org>
claws-mail-acpi-notifier-1.0.26.ebuild:
diff --git a/mail-client/claws-mail-acpi-notifier/claws-mail-acpi-notifier-1.0.28.ebuild b/mail-client/claws-mail-acpi-notifier/claws-mail-acpi-notifier-1.0.28.ebuild
new file mode 100644
index 000000000000..13dc7dfcc82c
--- /dev/null
+++ b/mail-client/claws-mail-acpi-notifier/claws-mail-acpi-notifier-1.0.28.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-acpi-notifier/claws-mail-acpi-notifier-1.0.28.ebuild,v 1.1 2012/11/20 20:18:10 fauli Exp $
+
+inherit eutils
+
+MY_P="${P#claws-mail-}"
+MY_P="${MY_P/-/_}"
+
+DESCRIPTION="This plugin enables mail notification via LEDs on some laptops."
+HOMEPAGE="http://www.claws-mail.org/"
+SRC_URI="http://www.claws-mail.org/downloads/plugins/${MY_P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND=">=mail-client/claws-mail-3.9.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README
+}
+
+pkg_postinst() {
+ PROC_IFACES="$(echo /proc/acpi/{asus/mled,ibm/led,acer/mailled}) /proc/driver/acerhk/led"
+
+ local procfile
+ local message_shown=false
+
+ for procfile in ${PROC_IFACES}; do
+ if [[ -f ${procfile} ]]; then
+ elog "Make sure ${procfile} is writable by users of this plugin."
+ message_shown=true
+ fi
+ done
+}