summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-laptop/pommed')
-rw-r--r--app-laptop/pommed/ChangeLog8
-rw-r--r--app-laptop/pommed/Manifest14
-rw-r--r--app-laptop/pommed/files/pommed-1.14.patch30
-rw-r--r--app-laptop/pommed/files/pommed-1.16.patch30
-rw-r--r--app-laptop/pommed/files/pommed-1.17.patch30
-rw-r--r--app-laptop/pommed/files/pommed-1.20.patch20
-rw-r--r--app-laptop/pommed/pommed-1.14.ebuild103
-rw-r--r--app-laptop/pommed/pommed-1.16.ebuild103
-rw-r--r--app-laptop/pommed/pommed-1.17.ebuild103
-rw-r--r--app-laptop/pommed/pommed-1.20.ebuild101
10 files changed, 8 insertions, 534 deletions
diff --git a/app-laptop/pommed/ChangeLog b/app-laptop/pommed/ChangeLog
index 60cff94c003e..78a42041252e 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.37 2008/12/21 13:23:59 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/ChangeLog,v 1.38 2008/12/21 13:30:51 cedk Exp $
+
+ 21 Dec 2008; CĂ©dric Krier <cedk@gentoo.org> -files/pommed-1.14.patch,
+ -files/pommed-1.16.patch, -files/pommed-1.17.patch,
+ -files/pommed-1.20.patch, -pommed-1.14.ebuild, -pommed-1.16.ebuild,
+ -pommed-1.17.ebuild, -pommed-1.20.ebuild:
+ Remove old
*pommed-1.21-r1 (21 Dec 2008)
diff --git a/app-laptop/pommed/Manifest b/app-laptop/pommed/Manifest
index 060a1082b373..98f48b6182b8 100644
--- a/app-laptop/pommed/Manifest
+++ b/app-laptop/pommed/Manifest
@@ -1,20 +1,8 @@
-AUX pommed-1.14.patch 1079 RMD160 e452c44f696ef182a12bf4a6f19867f03278251c SHA1 8694b0913375be02bc943f694254fb052a978f47 SHA256 af57bb5fe204114729b786544e77ab3a47b5d46fa1426de58c8be91e729eca15
-AUX pommed-1.16.patch 1016 RMD160 f102c458f1e884f5db43bcd392bb2e2b8a2f8e77 SHA1 0df128c840fa91279dedc347aa3f33ec113ec136 SHA256 8ae893173d08e7f1eb3bdab85f180d93dacde6d698ea9e4ba3153194ee59e907
-AUX pommed-1.17.patch 1016 RMD160 f102c458f1e884f5db43bcd392bb2e2b8a2f8e77 SHA1 0df128c840fa91279dedc347aa3f33ec113ec136 SHA256 8ae893173d08e7f1eb3bdab85f180d93dacde6d698ea9e4ba3153194ee59e907
-AUX pommed-1.20.patch 770 RMD160 bca004edb674d1b672ab3fd3d25ce65e322970e0 SHA1 172ddaf67edf6bc9f48751604d61650ae2d16da4 SHA256 ff36a97c66e1502a3b80d414e57079aaa28ce6936d2631f85569baffd201c11d
AUX pommed-1.21-r1.patch 2917 RMD160 03e2562b327b1d578b9ddde1f151fdff46f84f18 SHA1 092ba342ce808e5072049ac9042582efb20832ec SHA256 f72975bd17bbbcbee50beb27cd8968260748388f397e583dab6d77b93e2af414
AUX pommed-1.21.patch 770 RMD160 c15e80013f27a8d704e0a2b3a774d6bbbb9007a2 SHA1 73c9cd8e409f4edf1bcfda426682a03f860864f0 SHA256 93cb24ca13b1281b9e3e80d858fae17b0c19ce58a8deb21189bf67aab25b4da1
AUX pommed.rc 382 RMD160 9bc2e6c515f72eff59045ab20ac0b743b7c2030a SHA1 6bd5ec4bc79ae09919f5e66a6e13fff76f347e38 SHA256 91911d2f65eb26b1e449ae45e587ccd03d756bdb549142fe169bc1161e9fb6d5
-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.17.tar.gz 1000294 RMD160 58d6546cda7470455ef974c1b845faf0be583800 SHA1 8a8ed490ce46cc407ab987a7a225c830fd662151 SHA256 035e18263f5d978aeace6f63e3875816eace0199574a84dc870f72288a49e347
-DIST pommed-1.20.tar.gz 1004219 RMD160 62c239c8070ce5b6e175097be576ff454a8dcead SHA1 2fbac0b3608953a7da1a07f2333714857b16a233 SHA256 dc6f43fd320580535c0b61664fcee01cb8f0c0cb3f42cb9bb2e93e147dd2afcc
DIST pommed-1.21.tar.gz 1005380 RMD160 4e5155b9fda18f0bd08265b992e0f66be21575d0 SHA1 ac60bb3797096d777fbde39f6dce97c4e85e7d13 SHA256 56cf4e2d85d832b0231542f52f3c6928de675b8dc75175f9ea214ca9206a30bf
-EBUILD pommed-1.14.ebuild 2396 RMD160 8aa538cad7f1f666a2af06008e80d2499b6b4bb5 SHA1 1fbedec18251c2e2568805001b672c4f3f5d9eb3 SHA256 435971f3ee0f7ec9194c4d3c8f8a26db19edad5966516ab666e08eadfac25ebb
-EBUILD pommed-1.16.ebuild 2399 RMD160 e7d374014c4630fa6ea18d89cafece025348a2e7 SHA1 d907f744603204fb40dca64984aaf2871cc83900 SHA256 2d0da82f56d5958a08e1d326ff6a71c3bbc58379b143ec12f5392526ea5f4e0b
-EBUILD pommed-1.17.ebuild 2399 RMD160 f28b90c95a32f1c8a07eb4562a6acf4635362287 SHA1 9183c732cba3bf06dde16c6bfa0e61d77ccf22c1 SHA256 7625aeab4b2832c5eb7471934d01466f8cbfcd8629e54c4e77d9c545306979c4
-EBUILD pommed-1.20.ebuild 2344 RMD160 e2b0e4a12970b3884358d5381967003bf13a2f26 SHA1 d13a00482b2355ec1ca054b91a4e6a760ff44c19 SHA256 e14c70a9c8f7e8f3d5e944ee508db8f00ae65fdcac592d1874b59d3cefa10644
EBUILD pommed-1.21-r1.ebuild 2351 RMD160 dedbf5d5e7a055437b3b1fef3616766ea09d40d7 SHA1 fcfad0ed90cff76e2c1bae386f4caaaa473ffb05 SHA256 c047662cb5d9cea8fff81ec9e6ff27308cb88b2133a15d3e3a52faf281ac2db4
EBUILD pommed-1.21.ebuild 2344 RMD160 843a1c63decd1720d8c82da307760390e4cf3c17 SHA1 dd6a5073b594959e31f7f6cdbbf7e76a90680a0e SHA256 38c85236638e226413d403e23a21d2dcc74da2a0e9e5207324746673cc7f54c1
-MISC ChangeLog 5232 RMD160 0dd166a959eb679baf3410767677636d4e39a6a0 SHA1 8d03b1f06c3e0e5c8a1d7f78508d90f5c0505383 SHA256 fb44acf58dbba2d08375bc8f49e2b877d51e579b29ada266437ba0c31e831457
+MISC ChangeLog 5487 RMD160 6c719587ed6f47194dbd18e3c42becfd326c1cc8 SHA1 c98f0e9c10f64eeae95ac012ca1c541b72d5d7a6 SHA256 27b2aaf9ccfb984828b84c58c18ddad1af021e1462f5b31938ea56775e764c77
MISC metadata.xml 650 RMD160 f7daee13a933d338a74f6d96ab6cf50ca14c41fe SHA1 55e4fd4f2955d2874a1a6b01897d3ee979a9b886 SHA256 98d730e05d016004e5fe2e7de97c0b2d08ec7f6c5a3521bda0d6ab3d16c0e327
diff --git a/app-laptop/pommed/files/pommed-1.14.patch b/app-laptop/pommed/files/pommed-1.14.patch
deleted file mode 100644
index e786b0677c6c..000000000000
--- a/app-laptop/pommed/files/pommed-1.14.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -ru pommed-1.14~/pommed/Makefile pommed-1.14/pommed/Makefile
---- pommed-1.14~/pommed/Makefile 2008-04-27 12:37:24.000000000 +0200
-+++ pommed-1.14/pommed/Makefile 2008-04-27 12:38:54.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 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS)
-
- ifeq ($(ARCH), ppc)
- OFLIB ?=
-@@ -42,7 +42,7 @@
-
- else
-
--LDFLAGS = -lz -lsmbios $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS)
-+LDFLAGS = -lz -lsmbios -lstdc++ $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS)
-
- SOURCES = pommed.c cd_eject.c evdev.c conffile.c audio.c \
- dbus.c power.c beep.c video.c \
-@@ -50,7 +50,7 @@
- mactel/nv8600mgt_backlight.c \
- mactel/kbd_backlight.c mactel/ambient.c mactel/acpi.c
-
--LIBS = /usr/lib/libpci.a
-+LIBS = $(shell pkg-config libpci --libs)
- endif
-
- OBJS = $(SOURCES:%.c=%.o)
diff --git a/app-laptop/pommed/files/pommed-1.16.patch b/app-laptop/pommed/files/pommed-1.16.patch
deleted file mode 100644
index d9c948dab9df..000000000000
--- a/app-laptop/pommed/files/pommed-1.16.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -ru pommed-1.16~/pommed/Makefile pommed-1.16/pommed/Makefile
---- pommed-1.16~/pommed/Makefile 2008-04-27 12:28:57.000000000 +0200
-+++ pommed-1.16/pommed/Makefile 2008-04-27 12:31:10.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 \
-@@ -50,7 +50,7 @@
- mactel/nv8600mgt_backlight.c \
- mactel/kbd_backlight.c mactel/ambient.c mactel/acpi.c
-
--LIBS = /usr/lib/libpci.a
-+LIBS = $(shell pkg-config libpci --libs)
- endif
-
- OBJS = $(SOURCES:%.c=%.o)
diff --git a/app-laptop/pommed/files/pommed-1.17.patch b/app-laptop/pommed/files/pommed-1.17.patch
deleted file mode 100644
index d9c948dab9df..000000000000
--- a/app-laptop/pommed/files/pommed-1.17.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -ru pommed-1.16~/pommed/Makefile pommed-1.16/pommed/Makefile
---- pommed-1.16~/pommed/Makefile 2008-04-27 12:28:57.000000000 +0200
-+++ pommed-1.16/pommed/Makefile 2008-04-27 12:31:10.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 \
-@@ -50,7 +50,7 @@
- mactel/nv8600mgt_backlight.c \
- mactel/kbd_backlight.c mactel/ambient.c mactel/acpi.c
-
--LIBS = /usr/lib/libpci.a
-+LIBS = $(shell pkg-config libpci --libs)
- endif
-
- OBJS = $(SOURCES:%.c=%.o)
diff --git a/app-laptop/pommed/files/pommed-1.20.patch b/app-laptop/pommed/files/pommed-1.20.patch
deleted file mode 100644
index 8d29f976311a..000000000000
--- a/app-laptop/pommed/files/pommed-1.20.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -ru pommed-1.20~/pommed/Makefile pommed-1.20/pommed/Makefile
---- pommed-1.20~/pommed/Makefile 2008-06-28 12:48:04.000000000 +0200
-+++ pommed-1.20/pommed/Makefile 2008-06-28 13:04:15.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 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS)
-
- LDFLAGS = -pthread -lrt $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS)
-
-@@ -50,6 +50,7 @@
-
- CFLAGS += $(LIBPCI_CFLAGS)
- LDFLAGS += $(LIBPCI_LIBS)
-+ LIBS = $(LIBPCI_LIBS)
- else
- LIBS = /usr/lib/libpci.a
- LDFLAGS += -lz
diff --git a/app-laptop/pommed/pommed-1.14.ebuild b/app-laptop/pommed/pommed-1.14.ebuild
deleted file mode 100644
index 3036d393df86..000000000000
--- a/app-laptop/pommed/pommed-1.14.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# 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.14.ebuild,v 1.9 2008/05/17 21:12:44 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="2223"
-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"
-
-COMMON_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
- x11-libs/libXpm )"
-DEPEND="${COMMON_DEPEND}
- dev-util/pkgconfig"
-RDEPEND="${COMMON_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
-}
diff --git a/app-laptop/pommed/pommed-1.16.ebuild b/app-laptop/pommed/pommed-1.16.ebuild
deleted file mode 100644
index e0b20fa26bd1..000000000000
--- a/app-laptop/pommed/pommed-1.16.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# 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.4 2008/05/17 21:12:44 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"
-
-COMMON_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
- x11-libs/libXpm )"
-DEPEND="${COMMON_DEPEND}
- dev-util/pkgconfig"
-RDEPEND="${COMMON_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
-}
diff --git a/app-laptop/pommed/pommed-1.17.ebuild b/app-laptop/pommed/pommed-1.17.ebuild
deleted file mode 100644
index b261be20649d..000000000000
--- a/app-laptop/pommed/pommed-1.17.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# 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.17.ebuild,v 1.2 2008/05/17 21:12:44 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="2394"
-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"
-
-COMMON_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
- x11-libs/libXpm )"
-DEPEND="${COMMON_DEPEND}
- dev-util/pkgconfig"
-RDEPEND="${COMMON_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
-}
diff --git a/app-laptop/pommed/pommed-1.20.ebuild b/app-laptop/pommed/pommed-1.20.ebuild
deleted file mode 100644
index 5b62ea52fdc5..000000000000
--- a/app-laptop/pommed/pommed-1.20.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# 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.20.ebuild,v 1.4 2008/10/09 21:47:11 josejx 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="2465"
-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"
-
-COMMON_DEPEND="media-libs/alsa-lib
- x86? ( sys-apps/pciutils )
- amd64? ( sys-apps/pciutils )
- dev-libs/confuse
- >=sys-apps/dbus-1.1
- sys-libs/zlib
- media-libs/audiofile
- gtk? ( >=x11-libs/gtk+-2
- >=gnome-base/libglade-2 )
- X? ( x11-libs/libX11
- x11-libs/libXpm )"
-DEPEND="${COMMON_DEPEND}
- dev-util/pkgconfig"
-RDEPEND="${COMMON_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
-}