# ChangeLog for mail-client/claws-mail-acpi-notifier
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-acpi-notifier/ChangeLog,v 1.6 2007/02/27 20:00:46 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-acpi-notifier/ChangeLog,v 1.7 2007/04/16 12:59:06 ticho Exp $
+
+*claws-mail-acpi-notifier-1.0.9 (16 Apr 2007)
+
+ 16 Apr 2007; Andrej Kacian <ticho@gentoo.org>
+ +claws-mail-acpi-notifier-1.0.9.ebuild:
+ Version bump.
*claws-mail-acpi-notifier-1.0.8 (27 Feb 2007)
DIST acpi_notifier-1.0.6.tar.gz 402589 RMD160 39a3c243c8ad4dfba6eafc4575b992c45c645ed3 SHA1 0ef1378a1477c8679f1c924c9b05e11290325eb2 SHA256 84f138d4f927b837f588c58f62e982aff21fac365fbb57b57c429bc024bb9a94
DIST acpi_notifier-1.0.7.tar.gz 402231 RMD160 c15b5e2f6ed7ffd66c0d55c526db45349594c531 SHA1 0665ca70c03d4f657139f3774969da5a7491987f SHA256 90d2630008163b26e980ee97cb70a63b65d3b2fcd25cef23adaed2880a79c8f9
DIST acpi_notifier-1.0.8.tar.gz 407244 RMD160 c5baac5e56234c8f467b4edacccdd63bd0c7604e SHA1 b81b77cabed7f1f0d4dd29e6b648a6446a9ac8cb SHA256 5a060ee974a8b81ffd8d94f32c34dffccce9842d117617a2878cb093755cd241
+DIST acpi_notifier-1.0.9.tar.gz 408480 RMD160 42b88d90317f30a3687f54d72bb1f190d0f055bf SHA1 10934ff03099007779d70ede129edaa783ae8982 SHA256 c602543e8aef02d747920818e8cdaf04a89ba9715cbb3a06a2f4c07f4dd35f4b
EBUILD claws-mail-acpi-notifier-1.0.5.ebuild 1101 RMD160 5d8e472325c96d3f3e5052a1b0fa56310ce65bf4 SHA1 66cbf642ec9af941645a37a638d75b075d688464 SHA256 4555fad81134402cf8bfaff91c62966333112dfc2babbc95f90b6b7e4b1c68ac
MD5 c99a246dc2c16919a3a6cbe5086dbae1 claws-mail-acpi-notifier-1.0.5.ebuild 1101
RMD160 5d8e472325c96d3f3e5052a1b0fa56310ce65bf4 claws-mail-acpi-notifier-1.0.5.ebuild 1101
MD5 0d2cfebaa674578d8fd10c8c9de7f135 claws-mail-acpi-notifier-1.0.8.ebuild 1102
RMD160 7b362080b52ee0fd9a2968f1014fbfbb346360dc claws-mail-acpi-notifier-1.0.8.ebuild 1102
SHA256 99fc62365fd6a88ebb4df3f5f970b9965a4625536a0752097e3b5bef391fe28f claws-mail-acpi-notifier-1.0.8.ebuild 1102
-MISC ChangeLog 1050 RMD160 d83f321ec023e88e1fcfd28949e902b8868fc13b SHA1 6fe52ce600ae0b9e42bb58ded57b321c3e027cd0 SHA256 2b1428017d3c4fea39f0fdd9dc2f48e67e4eb6d96e76309acae3d6b816c74f53
-MD5 6a05848bf6bd9b31e43823d969dc6ea9 ChangeLog 1050
-RMD160 d83f321ec023e88e1fcfd28949e902b8868fc13b ChangeLog 1050
-SHA256 2b1428017d3c4fea39f0fdd9dc2f48e67e4eb6d96e76309acae3d6b816c74f53 ChangeLog 1050
+EBUILD claws-mail-acpi-notifier-1.0.9.ebuild 1102 RMD160 05097a89cc56fb91c838194aa707c15768785201 SHA1 0c14e5fcb77931548dd6b066cb58a3cfe8cea261 SHA256 1de437e76fa111471f60d049d074d074457b804542082ea3ac2edd3252dbcb02
+MD5 5d7ca5577a6c80f269c3687f66619699 claws-mail-acpi-notifier-1.0.9.ebuild 1102
+RMD160 05097a89cc56fb91c838194aa707c15768785201 claws-mail-acpi-notifier-1.0.9.ebuild 1102
+SHA256 1de437e76fa111471f60d049d074d074457b804542082ea3ac2edd3252dbcb02 claws-mail-acpi-notifier-1.0.9.ebuild 1102
+MISC ChangeLog 1204 RMD160 7624503b74b11895ee2821e2ed38738df326d7c1 SHA1 827bed0d05b6ff591175779ffab2e8cef78e775b SHA256 9f85ebc37f960939c50f3b6332845b78dc32fe063b0b9107c25bd06507e99d5f
+MD5 020894d9047915d6e9a44e10cb6ec140 ChangeLog 1204
+RMD160 7624503b74b11895ee2821e2ed38738df326d7c1 ChangeLog 1204
+SHA256 9f85ebc37f960939c50f3b6332845b78dc32fe063b0b9107c25bd06507e99d5f ChangeLog 1204
MISC metadata.xml 282 RMD160 1d03f1568fddc66e17cf5682b1a15c726504f11e SHA1 96f90f3697c0650e0da34123668cdf39534e6e43 SHA256 148041720f922c4238c1c22d9e92d7438e1126b8875765f470e0d5b3914313c3
MD5 61bc32b1f15be05122b2d7989e02aec0 metadata.xml 282
RMD160 1d03f1568fddc66e17cf5682b1a15c726504f11e metadata.xml 282
MD5 debf7d0b6bc1245612fa74aec2c934fe files/digest-claws-mail-acpi-notifier-1.0.8 259
RMD160 6eb5045f742f74eb930425bd516bf599f3dad7ff files/digest-claws-mail-acpi-notifier-1.0.8 259
SHA256 2c9146cfd3fae36998825a042dbb62034705915c1913f7e7ec4dea188cc09df4 files/digest-claws-mail-acpi-notifier-1.0.8 259
+MD5 645c8a37a139a29873fe739a8497a7e9 files/digest-claws-mail-acpi-notifier-1.0.9 259
+RMD160 9e7c5ee8ce6e5667305369353a51b292d0dc0366 files/digest-claws-mail-acpi-notifier-1.0.9 259
+SHA256 df038b0c29378a62ae2f1c59572f8a64fbced52a7e3f9357a9d9e9fa2904f9f9 files/digest-claws-mail-acpi-notifier-1.0.9 259
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
+Version: GnuPG v1.4.7 (GNU/Linux)
-iD8DBQFF5I33QlM6RnzZP+IRAlXHAJ9+PWkXgB8K5Ns2t6rA/innKDlE/ACguuzk
-GjZGE7QElBpyn9wQo/l2LcU=
-=vUQr
+iD8DBQFGI3MgQlM6RnzZP+IRAq14AJ0e5ReqoAD6sLrbCRALUxA25lSvMwCgvy9O
+p7Wfj+qtftxjuQm/ggJVR58=
+=FO4X
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 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.9.ebuild,v 1.1 2007/04/16 12:59:06 ticho 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-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+DEPEND=">=mail-client/claws-mail-2.9.0"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ make DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README
+
+ # kill useless files
+ rm -f ${D}usr/lib*/claws-mail/plugins/*.{a,la}
+}
+
+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
+}