diff options
author | Simon Stelling <blubb@gentoo.org> | 2005-06-25 11:41:38 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2005-06-25 11:41:38 +0000 |
commit | 53ed06f67830cedc145975f967ff5839fdbe1999 (patch) | |
tree | 5e209fc35204924e0564708b1528051f4c6d98f7 /net-im/gajim | |
parent | Added to ~ppc (diff) | |
download | gentoo-2-53ed06f67830cedc145975f967ff5839fdbe1999.tar.gz gentoo-2-53ed06f67830cedc145975f967ff5839fdbe1999.tar.bz2 gentoo-2-53ed06f67830cedc145975f967ff5839fdbe1999.zip |
make gajim multilib-capable
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-im/gajim')
-rw-r--r-- | net-im/gajim/ChangeLog | 6 | ||||
-rw-r--r-- | net-im/gajim/files/gajim-0.7.1-multilib.patch | 22 | ||||
-rw-r--r-- | net-im/gajim/gajim-0.7.1.ebuild | 15 |
3 files changed, 38 insertions, 5 deletions
diff --git a/net-im/gajim/ChangeLog b/net-im/gajim/ChangeLog index c081a27c2079..ee11e916df1f 100644 --- a/net-im/gajim/ChangeLog +++ b/net-im/gajim/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-im/gajim # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.2 2005/06/06 14:29:56 sergey Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.3 2005/06/25 11:41:38 blubb Exp $ + + 25 Jun 2005; Simon Stelling <blubb@gentoo.org> + +files/gajim-0.7.1-multilib.patch, gajim-0.7.1.ebuild: + make gajim multilib-capable 06 Jun 2005; Sergey Kuleshov <svyatogor@gentoo.org> gajim-0.7.1.ebuild: Added nls and spell USE flags. diff --git a/net-im/gajim/files/gajim-0.7.1-multilib.patch b/net-im/gajim/files/gajim-0.7.1-multilib.patch new file mode 100644 index 000000000000..d451637a97ba --- /dev/null +++ b/net-im/gajim/files/gajim-0.7.1-multilib.patch @@ -0,0 +1,22 @@ +--- gajim-0.7.1/Makefile 2005-06-05 12:56:42.000000000 +0200 ++++ gajim-0.7.1/Makefile 2005-06-25 13:05:42.000000000 +0200 +@@ -3,6 +3,7 @@ + MODULES = src src/common po + PREFIX = /usr + DESTDIR = / ++LIBDIR = lib + + FIND = find . \( -name '*.glade' -o -name '*.py' -o -name '*.xpm' -o -name '*.gif' -o -name '*.png' -o -name '*.mo' -o -name '*.wav' \) + +@@ -67,9 +68,9 @@ + cp gajim.desktop "$(DESTDIR)$(PREFIX)/share/applications/"; + mkdir -p "$(DESTDIR)$(PREFIX)/share/man/man1"; + cp gajim.1 "$(DESTDIR)$(PREFIX)/share/man/man1"; +- mkdir -p "$(DESTDIR)$(PREFIX)/lib/gajim"; ++ mkdir -p "$(DESTDIR)$(PREFIX)/$(LIBDIR)/gajim"; + for f in $(FILES_LIB) ; do \ +- cp "$$f" "$(DESTDIR)$(PREFIX)/lib/gajim/"; \ ++ cp "$$f" "$(DESTDIR)$(PREFIX)/$(LIBDIR)/gajim/"; \ + done + mkdir -p "$(DESTDIR)$(PREFIX)/bin"; + for s in $(SCRIPTS) ; do \ diff --git a/net-im/gajim/gajim-0.7.1.ebuild b/net-im/gajim/gajim-0.7.1.ebuild index 7dd52a2851cd..39bbd735afd0 100644 --- a/net-im/gajim/gajim-0.7.1.ebuild +++ b/net-im/gajim/gajim-0.7.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/gajim-0.7.1.ebuild,v 1.3 2005/06/09 13:03:32 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/gajim-0.7.1.ebuild,v 1.4 2005/06/25 11:41:38 blubb Exp $ -inherit virtualx +inherit virtualx multilib eutils DESCRIPTION="Jabber client written in PyGTK." HOMEPAGE="http://www.gajim.org/" @@ -18,14 +18,21 @@ DEPEND=">=dev-python/pygtk-2.4.0 >=x11-libs/gtk+-2.4 spell? ( >=app-text/gtkspell-2.0.4 )" +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${P}-multilib.patch +} + src_compile() { targets="idle trayicon" `use nls` && targets="${targets} translation" `use spell` && targets="${targets} gtkspell" - Xemake ${targets} || die "Xmake failed" + Xemake ${targets} || die "Xmake failed" } src_install() { - Xemake DESTDIR=${D} install || die + Xemake DESTDIR=${D} LIBDIR=$(get_libdir) install || die dodoc README AUTHORS COPYING } |