app-laptop/pommed: fix depencie to gtk+-2, add amd64,ppc
authorCédric Krier <cedk@gentoo.org>
Mon, 5 Mar 2007 22:28:31 +0000 (22:28 +0000)
committerCédric Krier <cedk@gentoo.org>
Mon, 5 Mar 2007 22:28:31 +0000 (22:28 +0000)
Package-Manager: portage-2.1.2-r9

app-laptop/pommed/ChangeLog
app-laptop/pommed/Manifest
app-laptop/pommed/files/digest-pommed-1.2-r1 [new file with mode: 0644]
app-laptop/pommed/pommed-1.2-r1.ebuild [new file with mode: 0644]

index c79948d07076beda887b9edc3e4c347ef7fa907b..ee5415a2a303932c2bcfd39c81e06be108e3be97 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-laptop/pommed
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/ChangeLog,v 1.1 2007/03/04 19:31:03 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/ChangeLog,v 1.2 2007/03/05 22:28:31 cedk Exp $
+
+*pommed-1.2-r1 (05 Mar 2007)
+
+  05 Mar 2007; Cedric Krier <cedk@gentoo.org> +pommed-1.2-r1.ebuild:
+  Fix depencie to gtk+-2, add amd64,ppc
 
 *pommed-1.2 (04 Mar 2007)
 
index cfba48dbab112542705a53f3a5029fe6fabacff0..df862402b84c630eac2ffd6905b40410c702bc97 100644 (file)
@@ -7,14 +7,18 @@ MD5 1876e395575ae94ce382e769bf8ed8af files/pommed.rc 372
 RMD160 04acb2328527483af1ebcc50ce723b90df859b32 files/pommed.rc 372
 SHA256 986d87fd7fd87b0fe43d1fb01d357aa70575f34e90d2e37df5d69aa5134b9d92 files/pommed.rc 372
 DIST pommed-1.2.tar.gz 833703 RMD160 408d2423a27a41db855f6a7167b3cacc202679fe SHA1 f08ec24227a52c9f7c7218c74a5f017340fdd261 SHA256 9d902eb7d227c289fb5f888b7e518ad431228501109eb4b7c22839b7a0142268
+EBUILD pommed-1.2-r1.ebuild 2090 RMD160 9d4cd9c64c252cdcb038b7e57478250192989e34 SHA1 48e1ab415c63105e543f3309d33a24fa9763ad9a SHA256 8f474e2d61fa2acf70b970512e60ae750a0f37b12992c5a4255bf177606c0f9d
+MD5 1c3302378c909573ce359a46d5451761 pommed-1.2-r1.ebuild 2090
+RMD160 9d4cd9c64c252cdcb038b7e57478250192989e34 pommed-1.2-r1.ebuild 2090
+SHA256 8f474e2d61fa2acf70b970512e60ae750a0f37b12992c5a4255bf177606c0f9d pommed-1.2-r1.ebuild 2090
 EBUILD pommed-1.2.ebuild 1918 RMD160 97a0ec22096574fb397e027a524e874cc96f0529 SHA1 b78c884751569c9d58aeef584333a65ffbc53a83 SHA256 09bf436c65499185ee105a4b3145511b513853dbf962d310864b75c0a0771da9
 MD5 062299666edbaec423b4e3fcf7d5d96c pommed-1.2.ebuild 1918
 RMD160 97a0ec22096574fb397e027a524e874cc96f0529 pommed-1.2.ebuild 1918
 SHA256 09bf436c65499185ee105a4b3145511b513853dbf962d310864b75c0a0771da9 pommed-1.2.ebuild 1918
-MISC ChangeLog 445 RMD160 81259087ed036a372b1ab8159f68f0dc98e42b35 SHA1 a8f86a1d726807b31f1983a55d7488721e477b57 SHA256 05851a336c78c552a4d2f87f093636682a1b66ae4a7302881faa942f837b2c85
-MD5 998bab837f615a3677cf149a1aa4cf61 ChangeLog 445
-RMD160 81259087ed036a372b1ab8159f68f0dc98e42b35 ChangeLog 445
-SHA256 05851a336c78c552a4d2f87f093636682a1b66ae4a7302881faa942f837b2c85 ChangeLog 445
+MISC ChangeLog 585 RMD160 dd86df3f39c4f3b7231cc8f933566fe76661f734 SHA1 3c3e59430b8b1523872020e16688fe229bcc2777 SHA256 61969608cf3cf612df46e49791cdaa688e46b63a9f29606d434b2c9017b86f9f
+MD5 4c673915b0d3683db760a8b5584a7664 ChangeLog 585
+RMD160 dd86df3f39c4f3b7231cc8f933566fe76661f734 ChangeLog 585
+SHA256 61969608cf3cf612df46e49791cdaa688e46b63a9f29606d434b2c9017b86f9f ChangeLog 585
 MISC metadata.xml 650 RMD160 f7daee13a933d338a74f6d96ab6cf50ca14c41fe SHA1 55e4fd4f2955d2874a1a6b01897d3ee979a9b886 SHA256 98d730e05d016004e5fe2e7de97c0b2d08ec7f6c5a3521bda0d6ab3d16c0e327
 MD5 d67d39ae1e7d303eecb7e6a896c00762 metadata.xml 650
 RMD160 f7daee13a933d338a74f6d96ab6cf50ca14c41fe metadata.xml 650
@@ -22,3 +26,6 @@ SHA256 98d730e05d016004e5fe2e7de97c0b2d08ec7f6c5a3521bda0d6ab3d16c0e327 metadata
 MD5 df5a9fdf9d032e01906f55c26a34aec2 files/digest-pommed-1.2 232
 RMD160 cc3e05221d218d2c2f294271d1421bb16386010a files/digest-pommed-1.2 232
 SHA256 00c00d132b45d094b1b661226106358ad194b9012a46af7fd34d7b85018f0b5d files/digest-pommed-1.2 232
+MD5 df5a9fdf9d032e01906f55c26a34aec2 files/digest-pommed-1.2-r1 232
+RMD160 cc3e05221d218d2c2f294271d1421bb16386010a files/digest-pommed-1.2-r1 232
+SHA256 00c00d132b45d094b1b661226106358ad194b9012a46af7fd34d7b85018f0b5d files/digest-pommed-1.2-r1 232
diff --git a/app-laptop/pommed/files/digest-pommed-1.2-r1 b/app-laptop/pommed/files/digest-pommed-1.2-r1
new file mode 100644 (file)
index 0000000..a11d458
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 00be2db3f5648755da2ba75d1f35f0b4 pommed-1.2.tar.gz 833703
+RMD160 408d2423a27a41db855f6a7167b3cacc202679fe pommed-1.2.tar.gz 833703
+SHA256 9d902eb7d227c289fb5f888b7e518ad431228501109eb4b7c22839b7a0142268 pommed-1.2.tar.gz 833703
diff --git a/app-laptop/pommed/pommed-1.2-r1.ebuild b/app-laptop/pommed/pommed-1.2-r1.ebuild
new file mode 100644 (file)
index 0000000..fe696ee
--- /dev/null
@@ -0,0 +1,92 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/pommed-1.2-r1.ebuild,v 1.1 2007/03/05 22:28:31 cedk Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Daemon managing special features such as screen and keyboard \
+backlight on Apple MacBook Pro/PowerBook laptops"
+HOMEPAGE="http://technologeek.org/projects/pommed/index.html"
+SRC_URI="http://alioth.debian.org/frs/download.php/1831/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gtk X"
+
+DEPEND="sys-apps/pciutils
+       media-libs/alsa-lib
+       x86? ( sys-libs/libsmbios )
+       amd64? ( sys-libs/libsmbios )
+       dev-libs/confuse
+       sys-apps/dbus
+       sys-libs/zlib
+       gtk? ( >=x11-libs/gtk+-2
+               media-libs/audiofile )
+       X? ( x11-libs/libX11 )"
+RDEPEND="${DEPEND}
+       sys-apps/eject"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       epatch ${FILESDIR}/${P}.patch
+}
+
+src_compile() {
+       cd "${S}"/pommed
+       emake CC=$(tc-getCC) || die "emake pommed failed"
+
+       if use gtk; then
+               cd "${S}"/gpomme
+               local POFILES=""
+               for LANG in ${LINGUAS}; do
+                       if [ -f po/${LANG}.po ]; then
+                               POFILES="${POFILES} po/${LANG}.po"
+                       fi
+               done
+               emake CC=$(tc-getCC) POFILES="${POFILES}" || die "emake gpomme failed"
+       fi
+       if use X; then
+               cd "${S}"/wmpomme
+               emake CC=$(tc-getCC) || die "emake wmpomme failed"
+       fi
+}
+
+src_install() {
+       insinto /etc
+       if use x86 || use amd64; then
+               newins pommed.conf.mactel pommed.conf
+       elif use ppc; then
+               newins pommed.conf.pmac pommed.conf
+       fi
+
+       insinto /etc/dbus-1/system.d
+       newins dbus-policy.conf pommed.conf
+
+       dobin pommed/pommed
+
+       newinitd ${FILESDIR}/pommed.rc pommed
+
+       dodoc AUTHORS ChangeLog README TODO
+
+       if use gtk ; then
+               dobin gpomme/gpomme
+               for LANG in ${LINGUAS}; do
+                       if [ -f gpomme/po/${LANG}.mo ]; then
+                               einfo "Installing lang ${LANG}"
+                               insinto /usr/share/locale/${LANG}/LC_MESSAGES/
+                               doins gpomme/po/${LANG}.mo
+                       fi
+               done
+
+               insinto /usr/share/applications
+               doins gpomme/gpomme.desktop
+               insinto /usr/share/gpomme/
+               doins -r gpomme/themes
+       fi
+
+       if use X ; then
+               dobin wmpomme/wmpomme
+       fi
+}