summaryrefslogtreecommitdiff
path: root/dev-games
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-05 04:27:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-05 04:27:10 +0100
commitf3f72d0d5f1ae9ee74acaa63ccb7a247468e73bf (patch)
treee67f56736e141f27487331c26096c4c0a51979a8 /dev-games
parentfa275aeb316ed5e68498ca0057b27a1e9c887e26 (diff)
gentoo auto-resync : 05:10:2024 - 04:27:09
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/Manifest.gzbin5722 -> 5734 bytes
-rw-r--r--dev-games/irrlicht-headers/Manifest2
-rw-r--r--dev-games/irrlicht-headers/irrlicht-headers-1.8.5.ebuild41
-rw-r--r--dev-games/irrlicht/Manifest2
-rw-r--r--dev-games/irrlicht/irrlicht-1.8.5.ebuild83
5 files changed, 128 insertions, 0 deletions
diff --git a/dev-games/Manifest.gz b/dev-games/Manifest.gz
index d6adbf62ff7d..c2df5ded9333 100644
--- a/dev-games/Manifest.gz
+++ b/dev-games/Manifest.gz
Binary files differ
diff --git a/dev-games/irrlicht-headers/Manifest b/dev-games/irrlicht-headers/Manifest
index da807b4e99aa..e12f0a9bbd58 100644
--- a/dev-games/irrlicht-headers/Manifest
+++ b/dev-games/irrlicht-headers/Manifest
@@ -1,4 +1,6 @@
DIST irrlicht-1.8.4-patchset.tar.bz2 4813 BLAKE2B acad0f0dcc2ff5778608d0620063e7c70935838447f4bd1b241e08fb24f69531c29d96e95de394a3018e239fd7865bc3b50dc9ed5d54dd171b7b51df6c740b4d SHA512 5035cdf42fd26449d03e849ca248f6abcfcea1b0e9827683f00be2545ce90e3979e41c94fd487cfb1c67450e2e973f872d11d233c5a5b654700cec2ccb7f5602
DIST irrlicht-1.8.4.zip 27927144 BLAKE2B 2c2d7e1306b169e537258152f88b11578d8a33c0ebe58e7ee48242048b70b9ba01069fcf272e44e18f7afbd1e6ec89d6bd86289d203929388e6b96871c048a98 SHA512 de69ddd2c6bc80a1b27b9a620e3697b1baa552f24c7d624076d471f3aecd9b15f71dce3b640811e6ece20f49b57688d428e3503936a7926b3e3b0cc696af98d1
+DIST irrlicht-1.8.5.zip 21827696 BLAKE2B 25f2a6479d8c60b3e99c2f6d80181f82ba983f9aeca2bed31f63dcb5a0aa62a82753f733e5b516a5eacdb5b4119b0bb6385ced9144471a46e99e6ebd0d3b0126 SHA512 d11c7a056bfb8c9737ed583c5bc5794223bc59fb4620411b63bc4d1eedc41db2ed1cab5cb7a37fee42a7f38c0e0645f5fc53fd329fff0f2aa78e0df6804c47c9
EBUILD irrlicht-headers-1.8.4.ebuild 850 BLAKE2B 6828989ce2c1648a49dbcc66da33ea5de5c8ad2f8c94a4b6d5a90685f0f0a75173f37fe77f44dd4be66ed59ec42584183839d574bb3b01963b2250d3b6476947 SHA512 362c0132ef861a42f926ce2ee4be683be95302e2a702c8cd9273ba6d7c606db20b5c9d78fccda84cf7bc9dac0ed208ba39042746cc6a1df03d2d0eb6afc318e0
+EBUILD irrlicht-headers-1.8.5.ebuild 834 BLAKE2B 2c91fcdd9e5dd740972268b5cbcfb518310c08a26a842d2846206d56c00024e3b48638b90c157da19b3fcf4534d3b1ed58e174644a4454ed04ec50466852d2dc SHA512 80c3f4ea3fb7860a57ee3305689824d34998824793932b99949e3d0c674f1fb774991cf8b0021883cc05b8d1102f639902f56ebef4a40959c949a1a0f53604f2
MISC metadata.xml 332 BLAKE2B dff10966350a7b3ff05b3a082516e895eb930e185e67ed9079c3cd1441d9c37bf01e3c1db62f0e9c200aa3e79e5709459d1d8c4172d4c1e29c590848a1828ff9 SHA512 30c3d6226f5a6271d96b9b0b158bdd93abc5b8670a04d00aa9b8f2e14637a0215e2a4c02e4db2ed2ccdccbd298c1fa544b31d5dbce97ab65ab4d2d185b6de787
diff --git a/dev-games/irrlicht-headers/irrlicht-headers-1.8.5.ebuild b/dev-games/irrlicht-headers/irrlicht-headers-1.8.5.ebuild
new file mode 100644
index 000000000000..841369b95a2c
--- /dev/null
+++ b/dev-games/irrlicht-headers/irrlicht-headers-1.8.5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edos2unix
+
+MY_PN="irrlicht"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="Irrlicht 3D engine headers"
+HOMEPAGE="https://irrlicht.sourceforge.io/"
+SRC_URI="https://downloads.sourceforge.net/irrlicht/${MY_P}.zip
+ https://dev.gentoo.org/~mgorny/dist/${MY_PN}-1.8.4-patchset.tar.bz2"
+S="${WORKDIR}/${MY_P}/source/${MY_PN^}"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+BDEPEND="app-arch/unzip"
+
+PATCHES=(
+ "${WORKDIR}"/${MY_PN}-1.8.4-patchset/${MY_PN}-1.8.4-config.patch
+)
+
+src_prepare() {
+ cd "${WORKDIR}"/${MY_P} || die
+ edos2unix include/IrrCompileConfig.h
+ default
+}
+
+src_configure() { :; }
+
+src_compile() { :; }
+
+src_install() {
+ cd "${WORKDIR}"/${MY_P} || die
+
+ insinto /usr/include/${MY_PN}
+ doins include/*
+}
diff --git a/dev-games/irrlicht/Manifest b/dev-games/irrlicht/Manifest
index 9037dc07a4b8..d3791fffd9ff 100644
--- a/dev-games/irrlicht/Manifest
+++ b/dev-games/irrlicht/Manifest
@@ -2,5 +2,7 @@ AUX irrlicht-1.8.4-drop-register.patch 805 BLAKE2B d44a7fb189bbc28b87606bbca9587
AUX irrlicht-1.8.4-remove-sys-sysctl.h.patch 1101 BLAKE2B 186373a614e3e15330559784eba9d56f19d915d3db7d29db1f919c10b17ef4c2242cfc0acfb6e5b3e56599a64e77171721ef4b4d5e1fe5ff1ddcc94ccf58e23a SHA512 a1a7bbc1c25ce8ddb4aefd323c420085d99463600cda2f633279cf16f97fb38094841b6b6d2f434710e16eb5b25374f51c420518567b1f855e4da37c02f85f08
DIST irrlicht-1.8.4-patchset.tar.bz2 4813 BLAKE2B acad0f0dcc2ff5778608d0620063e7c70935838447f4bd1b241e08fb24f69531c29d96e95de394a3018e239fd7865bc3b50dc9ed5d54dd171b7b51df6c740b4d SHA512 5035cdf42fd26449d03e849ca248f6abcfcea1b0e9827683f00be2545ce90e3979e41c94fd487cfb1c67450e2e973f872d11d233c5a5b654700cec2ccb7f5602
DIST irrlicht-1.8.4.zip 27927144 BLAKE2B 2c2d7e1306b169e537258152f88b11578d8a33c0ebe58e7ee48242048b70b9ba01069fcf272e44e18f7afbd1e6ec89d6bd86289d203929388e6b96871c048a98 SHA512 de69ddd2c6bc80a1b27b9a620e3697b1baa552f24c7d624076d471f3aecd9b15f71dce3b640811e6ece20f49b57688d428e3503936a7926b3e3b0cc696af98d1
+DIST irrlicht-1.8.5.zip 21827696 BLAKE2B 25f2a6479d8c60b3e99c2f6d80181f82ba983f9aeca2bed31f63dcb5a0aa62a82753f733e5b516a5eacdb5b4119b0bb6385ced9144471a46e99e6ebd0d3b0126 SHA512 d11c7a056bfb8c9737ed583c5bc5794223bc59fb4620411b63bc4d1eedc41db2ed1cab5cb7a37fee42a7f38c0e0645f5fc53fd329fff0f2aa78e0df6804c47c9
EBUILD irrlicht-1.8.4-r2.ebuild 1984 BLAKE2B 0268f9ffdbfaada9d3a912c9b88f75c40c5e324bc3d28b98bac328a5b8c921117a38eaa8bf164d617d6903942f36af2a1dd24d547134e2a26e875b399a19136c SHA512 ddb24592682aec4a68e2be36201d5881d1a84a6d40f507b1d1827a3b11aabba31cb0223daa3f04cf5c6b43487229586a6ecff67d99aa0f7205acf15960d4e889
+EBUILD irrlicht-1.8.5.ebuild 2010 BLAKE2B c568b5b59385cf1b276c4359064b57021a64cfe1f59415aa3bb1e533b0f7f0d5430ef7c9cc43ea948d09b7477ebc83b716d14af2ee4f701830fa5caceef10967 SHA512 91f82406fea7ebac0dd69ed660861f6304690e4e765ab2c17b6dde10d3f865a9934de4bba040553338e0b7716d5637ebd322f1f359633e3ca569a024150f5f38
MISC metadata.xml 968 BLAKE2B 04b8c50136a2ec3df50c84237f890fb0863343fa6a1956f8c519e5c372b7bbe303fa0bfbe6ee87bc763af405f0eaf3baddf8f90d5d71d116aa223ab44d97c229 SHA512 cf5cc11f226ba021756e85378916a47a33f1979d76d004132fb90e3c235391542adb814ff03b9977a36a397c0b498b1a20981a70ac4fa51994304f76cc152f9e
diff --git a/dev-games/irrlicht/irrlicht-1.8.5.ebuild b/dev-games/irrlicht/irrlicht-1.8.5.ebuild
new file mode 100644
index 000000000000..538e8e60e57e
--- /dev/null
+++ b/dev-games/irrlicht/irrlicht-1.8.5.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Open source high performance realtime 3D engine written in C++"
+HOMEPAGE="https://irrlicht.sourceforge.io/"
+SRC_URI="
+ https://downloads.sourceforge.net/irrlicht/${P}.zip
+ https://dev.gentoo.org/~mgorny/dist/${PN}-1.8.4-patchset.tar.bz2"
+S="${WORKDIR}/${P}/source/${PN^}"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="debug doc"
+
+RDEPEND="
+ app-arch/bzip2
+ ~dev-games/irrlicht-headers-${PV}
+ media-libs/libpng:=
+ sys-libs/zlib:=
+ media-libs/libjpeg-turbo:=
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXxf86vm"
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto"
+BDEPEND="app-arch/unzip"
+
+PATCHES=(
+ "${WORKDIR}"/${PN}-1.8.4-patchset/${PN}-1.8.4-gentoo.patch
+ "${WORKDIR}"/${PN}-1.8.4-patchset/${PN}-1.8.4-demoMake.patch
+ "${WORKDIR}"/${PN}-1.8.4-patchset/${PN}-1.8.4-mesa-10.x.patch
+ "${WORKDIR}"/${PN}-1.8.4-patchset/${PN}-1.8.4-jpeg-9a.patch
+ "${FILESDIR}"/${PN}-1.8.4-drop-register.patch
+)
+
+DOCS=( changes.txt readme.txt )
+
+src_prepare() {
+ cd "${WORKDIR}"/${P} || die
+
+ # Use system-provided Irrlicht headers
+ rm -r include || die
+ ln -s "${ESYSROOT}/usr/include/irrlicht" include || die
+
+ # Fix relative path to media directory
+ sed -i \
+ -e 's:\.\./\.\./media:../media:g' \
+ $(grep -rl '\.\./\.\./media' examples) \
+ || die 'sed failed'
+
+ # Fix line endings so ${P}-remove-sys-sysctl.h.patch applies
+ sed -i \
+ -e 's/\r$//' \
+ source/Irrlicht/COSOperator.cpp \
+ || die 'sed failed'
+
+ default
+}
+
+src_compile() {
+ tc-export CXX CC AR
+ emake NDEBUG=$(usev !debug 1) sharedlib
+}
+
+src_install() {
+ cd "${WORKDIR}"/${P} || die
+
+ dolib.so lib/Linux/libIrrlicht.so*
+
+ # create library symlinks
+ dosym libIrrlicht.so.${PV} /usr/$(get_libdir)/libIrrlicht.so.1.8
+ dosym libIrrlicht.so.${PV} /usr/$(get_libdir)/libIrrlicht.so
+
+ einstalldocs
+
+ # don't do these with einstalldocs because they shouldn't be compressed
+ use doc && dodoc -r examples media
+}