commit: 11ec7d0dd61c6e8994f4c638131b9ebe36fd0d67
Author: Vivian Heisz (demize) <demize <AT> unstable <DOT> systems>
AuthorDate: Sat May 17 02:28:14 2025 +0000
Commit: demize <demize <AT> unstable <DOT> systems>
CommitDate: Sat May 17 02:36:14 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11ec7d0d
media-libs/glee: add multilib support
Also minorly updates the autotools patch so the generated
pkg-config file includes the package version properly.
Signed-off-by: Vivian Heisz (demize) <demize <AT> unstable.systems>
media-libs/glee/files/glee-autotools.patch | 2 +-
.../glee/{glee-5.4.0-r2.ebuild => glee-5.4.0-r3.ebuild} | 17 +++++++++++------
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/media-libs/glee/files/glee-autotools.patch
b/media-libs/glee/files/glee-autotools.patch
index 394d98070..3887a9f16 100644
--- a/media-libs/glee/files/glee-autotools.patch
+++ b/media-libs/glee/files/glee-autotools.patch
@@ -2,7 +2,7 @@ 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,11 @@
-+AC_INIT(configure.ac)
++AC_INIT(libGLee, 5.4)
+AC_CONFIG_FILES([glee.pc])
+
+AM_CONFIG_HEADER(config.h)
diff --git a/media-libs/glee/glee-5.4.0-r2.ebuild
b/media-libs/glee/glee-5.4.0-r3.ebuild
similarity index 75%
rename from media-libs/glee/glee-5.4.0-r2.ebuild
rename to media-libs/glee/glee-5.4.0-r3.ebuild
index 71c703f10..04e0a9585 100644
--- a/media-libs/glee/glee-5.4.0-r2.ebuild
+++ b/media-libs/glee/glee-5.4.0-r3.ebuild
@@ -3,34 +3,39 @@
EAPI=8
-inherit autotools
+inherit autotools multilib-minimal
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"
-S="${WORKDIR}"
-
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
-RDEPEND="virtual/opengl"
+RDEPEND="virtual/opengl[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"
+src_unpack() {
+ mkdir "${P}" || die
+ cd "${P}" || die
+ default
+}
+
src_prepare() {
default
eapply -p0 "${FILESDIR}/${PN}-autotools.patch"
eautoreconf || die
+ multilib_copy_sources
}
-src_configure() {
+multilib_src_configure() {
econf \
$(use_enable static-libs static)
}
-src_install() {
+multilib_src_install() {
emake DESTDIR="${D}" install || die
find "${ED}" -type f -name '*.la' -delete || die
dodoc readme.txt extensionList.txt || die