summaryrefslogtreecommitdiff
path: root/media-libs/glu
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/glu')
-rw-r--r--media-libs/glu/Manifest4
-rw-r--r--media-libs/glu/glu-9.0.3.ebuild31
-rw-r--r--media-libs/glu/glu-9999.ebuild22
3 files changed, 42 insertions, 15 deletions
diff --git a/media-libs/glu/Manifest b/media-libs/glu/Manifest
index 3ee80ce1166f..fafd45269fd1 100644
--- a/media-libs/glu/Manifest
+++ b/media-libs/glu/Manifest
@@ -1,5 +1,7 @@
AUX glu-9.0.2-clang-16-register.patch 1070 BLAKE2B 99d59d6752fe1d1c51bce59c1a1b9abb28a4d3995e1bb86e72b723054a14599115ba5660731518ca9402a92451911e9c8a2af9d0d4de3a03570fbbd417cff1bf SHA512 862aec1612ff0d35b38ff7f53d31d95ed8790e57e3f4ebf5dd017ab6ec514daaa808369851280b113d161395a3330b4c8e604aad75ef004248b5a9e5b3ab2567
DIST glu-9.0.2.tar.xz 436176 BLAKE2B 90485938e4809ce7bb56da25bd60be9f3f7b7f40d511ea6635e40d749e519d1dca6241d891224d3cf331b911f545df4ef9aa2101baf4e3b18df69244edbcb8a4 SHA512 2517d7406bb643d12c017a95dcb5d8716f307344332638bcbdf274a90752a7c22165d34745f1b082ed916bb07d40e62d1d1d67d96426225be63166f3480d6f64
+DIST glu-9.0.3.tar.xz 218968 BLAKE2B a6fc842004dcca4243ef285e26806afdfb931d21985ad8f9a3f03f438e66b810718bf04e588044ed8db99990e49f806d346dc2ce69cfa91450f046a4dfa39136 SHA512 b2781059c0e176192c3fc0d7244645020937a463311171efddb9f35fb94ee43faabcf627fa7f429d48fceaf6dd9c5adb69c86c7a21ec4ea490f4ab143d52e3ba
EBUILD glu-9.0.2.ebuild 937 BLAKE2B 5e7e9bcf69da787a61829cfb8c5bcc60e794b91ce5a5c0c7d676f1adf7af87fff49c1d4009c42f26b2be202ea3ac24fb34a341dd6396df3abd2ba7049edfc049 SHA512 6c6ae1ac8ba39d3ecbb7ce1390cd7f4190c87d91dbbdf8815ddd17540e286074088cd7cd5645b734c95878ee535bbd3469208dc99e171493b57303a61a204422
-EBUILD glu-9999.ebuild 873 BLAKE2B 1d9484b1cb4e0981cb450ed98e052e17336f26606eda8789c687e0a72157c3f8b4374c9462aa5ac89dcfbbbe79e7d1ab265f5fb1917411fb8ff20f1f36888f83 SHA512 b695e5bba2c9183a85b89678fac8f98f902558ebacd7b959465a9990d3b42bcefb0f5a4fa838db0a62a151e7d7b6c16aa6fe1eaef462bda692aad23a17a31f39
+EBUILD glu-9.0.3.ebuild 768 BLAKE2B 911ecac024bcd6fa3d93812b1df337475bf5747e7751fc238a94f6837b093caccf26ea93203763cdc638d43d1252fce08c1e649d89e9fda0abe05562713a29b8 SHA512 89b3db02e26546a97c5c781200130219140297886f6b0fd6da6eeef4cdbb7e670aede7ccf917dffc259e2817922d4145a406b8293b9d869be5c1a3a711bb0a0b
+EBUILD glu-9999.ebuild 768 BLAKE2B 911ecac024bcd6fa3d93812b1df337475bf5747e7751fc238a94f6837b093caccf26ea93203763cdc638d43d1252fce08c1e649d89e9fda0abe05562713a29b8 SHA512 89b3db02e26546a97c5c781200130219140297886f6b0fd6da6eeef4cdbb7e670aede7ccf917dffc259e2817922d4145a406b8293b9d869be5c1a3a711bb0a0b
MISC metadata.xml 330 BLAKE2B c701978981b17870680d98907aeab6ced8e56af401a502cf0545a1f22188e86820b580714fe4e141c7d2b2f7d5f892ca85a47fc2529e79c05b7823addd059136 SHA512 768536ef9f7996f6e7f8028abbe275036bee70c5abb91096e0d2d24e4c14ac3d28377860bb75d153c883b755bec67c47430ae577c1788f2cd596628905cad922
diff --git a/media-libs/glu/glu-9.0.3.ebuild b/media-libs/glu/glu-9.0.3.ebuild
new file mode 100644
index 000000000000..b231083a0962
--- /dev/null
+++ b/media-libs/glu/glu-9.0.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib
+
+DESCRIPTION="The OpenGL Utility Library"
+HOMEPAGE="https://gitlab.freedesktop.org/mesa/glu"
+
+if [[ ${PV} = 9999* ]]; then
+ EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/glu.git"
+ inherit git-r3
+else
+ SRC_URI="https://mesa.freedesktop.org/archive/glu/${P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+
+LICENSE="SGI-B-2.0"
+SLOT="0"
+
+DEPEND="media-libs/libglvnd[${MULTILIB_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Ddefault_library=shared
+ -Dgl_provider=glvnd
+ )
+ meson_src_configure
+}
diff --git a/media-libs/glu/glu-9999.ebuild b/media-libs/glu/glu-9999.ebuild
index 25992a6979a3..b231083a0962 100644
--- a/media-libs/glu/glu-9999.ebuild
+++ b/media-libs/glu/glu-9999.ebuild
@@ -1,36 +1,30 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/glu.git"
-
-if [[ ${PV} = 9999* ]]; then
- GIT_ECLASS="git-r3"
-fi
-
-inherit meson-multilib ${GIT_ECLASS}
+inherit meson-multilib
DESCRIPTION="The OpenGL Utility Library"
HOMEPAGE="https://gitlab.freedesktop.org/mesa/glu"
if [[ ${PV} = 9999* ]]; then
- SRC_URI=""
+ EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/glu.git"
+ inherit git-r3
else
SRC_URI="https://mesa.freedesktop.org/archive/glu/${P}.tar.xz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
fi
LICENSE="SGI-B-2.0"
SLOT="0"
-IUSE="static-libs"
-DEPEND=">=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]"
+DEPEND="media-libs/libglvnd[${MULTILIB_USEDEP}]"
RDEPEND="${DEPEND}"
multilib_src_configure() {
local emesonargs=(
- -Ddefault_library=$(usex static-libs both shared)
+ -Ddefault_library=shared
-Dgl_provider=glvnd
)
meson_src_configure