]> Pileus Git - ~andy/sunrise/commitdiff
x11-plugins/gaim-plugin_pack: New Ebuild for bug 134430
authorJürgen Geuter (tante) <tante@emptiness.de>
Tue, 6 Mar 2007 20:52:17 +0000 (20:52 +0000)
committerJürgen Geuter (tante) <tante@emptiness.de>
Tue, 6 Mar 2007 20:52:17 +0000 (20:52 +0000)
svn path=/sunrise/; revision=3152

x11-plugins/gaim-plugin_pack/ChangeLog [new file with mode: 0644]
x11-plugins/gaim-plugin_pack/gaim-plugin_pack-1.0_beta6.ebuild [new file with mode: 0755]

diff --git a/x11-plugins/gaim-plugin_pack/ChangeLog b/x11-plugins/gaim-plugin_pack/ChangeLog
new file mode 100644 (file)
index 0000000..d10193a
--- /dev/null
@@ -0,0 +1,7 @@
+# ChangeLog for x11-plugins/gaim-plugin_pack
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  06 Mar 2007; Jürgen Geuter (tante) <tante@emptiness.de> ChangeLog:
+  New Ebuild for bug 134430
+
diff --git a/x11-plugins/gaim-plugin_pack/gaim-plugin_pack-1.0_beta6.ebuild b/x11-plugins/gaim-plugin_pack/gaim-plugin_pack-1.0_beta6.ebuild
new file mode 100755 (executable)
index 0000000..a0584f9
--- /dev/null
@@ -0,0 +1,70 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+MY_PV=${PV/_beta/beta}
+MY_P="$PN-${MY_PV}"
+
+DESCRIPTION="A package with many different plugins for gaim"
+HOMEPAGE="http://gaim.guifications.org"
+SRC_URI="http://downloads.guifications.org/gaim-plugins/Plugin%20Pack/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+FLAGS="autorejoin awaynotify bit blistops dice difftopic eight_ball flip
+       gRIM groupmsg irssi lastseen listhandler mystatusbox nicksaid oldlogger
+       plonkers sepandtab showoffline simfix slashexec sslinfo talkfilters
+       xchat-chats"
+IUSE="${FLAGS} bashorg debug"
+
+DEPEND="=net-im/gaim-2.0.0_beta6
+        talkfilters? ( app-text/talkfilters )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+       local myconf
+       einfo "The plugins that are to be built are configured via use flags."
+       einfo "If none of the optional use flags is set _ALL_ plugins are built,"
+       einfo "so adjusting /etc/portage/package.use might be a good idea before merging."
+       # XMMS Remote is disabled due to XMMS being masked
+       #
+       # Disabled due to non-working status:
+       # Gaim Schedule (http://gaim.guifications.org/trac/wiki/GaimSchedule)
+       # buddytime
+       # chronic
+       # Stocker (http://gaim.guifications.org/trac/wiki/stocker)
+       #
+       # Disabled due to being included in current gaim release:
+       # Auto Accept
+       # Auto Reply
+       # Buddy Note
+       # convcolors
+       # Marker Line
+       # New Line
+       # Offline Message
+
+       myconf="--with-plugins="
+
+       # bashorg has to add "bash" to the configure
+       if use bashorg ; then
+               myconf="${myconf}bash,"
+       fi
+
+       for flag in $FLAGS ; do 
+               if use $flag ; then
+                       myconf="${myconf}${flag},"
+               fi
+       done
+
+       econf ${myconf} $(use_enable debug)|| die "Configuration failed with the configuration $myconf"
+       emake -j1 || die "Make failed"
+
+}
+
+src_install() {
+       make DESTDIR=${D} install || die
+       dodoc AUTHORS ChangeLog NEWS README TODO VERSION
+}