| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.1.0 | 7 | ~amd64 ~x86 | 0 |
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Simplify the creation of computer graphics software"
HOMEPAGE="http://mgarland.org/software/libgfx.html"
SRC_URI="http://mgarland.org/dist/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
DEPEND="
virtual/opengl
x11-libs/fltk
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${PV}-gcc-4.3.patch
"${FILESDIR}"/${PV}-libPNG-1.2.5.patch
)
src_compile() {
cd src || die
default
}
src_install() {
use static-libs && dolib.a src/*.a
doheader include/gfx/gfx.h
dodoc doc/*
}
src_test() {
cd tests || die
sed -i -e 's/t-vec.cxx t-img.cxx t-gui.cxx t-glimg.cxx t-script.cxx t-glext.cxx/t-vec.cxx t-img.cxx t-script.cxx/' Makefile
emake
}
virtual/opengl x11-libs/fltk
virtual/opengl x11-libs/fltk
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libgfx-1.1.0.tar.gz | 145470 bytes | http://mgarland.org/dist/libgfx-1.1.0.tar.gz |