summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-08-16 09:11:58 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-08-16 09:11:58 +0000
commit7912c92dd80c89ca751a743dee59ed96ce8b9139 (patch)
tree2554253b582ad4c3d5162d9ed9836cde5a52c1bb /x11-plugins
parentMigrate to EAPI 2 in order to get rid of built_with_use. (diff)
downloadgentoo-2-7912c92dd80c89ca751a743dee59ed96ce8b9139.tar.gz
gentoo-2-7912c92dd80c89ca751a743dee59ed96ce8b9139.tar.bz2
gentoo-2-7912c92dd80c89ca751a743dee59ed96ce8b9139.zip
Migrate to EAPI 2 in order to get rid of built_with_use.
(Portage version: 2.2_rc38/cvs/Linux i686)
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/pidgin-libnotify/ChangeLog6
-rw-r--r--x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14.ebuild25
2 files changed, 13 insertions, 18 deletions
diff --git a/x11-plugins/pidgin-libnotify/ChangeLog b/x11-plugins/pidgin-libnotify/ChangeLog
index d3919a0e2bd9..a925c2e666a7 100644
--- a/x11-plugins/pidgin-libnotify/ChangeLog
+++ b/x11-plugins/pidgin-libnotify/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-plugins/pidgin-libnotify
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-libnotify/ChangeLog,v 1.15 2009/02/01 02:01:38 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-libnotify/ChangeLog,v 1.16 2009/08/16 09:11:58 betelgeuse Exp $
+
+ 16 Aug 2009; Petteri Räty <betelgeuse@gentoo.org>
+ pidgin-libnotify-0.14.ebuild:
+ Migrate to EAPI 2 in order to get rid of built_with_use.
*pidgin-libnotify-0.14 (01 Feb 2009)
diff --git a/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14.ebuild b/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14.ebuild
index 352f68a8aebe..212d35c7cc80 100644
--- a/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14.ebuild
+++ b/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14.ebuild,v 1.1 2009/02/01 02:01:38 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14.ebuild,v 1.2 2009/08/16 09:11:58 betelgeuse Exp $
+
+EAPI="2"
inherit eutils
@@ -14,37 +16,26 @@ KEYWORDS="~amd64 ~hppa ~ppc ~x86"
IUSE="nls debug"
RDEPEND=">=x11-libs/libnotify-0.3.2
- net-im/pidgin
+ net-im/pidgin[gtk]
>=x11-libs/gtk+-2"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
-pkg_setup() {
- if ! built_with_use net-im/pidgin gtk; then
- eerror "You need to compile net-im/pidgin with USE=gtk"
- die "Missing gtk USE flag on net-im/pidgin"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/pidgin-libnotify-showbutton.patch
}
-src_compile() {
+src_configure() {
local myconf
myconf="$(use_enable debug) \
$(use_enable nls)"
econf ${myconf} || die "configure failed"
-
- emake || die "make failed"
}
src_install() {
- make install DESTDIR="${D}" || die "make install failed"
- dodoc AUTHORS ChangeLog INSTALL NEWS README TODO VERSION
+ emake install DESTDIR="${D}" || die "make install failed"
+ dodoc AUTHORS ChangeLog INSTALL NEWS README TODO VERSION || die
}