summaryrefslogtreecommitdiff
path: root/dev-games/clanlib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-03 03:04:04 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-03 03:04:04 +0000
commit212000bb5eabdfeb9a6e7a9b8f28e2740cae555a (patch)
treedbbe26e892147b95a24336cc44d791dbe0c0ce5f /dev-games/clanlib
parent37a097af13d675b83911ac006ee9ee22d2163f9a (diff)
gentoo auto-resync : 03:11:2024 - 03:04:03
Diffstat (limited to 'dev-games/clanlib')
-rw-r--r--dev-games/clanlib/Manifest2
-rw-r--r--dev-games/clanlib/clanlib-4.2.0.ebuild78
2 files changed, 80 insertions, 0 deletions
diff --git a/dev-games/clanlib/Manifest b/dev-games/clanlib/Manifest
index ed7b2508d778..a48049ab772e 100644
--- a/dev-games/clanlib/Manifest
+++ b/dev-games/clanlib/Manifest
@@ -22,10 +22,12 @@ AUX clanlib-2.3.7-non-x86.patch 1263 BLAKE2B af0f26f0148e66ed20cc226539b30fe44a4
DIST ClanLib-0.8.1.tgz 7629019 BLAKE2B 7f238111931212e3f9c82ed43842706bf16ee145896735ca35595e29dd357e52364cc592be55d88e231f962adc313bc8f57357bc74c9f1b8b134bc411497f5e9 SHA512 277daaf1055ae0198be7a6bbfd415c79cfae9e2145f62553e83849d670f56e50b8484c83f8b85f23290002e0b0c72c1e01ca597ad608a0954a4add828177293b
DIST ClanLib-2.3.7.tgz 26132425 BLAKE2B 109ba92baf21174022c8dbc4044e39ec16ec77c730b57590733418e246ab71d18d81bbf281cd469dd9e2aebd4ac4302fbb581f27dc7fc0054a8c7ce69699e19d SHA512 73169afc0f639390f80403150757a8a14f842bc291a9457c9bca1319642b78bc4d03a93327d75254230e39545c5b4b690e56dc0149ed7b60b223e5a5364e882a
DIST clanlib-4.1.0.tar.gz 6871886 BLAKE2B 0aeb9e89998a9ef6975bf16a2e77f461e6415aacda9a26a5c0a9c6ec3c19a136a5f092c7866b60898251fbd6cb8aa7e96c86f6b87afb564824298fac77bf20c3 SHA512 34f5d1fdb7b071a218f081a6b06a6018a9c20cedc4c8500a9796be02d335f06fa148304379eeb1a35e08b9a734e504ceb490a6558a43d1611187bd97be01f4b0
+DIST clanlib-4.2.0.tar.gz 6830997 BLAKE2B edce01df4b9cfd00a7809a4962c126ca168209d36e02f42a7c988fc1e5789601168e38c0dbc4a237f4776098850f096b8f3ac1d54c810d8515eefe2f9c8d0775 SHA512 d3e2df4e2b1c9c661df9322e97a8582b46aaacb7fddd4d86f05a6bf6e02cd5cd3cbe80dbfae16a664b23107b9606a925ac10b4baad92d352ab33bb78d8696da8
EBUILD clanlib-0.8.1-r2.ebuild 2566 BLAKE2B 37c8ed89d17edd9c25e5ab09e03d0a7e1f29839b4740ed6fe00127f7ddba49f2992076d5907d1f67cc54aff37f5efc56cd45d0d5ffc3d7de23f77431a4a6e2a6 SHA512 d548312568bfa43c5b9d16148489f07e126bd883041c209a76030c324ea7eb3d4ba6e10ec484a3909a2013b96670cea2256ce574050fe15bdd7f249c6a7cb292
EBUILD clanlib-0.8.1-r3.ebuild 2568 BLAKE2B d1fb2037b95a23745fd7bea69dfc4d51108b824779b8700547e5ec7c9e3126c93a2afba62b83d45bd8a4cb1949c68622ee41b2fea5dde602df1d1430ec4ae06b SHA512 d2c41fb50f840b1171e0b08a6d4caf5ea562632d8c91ebc5052e43e22298e74a9eb8a55ff1016ff4661ba9c6942fcce3d7bca1dbdaad8c26357bb5c911343c47
EBUILD clanlib-2.3.7-r3.ebuild 2476 BLAKE2B 930c63a15b380ecd96eda42bae4a53a7e9799d138581aee939ec03a7d1ec1bb565a0a518c2bc19a80ce2e11b620858fb46b51dc8240807c87f6357e031eca899 SHA512 429e9b1478ce18b790ca73505a6f7794ddcac707159104309db3488e0ad0961e7386741e266bdd8530b4a63773a0ef2fbe504683f51eada98997c97bd32db8a9
EBUILD clanlib-2.3.7-r4.ebuild 2513 BLAKE2B b3fb83bc734f82a87b05654ff95332cb124351743adaa4967242d49ae1121886170088c793c7dd7edfb3c194fda048703862398cb2f3d5d8980caaacf85dc962 SHA512 3835f793489af05ff43374def37e46312fe8af4241d121e9de41746e574b73302b5a2003d55c6cbb461cdd9c4256462604fc20f6b3a0aced2773251c76c96d11
EBUILD clanlib-4.1.0-r1.ebuild 1493 BLAKE2B 1a640d54cf9aa0adf6aaa2d52146f82b0d036c65af0440e6150ef1d0ed9f9bd2eb41d4e61e6c26127259f935231523022c0095bc4faa8ebc4b4a8780d197c840 SHA512 11ef22ad2032fd3c97f4e00578469c4460e03b519a65eeda4eaa3ac911f4290fd8494a295443de16395226a7f9c322bb00e4dee6fe15511cbf03976c134e3af5
EBUILD clanlib-4.1.0.ebuild 1491 BLAKE2B 10474339905ef7d380908b566b7bd1f1216f4139a4df671fc59405b4d2e39f7087a62327b34eed6e70055ebb2918e0e1922a356c2442a2a396e26e2ea2a7b4ee SHA512 e101ec697d3388029ed5cd26f98a0b8422d650ec7b70cef50a1e6ce0db56621ba9c52559fc8987e3ce5e0509979f98dee16fbb9c92ef58b08b26231840e1febc
+EBUILD clanlib-4.2.0.ebuild 1501 BLAKE2B 4acf2cac80d49bc57549184191ac02de57e820f3cd49119a8219525120876e2fca47d5b42cd71ca1281465f7a23510e52d0fa92a8f1a74724568bd7b770e8179 SHA512 2b06ebfcb604303cf291d8e0e2db9029d134444930f9140085a0e563e153ba6ad6337e3a7c353cc85d970ee1779afb64b8aa6ea782d3a25ae8ecc485a0d5b35b
MISC metadata.xml 3097 BLAKE2B a17189a5334540d64d105470c7785d223628d8cff00f5ac162084acc0b4905c537abfbe9383bfa293c751b2efbe5d30a9a3280c92c7954cb3c4a8e04d2c925c5 SHA512 e86eda205bb05a47d49160a458c27d6eb9d67ff1f23921880f6dd46e4c16a930b405f6f2fc41fcd1623458f50452ea5ccdea36abafee802cc6933a7b3b471992
diff --git a/dev-games/clanlib/clanlib-4.2.0.ebuild b/dev-games/clanlib/clanlib-4.2.0.ebuild
new file mode 100644
index 000000000000..b277a01b2eb2
--- /dev/null
+++ b/dev-games/clanlib/clanlib-4.2.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+MY_PN=ClanLib
+
+DESCRIPTION="Multi-platform game development library"
+HOMEPAGE="https://github.com/sphair/ClanLib"
+SRC_URI="https://github.com/sphair/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="ZLIB"
+SLOT="4.2"
+KEYWORDS="~amd64 ~x86" #not big endian safe #82779
+IUSE="cpu_flags_x86_sse2 doc examples opengl +sound static-libs X"
+REQUIRED_USE="opengl? ( X )"
+
+RDEPEND="
+ sys-libs/zlib
+ X? (
+ media-libs/freetype:2
+ media-libs/fontconfig
+ x11-libs/libX11
+ x11-libs/libXinerama
+ opengl? (
+ virtual/opengl
+ x11-libs/libXrender
+ )
+ )
+ sound? ( media-libs/alsa-lib )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? (
+ app-text/doxygen
+ dev-lang/perl
+ media-gfx/graphviz
+ )"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --enable-getaddr
+ $(use_enable doc docs)
+ $(use_enable cpu_flags_x86_sse2 sse2)
+ $(use_enable opengl clanGL)
+ $(use_enable opengl clanUI)
+ $(use_enable X clanDisplay)
+ $(use_enable sound clanSound)
+ $(use_enable static-libs static)
+ )
+
+ tc-export PKG_CONFIG
+
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ default
+ use doc && emake html
+}
+
+src_install() {
+ default
+
+ use doc && emake DESTDIR="${D}" install-html
+ use examples && dodoc -r Examples Resources
+
+ # package provides .pc files
+ find "${ED}" -name '*.la' -delete || die
+}