summaryrefslogtreecommitdiff
path: root/dev-games/guichan
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-11 04:04:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-11 04:04:15 +0100
commit61af1efe96cf1037982d2fc90af0749b5ec5a0c6 (patch)
treefd4966f3b19ef9b18ed5024d7e2f48ef73eb2fee /dev-games/guichan
parent3aae425b3c39d02e2dc917db0fae8c225c158ca1 (diff)
gentoo auto-resync : 11:10:2024 - 04:04:14
Diffstat (limited to 'dev-games/guichan')
-rw-r--r--dev-games/guichan/Manifest3
-rw-r--r--dev-games/guichan/guichan-0.8.2-r1.ebuild54
-rw-r--r--dev-games/guichan/metadata.xml1
3 files changed, 57 insertions, 1 deletions
diff --git a/dev-games/guichan/Manifest b/dev-games/guichan/Manifest
index 7555b5e358e3..b280db3c811f 100644
--- a/dev-games/guichan/Manifest
+++ b/dev-games/guichan/Manifest
@@ -2,5 +2,6 @@ AUX guichan-0.8.2-as-needed.patch 553 BLAKE2B 61214a1e8bdf15208ab996511d9102fba2
AUX guichan-0.8.2-automake-1.13.patch 239 BLAKE2B 6b9545f5fea0a0b656f3e9fb122941832dc2965750889f17648581073d99ef0d00f5bb9a288f62835b13429df813f9cdbc83f012ae0b4421f118ffe674fe78a5 SHA512 eb4421b3a08aac004d4ac6d0f86994bb64a6fdb00698224ded7aacffc418f7f0e4f75234fe733653fc1fd43b4fe01610b5c883c9e654658692ccb62470ad1f0d
AUX guichan-0.8.2-slibtool-undefined-references.patch 1700 BLAKE2B fb876f3b370be1f1dc92b1e7e48da2afa6146faaf9fefb6fe2e654a31bcc1052a55d15f0c4c12251260cd5311875cf307b6c4de05a12df87bfff302c41bf481b SHA512 92c92919feb46d88771fc1c0dd396c375d77fb2ee994a552c0695bfc33cba90057e0085655a970edc58760a2851cc0e8c19cd59fa393c90a5e94146bd39b82c7
DIST guichan-0.8.2.tar.gz 574662 BLAKE2B eb8d5754d86c57e28bffe20420873ca4c5c0d0e72ad98d09717385be06ccb2572ae1f09e80d5b3119fb01d77f1ad7181af683b536e8ed3e493686687a9cef212 SHA512 b05b3da3c998399eadbaf3154de533038bb394919569c361c26245aa0e7072493b12d3556c94a2420622007525e19dcd76a27db06a76fb56ec96d50429a6ed98
+EBUILD guichan-0.8.2-r1.ebuild 1039 BLAKE2B 48e54a00c589c5b8c31a29ce2c536d23a3ed77e80fd912b7b436980355933cb7d1c1a7b2ebfe5b653af7fd96e70946d5458b33097cc111d4f98aee46ec10ee5d SHA512 7b71c19d4a75804e37c8bd0752f81ae621b439773e1175ff7297e532348eae5e163a235527dd85dc02e2eb3be0cd00bfbe373d4209f998535985c807ebb46bbf
EBUILD guichan-0.8.2.ebuild 1014 BLAKE2B 2fbb31c2f0ed7bb6ee7a295079f7a4b7b7192a4db11b1f8c84185dbe0d973785536d539e1ef1ec494216be6f5e941d4b110d21eb0e83feb7bf728389eb26c24b SHA512 3aed0d52a67ca9746437820dea123c4db986b2d79fa4a5af2abb8d6474abe5c60a2f6a5b99a21ea196452060334a0ee11c3364c27024a724b38a7e7a4106cf8c
-MISC metadata.xml 455 BLAKE2B 740962f7e4bf67898d9914b38f0f824652294bf55da288908e4f49452daf89f5e974557b714d171104b206b47d3baa7d95ae22da373985378a5be0593bff311b SHA512 1d6a15b2eb2a8d887e0d3facf652773fb3eeb4c1757ba628f95c5ac3952e301564fc03923d1a2eaf8ad6a7019826ff01d93228553d3de4824489a550de819b73
+MISC metadata.xml 514 BLAKE2B 1bf5ecea45d6f1e19b388a35a0e0a6ba070f7f13db063384e6eecf3a130ff5874f26879fcfe8425be162886960858fc714766e5445d3c4af1cff53015b710a10 SHA512 c897fe1d234eb0e5d10ec883eedf6812cbe8274b12100a323861ce4d00f18f61bda6d2e1afbda8ec07a16d2c2817f7116bff9cc98a9a83d2a4d83cc91a732575
diff --git a/dev-games/guichan/guichan-0.8.2-r1.ebuild b/dev-games/guichan/guichan-0.8.2-r1.ebuild
new file mode 100644
index 000000000000..22e244aec69d
--- /dev/null
+++ b/dev-games/guichan/guichan-0.8.2-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL"
+HOMEPAGE="https://github.com/darkbitsorg/guichan"
+SRC_URI="https://github.com/darkbitsorg/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="allegro opengl sdl"
+
+DEPEND="
+ allegro? ( media-libs/allegro:0 )
+ opengl? ( virtual/opengl )
+ sdl? (
+ media-libs/libsdl
+ media-libs/sdl-image
+ )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-as-needed.patch
+ "${FILESDIR}"/${P}-automake-1.13.patch
+ "${FILESDIR}"/${P}-slibtool-undefined-references.patch
+)
+
+src_prepare() {
+ default
+
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable allegro)
+ $(use_enable opengl)
+ $(use_enable sdl)
+ $(use_enable sdl sdlimage)
+ )
+
+ econf "${myeconfargs}"
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/dev-games/guichan/metadata.xml b/dev-games/guichan/metadata.xml
index 82d4f99756bf..59e233d7f502 100644
--- a/dev-games/guichan/metadata.xml
+++ b/dev-games/guichan/metadata.xml
@@ -11,5 +11,6 @@
<upstream>
<remote-id type="google-code">guichan</remote-id>
<remote-id type="sourceforge">guichan</remote-id>
+ <remote-id type="github">darkbitsorg/guichan</remote-id>
</upstream>
</pkgmetadata>