diff options
author | Cédric Krier <cedk@gentoo.org> | 2007-08-11 17:50:36 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2007-08-11 17:50:36 +0000 |
commit | 530b15eeac9c4694abd220098b58bb79c773a289 (patch) | |
tree | b7c5fd77c127963846952d1692a1a162b29dae16 /app-laptop/pommed | |
parent | ^^^ Maintainer (diff) | |
download | gentoo-2-530b15eeac9c4694abd220098b58bb79c773a289.tar.gz gentoo-2-530b15eeac9c4694abd220098b58bb79c773a289.tar.bz2 gentoo-2-530b15eeac9c4694abd220098b58bb79c773a289.zip |
Version bump
(Portage version: 2.1.2.11)
Diffstat (limited to 'app-laptop/pommed')
-rw-r--r-- | app-laptop/pommed/ChangeLog | 7 | ||||
-rw-r--r-- | app-laptop/pommed/files/digest-pommed-1.8 | 3 | ||||
-rw-r--r-- | app-laptop/pommed/pommed-1.8.ebuild | 97 |
3 files changed, 106 insertions, 1 deletions
diff --git a/app-laptop/pommed/ChangeLog b/app-laptop/pommed/ChangeLog index 8544055f9d59..0e054e9d629c 100644 --- a/app-laptop/pommed/ChangeLog +++ b/app-laptop/pommed/ChangeLog @@ -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.9 2007/08/01 17:06:36 metalgod Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/ChangeLog,v 1.10 2007/08/11 17:50:36 cedk Exp $ + +*pommed-1.8 (11 Aug 2007) + + 11 Aug 2007; Cédric Krier <cedk@gentoo.org> +pommed-1.8.ebuild: + Version bump 01 Aug 2007; <metalgod@gentoo.org> pommed-1.5.ebuild: Stable on amd64. Bug #185314 diff --git a/app-laptop/pommed/files/digest-pommed-1.8 b/app-laptop/pommed/files/digest-pommed-1.8 new file mode 100644 index 000000000000..af9f98a47d2a --- /dev/null +++ b/app-laptop/pommed/files/digest-pommed-1.8 @@ -0,0 +1,3 @@ +MD5 81b2ac08ed996a29ff2374a4e05b3316 pommed-1.8.tar.gz 981629 +RMD160 e64b2e21c9c82808475988e75ccfb40f23feb482 pommed-1.8.tar.gz 981629 +SHA256 e1c659875c349224c01fa1af4dacf191595a593f3e86bf06d135449870eeccc9 pommed-1.8.tar.gz 981629 diff --git a/app-laptop/pommed/pommed-1.8.ebuild b/app-laptop/pommed/pommed-1.8.ebuild new file mode 100644 index 000000000000..86bd738c59e2 --- /dev/null +++ b/app-laptop/pommed/pommed-1.8.ebuild @@ -0,0 +1,97 @@ +# 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.8.ebuild,v 1.1 2007/08/11 17:50:36 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" +ALIOTH_NUMBER="2075" +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 + gtk? ( >=x11-libs/gtk+-2 + >=gnome-base/libglade-2 + media-libs/audiofile ) + X? ( x11-libs/libX11 )" +RDEPEND="${DEPEND} + virtual/eject" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch ${FILESDIR}/${PN}-1.7.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 + 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 +} |