summaryrefslogtreecommitdiff
path: root/x11-misc/3dfb
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 /x11-misc/3dfb
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/3dfb')
-rw-r--r--x11-misc/3dfb/3dfb-0.6.1-r1.ebuild29
-rw-r--r--x11-misc/3dfb/Manifest7
-rw-r--r--x11-misc/3dfb/files/0.6.1-gcc41.patch12
-rw-r--r--x11-misc/3dfb/files/3dfb-0.6.1-freeglut-compat.patch10
-rw-r--r--x11-misc/3dfb/metadata.xml8
5 files changed, 66 insertions, 0 deletions
diff --git a/x11-misc/3dfb/3dfb-0.6.1-r1.ebuild b/x11-misc/3dfb/3dfb-0.6.1-r1.ebuild
new file mode 100644
index 000000000000..a4c1a38b6260
--- /dev/null
+++ b/x11-misc/3dfb/3dfb-0.6.1-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="3D File Browser"
+HOMEPAGE="https://sourceforge.net/projects/dz3d/"
+SRC_URI="mirror://sourceforge/dz3d/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+RDEPEND="dev-libs/glib:2
+ media-libs/freeglut
+ virtual/opengl
+ x11-libs/libXmu"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README WISHLIST )
+
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-gcc41.patch" \
+ "${FILESDIR}/${P}-freeglut-compat.patch"
+ epatch_user
+}
diff --git a/x11-misc/3dfb/Manifest b/x11-misc/3dfb/Manifest
new file mode 100644
index 000000000000..e3760b24c096
--- /dev/null
+++ b/x11-misc/3dfb/Manifest
@@ -0,0 +1,7 @@
+AUX 0.6.1-gcc41.patch 330 SHA256 5f94be8d79e92ac241a86ae5c3c2cadded16a1489b4a16cc6376474348f4192d SHA512 af8a42cd700c00b25b7d984be14da8cc78c10397f49982c9ddba6fd6dfa8d5bb3a31e2a86a15ba60832ba7083916d72d2f8a8de642ffb257d630cecd4a8a7fea WHIRLPOOL 97a31b175cb62bdd12736d9f064ae60ea124e4eb41b29da100bd99d5abbb8c31a2aeab5343c676db348ff3c158b5bcaea844a850e85a5545f3f4e35303ee0008
+AUX 3dfb-0.6.1-freeglut-compat.patch 246 SHA256 d80bfc5a22489cd48c31a823ab425352e89dc45ef3c510e29d459579cc6c64dd SHA512 72d9e5326c28455b09f868b6eed6f38844914db84cbba7f603f46b5211dfe8c54f1db022aef9cd3586681548f2910d07bc2033dfaa246f3ef566eea2af458378 WHIRLPOOL 6c3a01aad9e39f01f59dde4affda292b1e0eb223a90d103df6f103ff79261a595e2d174993c482e30be860bbc62256a705a1cf3810e5091a6820af565ce718d5
+DIST 3dfb-0.6.1.tar.gz 102343 SHA256 94321725651711a7f7e61f8c479e519985f980e788dfa6a840300d8a41dacf3f SHA512 3eb43dd80d5ffaea8845e84e2cf21599ee36739ac99d558c4c11592363970795e60b30f444229c987f527a0765fa657111d7a54eef84b5d3d9375c7a812588f1 WHIRLPOOL 4d589d3f9a0b3823e7e64db15f147eced83224db5c20e73c40ac98a7192b93a409f36d561017fc4d23a354e210bdf1e9cafddee8461fe94c88abc79cb578263a
+EBUILD 3dfb-0.6.1-r1.ebuild 597 SHA256 85913baf3d1d975cd25041b6afc10f6c72e0768ffd76540cd0969ebcfd66af08 SHA512 de5aa4b862c6bcdcd1783ddbda1dea256088598296febb514ff716ce5ae28301e0a5a1382e5df5f40c84c6152f3140c07d2a5cc8ddb0be637335ec71a7565a90 WHIRLPOOL fdaf022c82592a7136edac9296b09ce52b323580eb8cd9b6659464cea42955631022ffe889a7cffdabb59755925f9493f8f4c1e6bb227929be6afefdae406ead
+MISC ChangeLog 2605 SHA256 509d473f76c18d6ae659e392d7beb4b998eab8c0e1139d36fc6612c4cee2f36b SHA512 caec1145eecc95e68deab1065fcd5119a329aedcb7af1619439ba129cd8ecbf2a0e0577104488d8fc6de866456312b560c24962d5c814d6b758d7d8a9fbce8f2 WHIRLPOOL a7389893f28061627e593341ecc8a8045356f75697c1bbae36a01d7b6a485c66873c4282f181ec4c6d203110c85d347ce3fda688b6b84a290b873c233495d9c5
+MISC ChangeLog-2015 2377 SHA256 bf62f004b044c427b112ed8eadb1e9a2e18d2fe32100f5a9fcf0a6ca967d5d37 SHA512 0b9ad3b2551d743cf2c5d2445cf6a47b14a813e94bb40ff9b30a55e680fed7767781dcb9d0c5c9b980c66cd4c292d2f9a8a4dd839a487a0e12e663f76627b2d6 WHIRLPOOL 1b1771e15bdc7db6805bfdbadb34c2ace16f0cc2522813171c3641d4539d51e7d6291c43211afc299d26724c99eea9b3181cd0cab4cb30fb31f9220c6fa4f51c
+MISC metadata.xml 241 SHA256 2281c8068294923864e2377b745500cea5c9fe1471a37e5b7290984952cd6015 SHA512 022f256386504bf83ef8e29db0da528bb28bf2d88114d839bb245da8a2d1fb81bbcfb26ee3889cc7cc7578ba4b149c5d1eff1ef4f8c8bb5361e61d6bac62dbd2 WHIRLPOOL 81878b2d1462b65484cac6c3cc3f2a482a98f8b33b0f8632de10e0088b30c19e25abc6d2cec0e8f2821d31ef95a2355184900efa3f918f07357915718a18ab37
diff --git a/x11-misc/3dfb/files/0.6.1-gcc41.patch b/x11-misc/3dfb/files/0.6.1-gcc41.patch
new file mode 100644
index 000000000000..2a964f66c21d
--- /dev/null
+++ b/x11-misc/3dfb/files/0.6.1-gcc41.patch
@@ -0,0 +1,12 @@
+diff -Nur 3dfb-0.6.1.orig/src/gui.cpp 3dfb-0.6.1/src/gui.cpp
+--- 3dfb-0.6.1.orig/src/gui.cpp 2004-07-28 22:32:21.000000000 +0000
++++ 3dfb-0.6.1/src/gui.cpp 2006-09-18 21:35:01.271923722 +0000
+@@ -70,7 +70,7 @@
+
+
+ static fileMap fileMap;
+-static levelLocation levels[fileMap.maxLevels];
++static levelLocation levels[1024];
+
+
+
diff --git a/x11-misc/3dfb/files/3dfb-0.6.1-freeglut-compat.patch b/x11-misc/3dfb/files/3dfb-0.6.1-freeglut-compat.patch
new file mode 100644
index 000000000000..f05e3538120d
--- /dev/null
+++ b/x11-misc/3dfb/files/3dfb-0.6.1-freeglut-compat.patch
@@ -0,0 +1,10 @@
+--- src/main.cpp.bak 2014-03-13 12:24:32.155889466 +0400
++++ src/main.cpp 2014-03-13 12:24:42.482890090 +0400
+@@ -7,6 +7,7 @@
+
+ int main(int argc, char **argv)
+ {
++ glutInit(&argc, argv);
+ gui_init();
+ glutMainLoop();
+ return(0);
diff --git a/x11-misc/3dfb/metadata.xml b/x11-misc/3dfb/metadata.xml
new file mode 100644
index 000000000000..a8831e3ae31e
--- /dev/null
+++ b/x11-misc/3dfb/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">dz3d</remote-id>
+ </upstream>
+</pkgmetadata>