/[gentoo-x86]/media-gfx/mandelbulber/mandelbulber-1.12.1.ebuild
Gentoo

Contents of /media-gfx/mandelbulber/mandelbulber-1.12.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Apr 8 15:05:56 2013 UTC (5 years, 6 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +7 -6 lines
Include string.h where required for memcpy() or memset() since it's no longer implicitly pulled in by libpng since 1.6.0 wrt #464972 by Kacper Kowalik

(Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/mandelbulber/mandelbulber-1.12.1.ebuild,v 1.1 2012/08/03 08:35:39 xarthisius Exp $
4
5 EAPI=5
6 inherit eutils toolchain-funcs versionator
7
8 MY_P=${PN}$(replace_version_separator 2 '-' )
9
10 DESCRIPTION="Tool to render 3D fractals"
11 HOMEPAGE="http://sites.google.com/site/mandelbulber/home"
12 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE=""
18
19 RDEPEND="x11-libs/gtk+:2
20 >=media-libs/libsndfile-1
21 >=media-libs/libpng-1.4:0=
22 virtual/jpeg"
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig"
25
26 S=${WORKDIR}/${MY_P}
27
28 src_prepare() {
29 epatch \
30 "${FILESDIR}"/${PN}-1.11-qa.patch \
31 "${FILESDIR}"/${P}-memcpy_and_memset.patch
32 }
33
34 src_compile() {
35 emake CXX="$(tc-getCXX)" -C makefiles all
36 }
37
38 src_install() {
39 dobin makefiles/${PN}
40 dodoc README NEWS
41 insinto /usr/share/${PN}
42 doins -r usr/share/*
43 }
44
45 pkg_postinst() {
46 elog "Before you run ${PN} please copy /usr/share/${PN}/* to \${HOME}/.${PN}"
47 }

  ViewVC Help
Powered by ViewVC 1.1.20