summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2008-04-05 14:16:01 +0000
committerCédric Krier <cedk@gentoo.org>2008-04-05 14:16:01 +0000
commita71164a5ab19b220354244bf3d95907a4ca5e090 (patch)
tree6dafaa9c94308b2ecba0be37320217d49f60ea52 /app-laptop/pommed
parentAdd cups-1.3.7.ebuild, version bump, fixes bug #202914, #213121 and #215901. (diff)
downloadhistorical-a71164a5ab19b220354244bf3d95907a4ca5e090.tar.gz
historical-a71164a5ab19b220354244bf3d95907a4ca5e090.tar.bz2
historical-a71164a5ab19b220354244bf3d95907a4ca5e090.zip
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-laptop/pommed')
-rw-r--r--app-laptop/pommed/ChangeLog8
-rw-r--r--app-laptop/pommed/Manifest15
-rw-r--r--app-laptop/pommed/files/pommed-1.16.patch21
-rw-r--r--app-laptop/pommed/pommed-1.16.ebuild100
4 files changed, 132 insertions, 12 deletions
diff --git a/app-laptop/pommed/ChangeLog b/app-laptop/pommed/ChangeLog
index b7dd42d9b5e5..a73372d518a4 100644
--- a/app-laptop/pommed/ChangeLog
+++ b/app-laptop/pommed/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-laptop/pommed
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/ChangeLog,v 1.22 2008/03/24 17:46:28 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/ChangeLog,v 1.23 2008/04/05 14:16:01 cedk Exp $
+
+*pommed-1.16 (05 Apr 2008)
+
+ 05 Apr 2008; Cédric Krier <cedk@gentoo.org> +files/pommed-1.16.patch,
+ +pommed-1.16.ebuild:
+ Version bump
24 Mar 2008; Markus Meier <maekke@gentoo.org> pommed-1.14.ebuild:
amd64 stable, bug #206680
diff --git a/app-laptop/pommed/Manifest b/app-laptop/pommed/Manifest
index 7dc6bec5d94f..adff00103bb1 100644
--- a/app-laptop/pommed/Manifest
+++ b/app-laptop/pommed/Manifest
@@ -1,21 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX pommed-1.11.patch 907 RMD160 9d4d0c425034b91cfc14ba92e0693eb3ee0bf489 SHA1 904d26a58c03c4ab224666f23042f935d536ddca SHA256 eca81004e5ba337da7d1c1436baf650a25fffd6e1ee5dea88a3371f3f4630373
+AUX pommed-1.16.patch 801 RMD160 3cd94fde4b3cb8d69b7f1cd8ca4c9b9395d33068 SHA1 d99e0063b8f521c6bc1b28f5a39c30d48c87fbeb SHA256 8375ce782ad37353f98651771b03070461d949ea1c08edbcf0c3591801f2be85
AUX pommed-1.5.patch 797 RMD160 03924d567f0b4988e9df919ab625d27e663d5afa SHA1 9376a7ba19ed184759480f1bfc54591b6230ccb1 SHA256 02ed1b85e0747617bf7652dc7e34b8a0422dda6f2f2579e35d9b2cc43f0a5e36
AUX pommed.rc 382 RMD160 9bc2e6c515f72eff59045ab20ac0b743b7c2030a SHA1 6bd5ec4bc79ae09919f5e66a6e13fff76f347e38 SHA256 91911d2f65eb26b1e449ae45e587ccd03d756bdb549142fe169bc1161e9fb6d5
DIST pommed-1.12.tar.gz 979999 RMD160 01a9657eea9ef89eb185333c7f631e4c864f0ac7 SHA1 2636a669a5a8d5e48f30e5cbcdb3f78e87a308d9 SHA256 55e921bf618eb73ec2afecb8ab4e66d91fa11e0c53572d5b148c9ad987ef959d
DIST pommed-1.14.tar.gz 997497 RMD160 6a0dcd074d0412aaecc71f706ce0170663e8c1f4 SHA1 f50587ae94e90af215d2ffc0657617b03b19ffa1 SHA256 408a66b629516a655ce862152552e7a97137a42b42304217f6f46e87a2b559ee
+DIST pommed-1.16.tar.gz 998769 RMD160 16723de0af0d8ab4590ec141fbf3e62bcec84742 SHA1 bd935560d12f70eaf1e5e7d7db5deeee301391f4 SHA256 6f281bb389f81ca16438a7b529f7a8db8eeb90d76cb0d9c2af145c4d73f5697f
DIST pommed-1.5.tar.gz 924010 RMD160 89ff695e38f081ca0266c45cea89df0345f0b9dc SHA1 69966674821be4a0247f29e294f0cd0053bf2df8 SHA256 ee7c668fcd5c200b70b0173d1adb348689e258c937038d9602c67cdccae1d132
EBUILD pommed-1.12.ebuild 2272 RMD160 381d5a2dea2dd46bf2b822cb9c02d047a15f9189 SHA1 75ffdb821a7460100240b19faafb8faaef48f2a7 SHA256 aa8ae34291399c0f0c076ed8aee03cf03118bdebe8feb7c17820125240c86e3c
EBUILD pommed-1.14.ebuild 2326 RMD160 76ede80981b60064a8aa2614db1417de57f4927d SHA1 5783164dfb2faff142615362758aac4552caed2b SHA256 146ccf93a93831314ba5add06d56102aee817ea2b88f4da770c7657ff0d7294a
+EBUILD pommed-1.16.ebuild 2321 RMD160 c67b08599ecc7bee45da9586c0a1c2e54ee7e0e9 SHA1 940a212bdaaa4ff2b93baa95956e9e0ee17f8489 SHA256 b5e3451c8afdcd8caf41853620e0dbfa0c01aed933c1be15299b0fe9746adbc6
EBUILD pommed-1.5.ebuild 2258 RMD160 23ba31288ef4b30bcc47ad761e1e6d3cf80690b4 SHA1 f9ecefbc4502ef189b21d60bace4d1761581af60 SHA256 4ebda90fe08abb6af0111054a5094fa3a9979fcc0438dc1d2d47c9f7151bb095
-MISC ChangeLog 3249 RMD160 97c010bd882625a6aa3d9cd376f53d2d120b931b SHA1 f34573c8764fc4cb655eb6b802c005382619db58 SHA256 2632310fe5b04e07c2a0ec3e4dcb29bcc66ee801f84ca9c7babcf3f4b6847ff3
+MISC ChangeLog 3387 RMD160 eac14df13f8ae2585ba7f3e562ded2f21afdb686 SHA1 a2d3db0cc1ded1e5470eaf8aa02deea2d45095be SHA256 acbbfdb724b4338a5613d5664489ef510cbe7bcfcc261db63657f0c0d089fa4b
MISC metadata.xml 650 RMD160 f7daee13a933d338a74f6d96ab6cf50ca14c41fe SHA1 55e4fd4f2955d2874a1a6b01897d3ee979a9b886 SHA256 98d730e05d016004e5fe2e7de97c0b2d08ec7f6c5a3521bda0d6ab3d16c0e327
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
-
-iD8DBQFH5+k9kKaRLQcq0GIRAtIeAKCp/WwqwC+J5nuHqhObjRN49McIzACcCn3c
-fwRGICQNW7gbNEX5Qn6oZnQ=
-=Na+B
------END PGP SIGNATURE-----
diff --git a/app-laptop/pommed/files/pommed-1.16.patch b/app-laptop/pommed/files/pommed-1.16.patch
new file mode 100644
index 000000000000..74328ab90630
--- /dev/null
+++ b/app-laptop/pommed/files/pommed-1.16.patch
@@ -0,0 +1,21 @@
+diff -ru pommed-1.16~/pommed/Makefile pommed-1.16/pommed/Makefile
+--- pommed-1.16~/pommed/Makefile 2008-04-05 16:10:17.000000000 +0200
++++ pommed-1.16/pommed/Makefile 2008-04-05 16:10:55.000000000 +0200
+@@ -16,7 +16,7 @@
+
+ INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H)
+
+-CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS)
++CFLAGS += -g -O2 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS)
+
+ LDFLAGS = -pthread $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS)
+
+@@ -42,7 +42,7 @@
+
+ else
+
+-LDFLAGS += -lz -lsmbios
++LDFLAGS += -lz -lsmbios -lstdc++
+
+ SOURCES = pommed.c cd_eject.c evdev.c conffile.c audio.c \
+ dbus.c power.c beep.c video.c \
diff --git a/app-laptop/pommed/pommed-1.16.ebuild b/app-laptop/pommed/pommed-1.16.ebuild
new file mode 100644
index 000000000000..c0ca0ac75162
--- /dev/null
+++ b/app-laptop/pommed/pommed-1.16.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/pommed-1.16.ebuild,v 1.1 2008/04/05 14:16:01 cedk Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Manage special features such as screen and keyboard backlight on Apple MacBook Pro/PowerBook"
+HOMEPAGE="http://technologeek.org/projects/pommed/index.html"
+ALIOTH_NUMBER="2350"
+SRC_URI="http://alioth.debian.org/frs/download.php/${ALIOTH_NUMBER}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gtk X"
+
+DEPEND="media-libs/alsa-lib
+ x86? ( sys-apps/pciutils
+ >=sys-libs/libsmbios-0.13.6 )
+ amd64? ( sys-apps/pciutils
+ >=sys-libs/libsmbios-0.13.6 )
+ dev-libs/confuse
+ sys-apps/dbus
+ sys-libs/zlib
+ media-libs/audiofile
+ gtk? ( >=x11-libs/gtk+-2
+ >=gnome-base/libglade-2 )
+ X? ( x11-libs/libX11 )"
+RDEPEND="${DEPEND}
+ media-sound/alsa-utils
+ virtual/eject"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}.patch"
+}
+
+src_compile() {
+ cd "${S}"/pommed
+ emake CC="$(tc-getCC)" OFLIB=1 || 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
+
+ insinto /usr/share/pommed
+ doins pommed/data/*.wav
+
+ 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
+ doins gpomme/gpomme-c.desktop
+ insinto /usr/share/gpomme/
+ doins -r gpomme/themes
+ doins gpomme/gpomme.glade
+ fi
+
+ if use X ; then
+ dobin wmpomme/wmpomme
+ fi
+}