diff options
author | James Le Cuirot <chewi@gentoo.org> | 2019-11-22 22:16:02 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2019-11-22 22:16:02 +0000 |
commit | 6cb29ec9ec1566aad2dc294c129ee302627f91fb (patch) | |
tree | c9efc223bce1a626c84c2e1d6b43af79dc98959e /media-libs/openglide | |
parent | dev-util/patchelf: Drop old 0.8 (diff) | |
download | gentoo-6cb29ec9ec1566aad2dc294c129ee302627f91fb.tar.gz gentoo-6cb29ec9ec1566aad2dc294c129ee302627f91fb.tar.bz2 gentoo-6cb29ec9ec1566aad2dc294c129ee302627f91fb.zip |
media-libs/openglide: Bump to 0.09_rc9_p20191120, EAPI 7
Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-libs/openglide')
-rw-r--r-- | media-libs/openglide/Manifest | 1 | ||||
-rw-r--r-- | media-libs/openglide/openglide-0.09_rc9_p20191120.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/media-libs/openglide/Manifest b/media-libs/openglide/Manifest index 054296bfa699..3d6f69773e98 100644 --- a/media-libs/openglide/Manifest +++ b/media-libs/openglide/Manifest @@ -1 +1,2 @@ DIST openglide-0.09_rc9_p20160913.tar.gz 450667 BLAKE2B d8b362fb163e7b3a41632b00fc884b861cf6d44f507896180998d1f90f9bf92132fb62af678b1c141d658902f2d0e214a84c9e817e201c5ced7881e050b5ad68 SHA512 4a64b74c2a96639d9fac732f72419ced652989b347b484f4abf7ac6a33d7b8d89ee56e6c04aaaf7475cae332b69a98ec0b7c58a9aac25a24d8acaad92392cb38 +DIST openglide-0.09_rc9_p20191120.tar.gz 470278 BLAKE2B 234b83b4688e120f6ea00f5583c7546d8a7a4d2ca7ab12d52a7a4f52a5375508418866b7c9547ba495c48abe9ff4caf49a104de1a34f208db1028082bb71fb46 SHA512 c83c1c04aa77fe47f381385c8d946da49c2eb8ceba0164b660af1564bfb580015f196cd4063bb73f2c76405517f90e8b5a6e7969afbdd7ef2c9fce7520227478 diff --git a/media-libs/openglide/openglide-0.09_rc9_p20191120.ebuild b/media-libs/openglide/openglide-0.09_rc9_p20191120.ebuild new file mode 100644 index 000000000000..967005ed1c3d --- /dev/null +++ b/media-libs/openglide/openglide-0.09_rc9_p20191120.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +COMMIT="c300160d0a8292bc04e79dd59e6cc178aa648dec" + +inherit autotools eutils multilib-minimal + +DESCRIPTION="A Glide to OpenGL wrapper" +HOMEPAGE="http://openglide.sourceforge.net/" +SRC_URI="https://github.com/voyageur/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+sdl static-libs" + +RDEPEND="virtual/glu[${MULTILIB_USEDEP}] + virtual/opengl[${MULTILIB_USEDEP}] + sdl? ( + media-libs/libsdl[${MULTILIB_USEDEP}] + ) + !sdl? ( + x11-libs/libICE[${MULTILIB_USEDEP}] + x11-libs/libSM[${MULTILIB_USEDEP}] + x11-libs/libXxf86vm[${MULTILIB_USEDEP}] + )" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}-${COMMIT}" +ECONF_SOURCE="${S}" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/openglide/sdk2_unix.h +) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + econf \ + --enable-shared \ + --disable-sdltest \ + $(use_enable sdl) \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + insinto /etc + doins "${FILESDIR}"/OpenGLid.ini + + exeinto /usr/share/${PN} + newexe platform/dosbox/glide2x.ovl glide2x-dosbox.ovl + newexe platform/dosemu/glide2x.ovl glide2x-dosemu.ovl + + rm "${ED}"/usr/*/*.la || die + einstalldocs +} |