summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2008-12-21 13:30:51 +0000
committerCédric Krier <cedk@gentoo.org>2008-12-21 13:30:51 +0000
commit72df17fc3f63e0f574c1eb7b58cfeca0982ed129 (patch)
tree1ebe45a98a0a600ab5b26f2ac652950bdbb6997f /app-laptop/pommed
parentx86 stable, bug #250466 (diff)
downloadgentoo-2-72df17fc3f63e0f574c1eb7b58cfeca0982ed129.tar.gz
gentoo-2-72df17fc3f63e0f574c1eb7b58cfeca0982ed129.tar.bz2
gentoo-2-72df17fc3f63e0f574c1eb7b58cfeca0982ed129.zip
Remove old
(Portage version: 2.1.4.5)
Diffstat (limited to 'app-laptop/pommed')
-rw-r--r--app-laptop/pommed/ChangeLog8
-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
9 files changed, 7 insertions, 521 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/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
-}