diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-12-17 13:53:53 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-12-17 13:53:53 +0000 |
commit | 581e1ac1590186d0032e54ea8463fe6567e2c308 (patch) | |
tree | 19f4dfeb8308eb2677536498d0dea8623a77bc90 /media-video/dfbsee/dfbsee-0.7.4-r1.ebuild | |
parent | Added ~ppc64 (diff) | |
download | gentoo-2-581e1ac1590186d0032e54ea8463fe6567e2c308.tar.gz gentoo-2-581e1ac1590186d0032e54ea8463fe6567e2c308.tar.bz2 gentoo-2-581e1ac1590186d0032e54ea8463fe6567e2c308.zip |
Added patches to build with recent directfb versions and with GCC4. Thanks to Richard Juckes in bugs #114842 and #114843.
(Portage version: 2.1_pre1)
Diffstat (limited to 'media-video/dfbsee/dfbsee-0.7.4-r1.ebuild')
-rw-r--r-- | media-video/dfbsee/dfbsee-0.7.4-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/media-video/dfbsee/dfbsee-0.7.4-r1.ebuild b/media-video/dfbsee/dfbsee-0.7.4-r1.ebuild new file mode 100644 index 000000000000..11d1391614dc --- /dev/null +++ b/media-video/dfbsee/dfbsee-0.7.4-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/dfbsee/dfbsee-0.7.4-r1.ebuild,v 1.1 2005/12/17 13:53:52 flameeyes Exp $ + +inherit flag-o-matic eutils + +MY_PN="DFBSee" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="DFBSee is image viewer and video player based on DirectFB" +SRC_URI="http://www.directfb.org/download/${MY_P}.tar.gz" +HOMEPAGE="http://www.directfb.org/dfbsee.xml" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 -sparc ~x86" +IUSE="" + +RDEPEND=">=dev-libs/DirectFB-0.9.24" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + + epatch "${FILESDIR}/${P}-direcfb-0.9.24.patch" + epatch "${FILESDIR}/${P}-gcc4.patch" +} + +src_compile() { + append-ldflags $(bindnow-flags) + + econf + emake || die "make failed" +} + +src_install () { + make DESTDIR=${D} install || die + dodoc README AUTHORS +} |