summaryrefslogtreecommitdiff
path: root/media-libs/openglide
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/openglide
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/openglide')
-rw-r--r--media-libs/openglide/Manifest5
-rw-r--r--media-libs/openglide/files/OpenGLid.ini26
-rw-r--r--media-libs/openglide/metadata.xml21
-rw-r--r--media-libs/openglide/openglide-0.09_rc9_p20160913.ebuild61
4 files changed, 113 insertions, 0 deletions
diff --git a/media-libs/openglide/Manifest b/media-libs/openglide/Manifest
new file mode 100644
index 000000000000..bf79103734c7
--- /dev/null
+++ b/media-libs/openglide/Manifest
@@ -0,0 +1,5 @@
+AUX OpenGLid.ini 605 SHA256 38be3babac40fcdb1dcf1828726d5ca427ceb3f9af675f8971f236ccbf908751 SHA512 dbd4ab26d5a556fcd9656f151c156dd29eaa1b815d1a5eaf841cc23f2c8aee5f385f085febfeabe900014b63c5cc2234aafc9388e1940fa72cb7a4aaab2cf14c WHIRLPOOL 364040c21e22fd8700fcdc04372add791ffcd26f28c3de912a1c102fc0cfb7c7152805b5f3eae3d5b2b5927c91789534461ba04f550e156126e8c3309bda1dfa
+DIST openglide-0.09_rc9_p20160913.tar.gz 450667 SHA256 136528469596e43595fd3e9a44e9b25b97e12617a3cee8469c8020b470a66cbd SHA512 4a64b74c2a96639d9fac732f72419ced652989b347b484f4abf7ac6a33d7b8d89ee56e6c04aaaf7475cae332b69a98ec0b7c58a9aac25a24d8acaad92392cb38 WHIRLPOOL 76e816031a01c700704bda1b7c6413ed8481412ca78f4b25852ca8a2bea3fb494ae14468b52de4ab499d8b2bf2e5c5ba85bdd3c30bdb956b22d95e5b2066e28e
+EBUILD openglide-0.09_rc9_p20160913.ebuild 1296 SHA256 436efd93f6aedb16f9753b637669b4f446cb7c9a0b4078a6cca47c03da811c4d SHA512 58e0b5e7242456ababf772526a942595c768d9118cc396574e56e5c7154e5a3c9eb586d9ff7f513025112998e61e1e9d9a164526f541ac072a686acc2ee81761 WHIRLPOOL ce628e9217e2ded0454d7f76163417f66ee43da6cd9fcae975a7190d24a5867484a2679229ace5233fbccd8a19c47e44ceb8e17eb0aa116717b45954d6028296
+MISC ChangeLog 512 SHA256 e6cf8b030a5c2e82ff969a01dbf94dcf01ef1f2a797ea850e6a8a628dc47f42a SHA512 719ba7155a4d58012d881922efa2ce3c83adb7986d75ac407d523d6ff6e454917b8213f422e81e1b4d20ddd3fceb5804f39e940f374ed18244a06e596173adab WHIRLPOOL 0fb400eac1f36312004edb9a4712a2dcc3711ccf2b7dfbea952364ce637126ecc7afe16077a4918f456ac23cd48e36f68d6e68be61898df2768b2f9e233b72e4
+MISC metadata.xml 696 SHA256 cd1ee4c1d91e7eafb22a1a4341dbf43d827d005fb72fd654f3ebfd797cd11b85 SHA512 3f64cc43fdd2abc4217054017d7aaa6ed9f8cddfb2577cb289ea31ac9be682c7493651a4f20bd4bdb8548a7ba05560a15b8c885f0c486c84a1dcd1b3ed7a28e9 WHIRLPOOL 491315bc82c891d6f9164d7a04617f3853fcde071c2d3adf10a28579601ad8e68bbd1876d18e5e0e3538e116c143c75509abc6b9d0112fdca745da05d607098a
diff --git a/media-libs/openglide/files/OpenGLid.ini b/media-libs/openglide/files/OpenGLid.ini
new file mode 100644
index 000000000000..d4ae7490a4bd
--- /dev/null
+++ b/media-libs/openglide/files/OpenGLid.ini
@@ -0,0 +1,26 @@
+Configuration File for OpenGLide
+
+Info:
+Priority goes from 0(HIGH) to 5(IDLE)
+Output resolution: 0 = original, 1.0-16.0 = scale factor, >16 = fixed width (height calculated automatically)
+Texture Memory goes from 2 to 32
+Frame Buffer Memory goes from 2 to 16
+All other fields are boolean with 1(TRUE) and 0(FALSE)
+
+Version=0.09rc9
+
+[Options]
+WrapperPriority=2
+CreateWindow=0
+InitFullScreen=1
+Resolution=0.0
+EnableMipMaps=1
+IgnorePaletteChange=0
+Wrap565to5551=1
+EnablePrecisionFix=1
+EnableMultiTextureEXT=1
+EnablePaletteEXT=1
+EnableVertexArrayEXT=0
+TextureMemorySize=32
+FrameBufferMemorySize=16
+NoSplash=1
diff --git a/media-libs/openglide/metadata.xml b/media-libs/openglide/metadata.xml
new file mode 100644
index 000000000000..b14a9fd7bc1b
--- /dev/null
+++ b/media-libs/openglide/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chewi@gentoo.org</email>
+ <name>James Le Cuirot</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">voyageur/openglide</remote-id>
+ <remote-id type="sourceforge">openglide</remote-id>
+ </upstream>
+ <longdescription>
+ OpenGLide is a Glide to OpenGL wrapper. It emulates a Voodoo
+ board so you can run old DOS/Windows Glide games by translating
+ Glide calls into OpenGL.
+ </longdescription>
+</pkgmetadata>
diff --git a/media-libs/openglide/openglide-0.09_rc9_p20160913.ebuild b/media-libs/openglide/openglide-0.09_rc9_p20160913.ebuild
new file mode 100644
index 000000000000..ecc63ab83242
--- /dev/null
+++ b/media-libs/openglide/openglide-0.09_rc9_p20160913.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+COMMIT="3722fc563b737d2d7933df6a771651c2154e6f7b"
+
+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
+
+ prune_libtool_files
+ einstalldocs
+}