summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-18 23:06:56 +0200
committerDavid Seifert <soap@gentoo.org>2021-06-18 23:06:56 +0200
commitadf82790006c5e5c02a23cedf4b57dc5e7e8c015 (patch)
tree4c94b373ed74b36c1c0d660d539abe055c254057 /media-gfx/tachyon
parentgames-emulation/zsnes: respect ${PKG_CONFIG} (diff)
downloadgentoo-adf82790006c5e5c02a23cedf4b57dc5e7e8c015.tar.gz
gentoo-adf82790006c5e5c02a23cedf4b57dc5e7e8c015.tar.bz2
gentoo-adf82790006c5e5c02a23cedf4b57dc5e7e8c015.zip
media-gfx/tachyon: tidy up ebuild, pkgconfig in BDEPEND
Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-gfx/tachyon')
-rw-r--r--media-gfx/tachyon/tachyon-0.99_beta6-r2.ebuild23
1 files changed, 12 insertions, 11 deletions
diff --git a/media-gfx/tachyon/tachyon-0.99_beta6-r2.ebuild b/media-gfx/tachyon/tachyon-0.99_beta6-r2.ebuild
index 73976dc2018e..ab7037d8bf25 100644
--- a/media-gfx/tachyon/tachyon-0.99_beta6-r2.ebuild
+++ b/media-gfx/tachyon/tachyon-0.99_beta6-r2.ebuild
@@ -11,16 +11,14 @@ MY_P="${PN}-${MY_PV}"
DESCRIPTION="A portable, high performance parallel ray tracing system"
HOMEPAGE="http://jedi.ks.uiuc.edu/~johns/raytracer/"
SRC_URI="http://jedi.ks.uiuc.edu/~johns/raytracer/files/${MY_PV}/${MY_P}.tar.gz"
+S="${WORKDIR}/${PN}/unix"
-SLOT="0"
LICENSE="BSD"
+SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x64-macos"
IUSE="doc examples jpeg mpi +opengl openmp png threads"
-PATCHES=( "${FILESDIR}/${PF}-ldflags.patch"
- "${FILESDIR}/${PF}-shared.patch" )
-
-CDEPEND="
+DEPEND="
jpeg? ( virtual/jpeg:0= )
mpi? ( virtual/mpi )
opengl? (
@@ -28,14 +26,17 @@ CDEPEND="
virtual/opengl
)
png? ( media-libs/libpng:0= )"
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-RDEPEND="${CDEPEND}"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
-S="${WORKDIR}/${PN}/unix"
+PATCHES=(
+ "${FILESDIR}/${PF}-ldflags.patch"
+ "${FILESDIR}/${PF}-shared.patch"
+)
src_prepare() {
emakeconf=()
+
use jpeg && \
emakeconf+=(
USEJPEG=-DUSEJPEG
@@ -47,7 +48,7 @@ src_prepare() {
USEPNG=-DUSEPNG
PNGINC="$($(tc-getPKG_CONFIG) --cflags libpng)"
PNGLIB="$($(tc-getPKG_CONFIG) --libs libpng)"
- )
+ )
if use mpi ; then
sed \
@@ -96,7 +97,7 @@ src_install() {
cd .. || die
dodoc Changes README
- insinto "/usr/include/${PN}"
+ insinto /usr/include/${PN}
doins src/*.h
use doc && docinto html && dodoc -r docs/tachyon/.