diff options
5 files changed, 88 insertions, 105 deletions
diff --git a/x11-plugins/purple-plugin_pack/ChangeLog b/x11-plugins/purple-plugin_pack/ChangeLog index f64c80cfd3cc..4de3e971a1ac 100644 --- a/x11-plugins/purple-plugin_pack/ChangeLog +++ b/x11-plugins/purple-plugin_pack/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for x11-plugins/purple-plugin_pack # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog,v 1.14 2008/02/21 20:29:57 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog,v 1.15 2008/04/01 02:48:18 tester Exp $ + +*purple-plugin_pack-2.3.0 (01 Apr 2008) + + 01 Apr 2008; Olivier Crête <tester@gentoo.org> + -purple-plugin_pack-1.0.ebuild, -purple-plugin_pack-2.1.1.ebuild, + purple-plugin_pack-2.2.0.ebuild, +purple-plugin_pack-2.3.0.ebuild: + Version bump, mark stable on amd64, remove old 21 Feb 2008; Jeroen Roovers <jer@gentoo.org> purple-plugin_pack-2.2.0.ebuild: diff --git a/x11-plugins/purple-plugin_pack/purple-plugin_pack-1.0.ebuild b/x11-plugins/purple-plugin_pack/purple-plugin_pack-1.0.ebuild deleted file mode 100644 index 400295dad704..000000000000 --- a/x11-plugins/purple-plugin_pack/purple-plugin_pack-1.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/purple-plugin_pack-1.0.ebuild,v 1.7 2007/09/28 18:29:24 nixnut Exp $ - -MY_P="$PN-${PV}" - -DESCRIPTION="A package with many different plugins for pidgin and libpurple" -HOMEPAGE="http://plugins.guifications.org" -SRC_URI="http://downloads.guifications.org/plugins/Plugin%20Pack/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 hppa ppc x86" -PLUGINS="autorejoin awaynotify bashorg bit blistops dice difftopic eight_ball -flip gRIM groupmsg irssi lastseen listhandler mystatusbox nicksaid oldlogger -plonkers sepandtab showoffline simfix slashexec sslinfo xchat-chats" -IUSE="talkfilters debug" - -DEPEND="net-im/pidgin - talkfilters? ( app-text/talkfilters )" -RDEPEND="${DEPEND}" - -S=${WORKDIR}/${MY_P} - -src_compile() { - # XMMS Remote is disabled due to XMMS being masked - # - # Disabled due to non-working status: - # buddytime - # chronic - # Stocker (http://plugins.guifications.org/trac/wiki/stocker) - # - # Disabled due to being included in current pidgin release: - # Auto Accept - # Auto Reply - # Buddy Note - # convcolors - # Marker Line - # New Line - # Offline Message - - local plugins=${PLUGINS} - - use talkfilers && plugins="${plugins},talkfilters" - - econf --with-plugins="${plugins}" $(use_enable debug) || die "econf failed" - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog NEWS README TODO VERSION -} diff --git a/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.1.1.ebuild b/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.1.1.ebuild deleted file mode 100644 index 8ffbfebf5a18..000000000000 --- a/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.1.1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.1.1.ebuild,v 1.2 2008/02/18 15:55:31 jer Exp $ - -DESCRIPTION="A package with many different plugins for pidgin and libpurple" -HOMEPAGE="http://plugins.guifications.org" -SRC_URI="http://downloads.guifications.org/plugins/Plugin%20Pack/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~hppa ~x86" -PLUGINS="autorejoin awaynotify bashorg bit blistops dice difftopic eight_ball -flip gRIM groupmsg irssi lastseen listhandler mystatusbox nicksaid oldlogger -plonkers sepandtab showoffline simfix slashexec sslinfo xchat-chats" -IUSE="talkfilters debug" - -DEPEND="net-im/pidgin - talkfilters? ( app-text/talkfilters )" -RDEPEND="${DEPEND}" - -src_compile() { - # XMMS Remote is disabled due to XMMS being masked - # - # Disabled due to non-working status: - # buddytime - # chronic - # Stocker (http://plugins.guifications.org/trac/wiki/stocker) - # - # Disabled due to being included in current pidgin release: - # Auto Accept - # Auto Reply - # Buddy Note - # convcolors - # Marker Line - # New Line - # Offline Message - - local plugins=${PLUGINS} - - use talkfilers && plugins="${plugins},talkfilters" - - econf --with-plugins="${plugins}" $(use_enable debug) || die "econf failed" - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog NEWS README TODO VERSION -} diff --git a/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.2.0.ebuild b/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.2.0.ebuild index f5396f0d7843..c95d026c5d32 100644 --- a/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.2.0.ebuild +++ b/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.2.0.ebuild,v 1.6 2008/02/21 20:29:57 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.2.0.ebuild,v 1.7 2008/04/01 02:48:18 tester Exp $ inherit eutils @@ -10,7 +10,7 @@ SRC_URI="http://downloads.guifications.org/plugins/Plugin%20Pack/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 hppa ~ppc x86" +KEYWORDS="amd64 hppa ~ppc x86" IUSE="talkfilters debug gtk ncurses" DEPEND="net-im/pidgin diff --git a/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.3.0.ebuild b/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.3.0.ebuild new file mode 100644 index 000000000000..da5bc7052b32 --- /dev/null +++ b/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.3.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.3.0.ebuild,v 1.1 2008/04/01 02:48:18 tester Exp $ + +inherit eutils + +DESCRIPTION="A package with many different plugins for pidgin and libpurple" +HOMEPAGE="http://plugins.guifications.org" +SRC_URI="http://downloads.guifications.org/plugins/Plugin%20Pack/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86" +IUSE="talkfilters debug gtk ncurses" + +DEPEND="net-im/pidgin + talkfilters? ( app-text/talkfilters )" +RDEPEND="${DEPEND}" + +pkg_setup() { + if use gtk && ! built_with_use net-im/pidgin gtk; then + eerror "You need to compile net-im/pidgin with USE=gtk to be" + eerror "able to compile these plugins with gtk" + die "Missing gtk USE flag on net-im/pidgin" + fi + + if use ncurses && ! built_with_use net-im/pidgin ncurses; then + eerror "You need to compile net-im/pidgin with USE=ncurses to be" + eerror "able to compile these plugins with ncurses" + die "Missing ncurses USE flag on net-im/pidgin" + fi +} + +src_compile() { + local plugins="" + + # WARNING + # This code to select plugins wont work with 2.2.0 + # because it ignores --with-plugins completely + # and just always builds everything + + # XMMS Remote is disabled due to XMMS being masked + DISABLED_PLUGINS="xmmsremote switchspell" + + use talkfilters || DISABLED_PLUGINS="${DISABLED_PLUGINS} talkfilters" + + for i in *; do + [ -d ${i} ] || continue + # We manually disable these plugins + if [ -z "${DISABLED_PLUGINS##*${i}*}" ]; then + continue + fi + + # Only directories with .build files are meant to be built + if [ ! -e ${i}/.build ]; then + continue + fi + + # Those should be generic# + if [ -e ${i}/.purple-plugin ]; then + plugins="${plugins},${i}" + # These require gtk (ie pidgin) + elif [ -e ${i}/.pidgin-plugin ]; then + use gtk && plugins="${plugins},${i}" + # These require ncurses (aka finch) + elif [ -e ${i}/.finch-plugin ]; then + use ncurses && plugins="${plugins},${i}" + fi + done + + econf --with-plugins="${plugins:1}" $(use_enable debug) || die "econf failed" + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README TODO VERSION +} |