You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/fireflies/fireflies-2.07-r1.ebuild

45 lines
1.1 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/fireflies/fireflies-2.07-r1.ebuild,v 1.5 2012/01/04 21:35:00 ranger Exp $
EAPI=4
inherit autotools eutils multilib
DESCRIPTION="Fireflies screensaver: Wicked cool eye candy"
HOMEPAGE="http://somewhere.fscked.org/proj/fireflies/"
SRC_URI="http://somewhere.fscked.org/proj/${PN}/files/${P}.tar.gz"
LICENSE="as-is GPL-2" # as-is is for libgfx, see src_unpack()
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
RDEPEND="media-libs/libsdl
x11-libs/libX11
virtual/opengl"
DEPEND="${RDEPEND}"
DOCS=( ChangeLog debian/README.Debian README )
src_unpack() {
unpack ${A}
cd "${S}"
tar -xzf libgfx-1.0.1.tar.gz
}
src_prepare() {
epatch \
"${FILESDIR}"/${P}-build_system.patch \
"${FILESDIR}"/${P}-gcc43.patch \
"${FILESDIR}"/${P}-gcc44.patch \
"${FILESDIR}"/${P}-libgfx-libpng15.patch
eautoreconf
}
src_configure() {
econf \
--with-confdir=/usr/share/xscreensaver/config \
--with-bindir=/usr/$(get_libdir)/misc/xscreensaver
}