public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: media-libs/glee/files/, media-libs/glee/
@ 2022-10-17 11:26 Haelwenn Monnier
  0 siblings, 0 replies; only message in thread
From: Haelwenn Monnier @ 2022-10-17 11:26 UTC (permalink / raw
  To: gentoo-commits

commit:     7a6c42171013b69426cab0703892160d1b1ed83e
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Sat Oct 15 19:15:50 2022 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Sat Oct 15 22:00:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a6c4217

media-libs/glee: new package, version 5.44

Got this from https://github.com/stefantalpalaru/gentoo-overlay (GPLv2),
bumped to EAPI 8

Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>

 media-libs/glee/Manifest                   |  1 +
 media-libs/glee/files/glee-5.4.0.pc        | 12 ++++++++++
 media-libs/glee/files/glee-autotools.patch | 22 +++++++++++++++++
 media-libs/glee/glee-5.4.0.ebuild          | 38 ++++++++++++++++++++++++++++++
 media-libs/glee/manifest.xml               | 11 +++++++++
 5 files changed, 84 insertions(+)

diff --git a/media-libs/glee/Manifest b/media-libs/glee/Manifest
new file mode 100644
index 000000000..7e213b5a8
--- /dev/null
+++ b/media-libs/glee/Manifest
@@ -0,0 +1 @@
+DIST GLee-5.4.0-src.tar.gz 269529 BLAKE2B 3ecb3c6fbb5f125c34ff948ef23ee1738b2da177eb8c59eb6f21ec6d664961e1ffcfa7ff0f647c20528c6322ec13bf0fed2d28cef5bb8164f4a06953925538bf SHA512 4481ba742242e192af9ce3ab522a34764c04551e761c00186478a447badc271740b6a5c8503cbd72b6202355ef7a73beaac1f59f9681611b5c04a864922326fa

diff --git a/media-libs/glee/files/glee-5.4.0.pc b/media-libs/glee/files/glee-5.4.0.pc
new file mode 100644
index 000000000..b2a6464c8
--- /dev/null
+++ b/media-libs/glee/files/glee-5.4.0.pc
@@ -0,0 +1,12 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include/GL/
+
+Name: GLee
+Description: GL Easy Extension library
+Version: 5.4.0
+Requires:
+Conflicts:
+Libs: -L${libdir} -lGLee
+Cflags: -I${includedir}

diff --git a/media-libs/glee/files/glee-autotools.patch b/media-libs/glee/files/glee-autotools.patch
new file mode 100644
index 000000000..617c49058
--- /dev/null
+++ b/media-libs/glee/files/glee-autotools.patch
@@ -0,0 +1,22 @@
+diff -ruN configure.ac configure.ac
+--- configure.ac	1970-01-01 03:00:00.000000000 +0300
++++ configure.ac	2007-02-13 23:48:45.000000000 +0300
+@@ -0,0 +1,10 @@
++AC_INIT(configure.ac)
++
++AM_CONFIG_HEADER(config.h)
++AM_INIT_AUTOMAKE(libGLee, 5.4)
++
++AC_LANG_C
++AC_PROG_CC
++AM_PROG_LIBTOOL
++
++AC_OUTPUT(Makefile)
+diff -ruN Makefile.am Makefile.am
+--- Makefile.am	1970-01-01 03:00:00.000000000 +0300
++++ Makefile.am	2007-02-13 23:46:48.000000000 +0300
+@@ -0,0 +1,4 @@
++lib_LTLIBRARIES = libGLee.la
++libGLee_la_SOURCES = GLee.c
++includeGLdir = $(includedir)/GL
++includeGL_HEADERS = GLee.h

diff --git a/media-libs/glee/glee-5.4.0.ebuild b/media-libs/glee/glee-5.4.0.ebuild
new file mode 100644
index 000000000..23907cd28
--- /dev/null
+++ b/media-libs/glee/glee-5.4.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="OpenGL Easy Extension library"
+HOMEPAGE="https://elf-stone.com/glee.php"
+SRC_URI="https://elf-stone.com/downloads/GLee/GLee-${PV}-src.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND="virtual/opengl"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"
+src_prepare() {
+	default
+	eapply -p0 "${FILESDIR}/${PN}-autotools.patch"
+	eautoreconf || die
+}
+
+src_configure() {
+	econf \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die
+	find "${ED}" -type f -name '*.la' -delete || die
+	dodoc readme.txt extensionList.txt || die
+	insinto /usr/lib/pkgconfig
+	newins "${FILESDIR}/${P}.pc" glee.pc
+}

diff --git a/media-libs/glee/manifest.xml b/media-libs/glee/manifest.xml
new file mode 100644
index 000000000..279c65d07
--- /dev/null
+++ b/media-libs/glee/manifest.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>pascal.jaeger@leimstift.de</email>
+		<name>Pascal Jäger</name>
+	</maintainer>
+  <use>
+    <flag name="static-libs">Build with static libraries</flag>
+  </use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-17 11:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-17 11:26 [gentoo-commits] repo/proj/guru:master commit in: media-libs/glee/files/, media-libs/glee/ Haelwenn Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox