summaryrefslogtreecommitdiff
path: root/x11-libs/liboglappth
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
commit9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch)
treeb690ddc0ca30f1472887edbb0b8313629bfcbbb2 /x11-libs/liboglappth
parentb17a3ef12038de50228bade1f05502c74e135321 (diff)
gentoo resync : 16.09.2020
Diffstat (limited to 'x11-libs/liboglappth')
-rw-r--r--x11-libs/liboglappth/Manifest4
-rw-r--r--x11-libs/liboglappth/files/gcc-4.3.patch10
-rw-r--r--x11-libs/liboglappth/liboglappth-1.0.0-r1.ebuild (renamed from x11-libs/liboglappth/liboglappth-1.0.0.ebuild)20
3 files changed, 22 insertions, 12 deletions
diff --git a/x11-libs/liboglappth/Manifest b/x11-libs/liboglappth/Manifest
index f9c78940bd03..e83d2c0a7fe3 100644
--- a/x11-libs/liboglappth/Manifest
+++ b/x11-libs/liboglappth/Manifest
@@ -1,4 +1,4 @@
-AUX gcc-4.3.patch 258 BLAKE2B c5231a17e402f999f9c28498d0d826969c166390bdf4896ca73285f66249c722340d853922e3d30ea7213bda842e3e8f8c5977b73fcc255c979a901cfd32176e SHA512 906557a311f44892664f1b3c7e5f707271b4a6f10b13ea030226ada3de5f713efc83db72244af9b91e3fb905a5049d5d716760df02fecf3d4ea0456334d25598
+AUX gcc-4.3.patch 203 BLAKE2B 4996c259671fd3e36c382f9f8b1d5e144c1835cd49bc004a87e0a0db033b63e1d84ff056265269363ab2d7e9442813e131ef0b58687f6f9f4e7fc80c9c40c785 SHA512 a38431eb57de685e2dbddb372e5235e6e6e366ee8e59e419fdb93a3871fec2e8f9f1e68f5d0d05556eae82ab02e96da48e3653399d0a33b2b6283b9e9ef3984e
DIST liboglappth-1.0.0.tar.gz 325178 BLAKE2B 2fcfaaddea4e5ec084e2d8477b9835cc7363f887e8d74d7f9fbe5dc97794dbcb623aea6ece3e9d5a3c659a74ad65fea9c79ed932208c1982726b00e54bf4c3ff SHA512 b0d883379650f1062d503d2adaab48202614b3ab68eba2e0ab01513b51cdd88f75fa02af5dcb00077fb057cdf09987dfe123ea9e0541e2e56893e11e53ac8ef1
-EBUILD liboglappth-1.0.0.ebuild 522 BLAKE2B 7afcc9e68a9a4ccd422c44f8e11eed5ec2e0d035fe802a070937f9fa6d3d446780523be86f5bd11c4e3f96728e1632a05560679c471fe29183cbcd6d0bcf01b8 SHA512 1c920eac2ea5a2ac2d0c679cfce09a9fc51b310aebde97d1111ac564d844caabe64ee05b966c85b543085114f2039f9fd08e7b3a257227f68e68522476ca1b01
+EBUILD liboglappth-1.0.0-r1.ebuild 658 BLAKE2B 85574dd92785cf40b76199e381bc48a6d206e572e35b577674b02c6043dabb66c14aedc4302ef47eca6cdf2766e34e3db23e068b6167eaf1bb8efb8d485ff801 SHA512 0a84c56ee5f5d622e248f7ffe8dd3600ecc69018b25b58e97b7dd1b02899cf33ce66c140df2ec6094127914c23e86fb6b48565d61e4fbd21f4053840e57432e7
MISC metadata.xml 653 BLAKE2B 9fd812e59f03fdf17612bbb72e4ca5faa7a92fb0f228e1d26fd9785e53f46450602af1b4c20c7610d2ea3b3df7a687170297cde23d838956714710c90fc6afb1 SHA512 c8354ad9612a5b03d7a0bdf21f30df433cb991064f6edd989fe68952a6858c6308814eabea2ce9cb6bd65fd56e40c5badd36b87a24acdac518155923fe01fb58
diff --git a/x11-libs/liboglappth/files/gcc-4.3.patch b/x11-libs/liboglappth/files/gcc-4.3.patch
index bc04b9e97c7b..cf45065916bc 100644
--- a/x11-libs/liboglappth/files/gcc-4.3.patch
+++ b/x11-libs/liboglappth/files/gcc-4.3.patch
@@ -1,10 +1,10 @@
---- a/src/base_wcl.cpp 2008-07-07 23:49:10.000000000 -0700
-+++ b/src/base_wcl.cpp 2008-07-07 23:49:26.000000000 -0700
-@@ -11,6 +11,7 @@
+--- a/src/base_wcl.cpp
++++ b/src/base_wcl.cpp
+@@ -22,6 +22,7 @@
#include "base_app.h"
#include <stdlib.h> // the definition for NULL...
+#include <cstring>
- #include <GL/glut.h>
-
+ #include <GL/gl.h>
+ #include <GL/glu.h>
diff --git a/x11-libs/liboglappth/liboglappth-1.0.0.ebuild b/x11-libs/liboglappth/liboglappth-1.0.0-r1.ebuild
index c0b2725651a1..eb68dba4208b 100644
--- a/x11-libs/liboglappth/liboglappth-1.0.0.ebuild
+++ b/x11-libs/liboglappth/liboglappth-1.0.0-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
DESCRIPTION="Libary for OpenGL applications with easy-to-code scene setup and selection"
HOMEPAGE="http://www.bioinformatics.org/ghemical/"
@@ -10,12 +10,22 @@ SRC_URI="http://www.bioinformatics.org/ghemical/download/current/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-IUSE=""
RDEPEND="
virtual/opengl
media-libs/freeglut"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
PATCHES=( "${FILESDIR}"/gcc-4.3.patch )
+
+src_configure() {
+ econf --disable-static
+}
+
+src_install() {
+ default
+
+ # no static archives
+ find "${ED}" -name '*.la' -delete || die
+}