public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/clanlib/
Date: Sat,  2 Nov 2024 12:06:05 +0000 (UTC)	[thread overview]
Message-ID: <1730549140.af462ec67aee4653dbc3b8d8be11a79de5c73229.conikost@gentoo> (raw)

commit:     af462ec67aee4653dbc3b8d8be11a79de5c73229
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Oct 29 18:29:23 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Nov  2 12:05:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af462ec6

dev-games/clanlib: add 4.2.0

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/39151
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-games/clanlib/Manifest             |  1 +
 dev-games/clanlib/clanlib-4.2.0.ebuild | 78 ++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/dev-games/clanlib/Manifest b/dev-games/clanlib/Manifest
index a54ac9118f5b..068821810e2e 100644
--- a/dev-games/clanlib/Manifest
+++ b/dev-games/clanlib/Manifest
@@ -1,3 +1,4 @@
 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

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
+}


             reply	other threads:[~2024-11-02 12:06 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-02 12:06 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-25 18:19 [gentoo-commits] repo/gentoo:master commit in: dev-games/clanlib/ Andreas Sturmlechner
2025-06-28 21:57 Sam James
2025-06-28 21:57 Sam James
2025-06-28 21:57 Sam James
2025-06-28 21:57 Sam James
2025-06-28 21:57 Sam James
2025-06-28 21:57 Sam James
2025-06-28 21:57 Sam James
2025-06-28 21:57 Sam James
2024-07-03 22:37 Eli Schwartz
2024-07-03 22:37 Eli Schwartz
2024-07-03 22:37 Eli Schwartz
2023-09-27  6:34 Sam James
2023-09-27  6:15 Sam James
2022-12-19  7:23 Ionen Wolkens
2022-12-19  7:23 Ionen Wolkens
2022-12-19  7:23 Ionen Wolkens
2022-12-13 18:07 Arthur Zamarin
2022-12-13 18:07 Arthur Zamarin
2022-10-28 22:47 Pacho Ramos
2021-10-22  2:21 Ionen Wolkens
2021-10-22  2:21 Ionen Wolkens
2021-10-22  2:21 Ionen Wolkens
2021-04-11  9:24 James Le Cuirot
2021-03-12 19:25 Sam James
2021-03-12 19:23 Sam James
2021-03-12 19:23 Sam James
2021-03-12 18:58 Sam James
2021-03-12 18:58 Sam James
2021-02-25  9:53 Sam James
2021-02-25  6:36 Sam James
2016-04-28  4:08 Michael Sterrett
2016-01-02 20:50 Michael Sterrett
2015-12-18 10:16 Michael Sterrett
2015-12-18 10:13 Michael Sterrett
2015-12-18  0:47 Michael Sterrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1730549140.af462ec67aee4653dbc3b8d8be11a79de5c73229.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox