diff options
Diffstat (limited to 'games-util/eureka/eureka-1.27b.ebuild')
-rw-r--r-- | games-util/eureka/eureka-1.27b.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/games-util/eureka/eureka-1.27b.ebuild b/games-util/eureka/eureka-1.27b.ebuild new file mode 100644 index 000000000000..f31ff7c9e486 --- /dev/null +++ b/games-util/eureka/eureka-1.27b.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop toolchain-funcs xdg + +DESCRIPTION="Graphical map editor for games using the DOOM engine" +HOMEPAGE="http://eureka-editor.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}-editor/Eureka/${PV%[a-z]}/${P}-source.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+opengl" + +DEPEND=" + media-libs/glu + sys-libs/zlib + x11-libs/fltk:1[opengl?] + opengl? ( virtual/opengl ) +" + +RDEPEND=" + ${DEPEND} +" + +S="${WORKDIR}/${P}-source" + +PATCHES=( + "${FILESDIR}"/${PN}-Makefile.patch +) + +DOCS=( + AUTHORS.txt + CHANGES.txt + README.txt + TODO.txt +) + +src_compile() { + emake \ + CXX="$(tc-getCXX)" \ + OPENGL="$(usex opengl 1 0)" +} + +src_install() { + emake install PREFIX="${ED}/usr" + einstalldocs + + doicon -s 32 misc/${PN}.xpm + domenu misc/${PN}.desktop +} |