diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-08-22 11:21:13 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-08-22 11:21:13 +0000 |
commit | 79c6bbc7c08895df6934e8fe31ee96c085aa85e1 (patch) | |
tree | 5733c2504f24eca2b722d187a2a043163cef797a /app-misc/endeavour | |
parent | Patch from Dane Smith <smithdanea@gmail.com> to respect LDFLAGS, added QA fix... (diff) | |
download | historical-79c6bbc7c08895df6934e8fe31ee96c085aa85e1.tar.gz historical-79c6bbc7c08895df6934e8fe31ee96c085aa85e1.tar.bz2 historical-79c6bbc7c08895df6934e8fe31ee96c085aa85e1.zip |
Patch from Dane Smith <smithdanea@gmail.com> to respect LDFLAGS, added QA fixes, switched to EAPI2. Bug #333529
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'app-misc/endeavour')
-rw-r--r-- | app-misc/endeavour/ChangeLog | 11 | ||||
-rw-r--r-- | app-misc/endeavour/endeavour-2.7.3-r1.ebuild | 65 |
2 files changed, 74 insertions, 2 deletions
diff --git a/app-misc/endeavour/ChangeLog b/app-misc/endeavour/ChangeLog index 0c65ccde30db..b2a9376ed3bb 100644 --- a/app-misc/endeavour/ChangeLog +++ b/app-misc/endeavour/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-misc/endeavour -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/endeavour/ChangeLog,v 1.30 2009/01/18 22:42:04 angelos Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/endeavour/ChangeLog,v 1.31 2010/08/22 11:21:13 hwoarang Exp $ + +*endeavour-2.7.3-r1 (22 Aug 2010) + + 22 Aug 2010; Markos Chandras <hwoarang@gentoo.org> + +endeavour-2.7.3-r1.ebuild: + Patch from Dane Smith <smithdanea@gmail.com> to respect LDFLAGS, added QA + fixes, switched to EAPI2. Bug #333529 18 Jan 2009; Christoph Mende <angelos@gentoo.org> +files/endeavour-2.7.3-asneeded.patch, endeavour-2.7.3.ebuild: diff --git a/app-misc/endeavour/endeavour-2.7.3-r1.ebuild b/app-misc/endeavour/endeavour-2.7.3-r1.ebuild new file mode 100644 index 000000000000..7582b1e28ed9 --- /dev/null +++ b/app-misc/endeavour/endeavour-2.7.3-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/endeavour/endeavour-2.7.3-r1.ebuild,v 1.1 2010/08/22 11:21:13 hwoarang Exp $ + +inherit eutils + +M=endeavour2-mimetypes +DESCRIPTION="Powerful file and image browser" +HOMEPAGE="http://wolfpack.twu.net/Endeavour2/" +SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/${P}.tar.bz2 + ftp://wolfpack.twu.net/users/wolfpack/${M}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="joystick" + +DEPEND="app-arch/bzip2 + =x11-libs/gtk+-1.2* + >=media-libs/imlib-1.9.14 + x11-libs/libX11 + virtual/opengl + joystick? ( media-libs/libjsw )" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-amd64-gtk-flags.patch" \ + "${FILESDIR}"/${P}-asneeded.patch + + sed -i '/Linking modules.../{n;s/$(CPP)/$(CPP) $(LDFLAGS)/}' \ + endeavour2/makefile_append.ini || die +} + +src_compile() { + ./configure Linux --prefix=/usr $(use_enable joystick libjsw) || die + emake CC=$(tc-getCC) CPP=$(tc-getCXX) || die "Parallel make failed" +} + +src_install() { + dodoc AUTHORS HACKING README TODO || die + + cd endeavour2 + dobin endeavour2 || die + bunzip2 endeavour2.1.bz2 + doman endeavour2.1 || die + + dodir /usr/share/endeavour2 || die + cp -R data/* "${D}"/usr/share/endeavour2 || die + dodir /usr/share/endeavour2/icons/ || die + cp -R images/* "${D}"/usr/share/endeavour2/icons/ + + cd images + insinto /usr/share/icons + doins endeavour_48x48.xpm image_browser_48x48.xpm icon_trash_48x48.xpm \ + icon_trash_empty_48x48.xpm || die + + # install mimetypes + cd "${WORKDIR}"/${M} + mv README README.mimetypes + dodoc README.mimetypes || die + insinto /usr/share/endeavour2/ + doins mimetypes.ini || die +} |