summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-simulation/lincity-ng/Manifest1
-rw-r--r--games-simulation/lincity-ng/lincity-ng-2.13.1.ebuild47
-rw-r--r--games-simulation/lincity-ng/lincity-ng-9999.ebuild45
3 files changed, 93 insertions, 0 deletions
diff --git a/games-simulation/lincity-ng/Manifest b/games-simulation/lincity-ng/Manifest
index 4b146efcc55f..a50d5f3d40c8 100644
--- a/games-simulation/lincity-ng/Manifest
+++ b/games-simulation/lincity-ng/Manifest
@@ -1 +1,2 @@
+DIST lincity-ng-2.13.1-Source.tar.xz 93133488 BLAKE2B 56142d7415fd858289f21d796ffcd7af9e26faabd012d985f2fd773000206764795ff1bb5f79e79c85d0950b3debe80627cf371018c015bbfbad0ee71c53a543 SHA512 8fe31744dbb25910510b72f35d530cf85c672ad2aaa7737bbd0a8a71f783a5e240b551ffd73dd7dbe1559e3be2a441dad7e882bf764ffcedceb06e1cdb43acc3
DIST lincity-ng-2.9_beta.tar.gz 115799513 BLAKE2B 038c69172af9a62b35199823ef56200e170a8eafef2849bc6d8797bbc20ffa01656d05b1ba0725d4d33e217602f6695d3bdf2774b90b85c6e257e13e019bebcb SHA512 194b7389d7172b7987eda14cbbf2dd91aa503af36db9cf3bdf07ab6ae5e0068ac00988fec6068d65da6bdf14dee623bba57a58192e2a9659e741a7c9036e6d65
diff --git a/games-simulation/lincity-ng/lincity-ng-2.13.1.ebuild b/games-simulation/lincity-ng/lincity-ng-2.13.1.ebuild
new file mode 100644
index 000000000000..7c07816a05e2
--- /dev/null
+++ b/games-simulation/lincity-ng/lincity-ng-2.13.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+inherit cmake xdg
+
+DESCRIPTION="City simulation game"
+HOMEPAGE="https://github.com/lincity-ng/lincity-ng"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/lincity-ng/lincity-ng"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/lincity-ng/lincity-ng/releases/download/${P}/${P}-Source.tar.xz"
+ S="${WORKDIR}"/${P}-Source
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+ BitstreamVera CC-BY-SA-2.0"
+SLOT="0"
+
+RDEPEND="
+ dev-games/physfs
+ dev-libs/libxml2:2=
+ dev-cpp/libxmlpp:5.0=
+ media-libs/libsdl2[joystick,opengl,sound,video]
+ media-libs/sdl2-gfx
+ media-libs/sdl2-image[png]
+ media-libs/sdl2-mixer[vorbis]
+ media-libs/sdl2-ttf
+ sys-libs/zlib
+ virtual/opengl
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-libs/libxslt
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_configure(){
+ local mycmakeargs=( -DCMAKE_BUILD_TYPE=Release )
+ cmake_src_configure
+}
diff --git a/games-simulation/lincity-ng/lincity-ng-9999.ebuild b/games-simulation/lincity-ng/lincity-ng-9999.ebuild
new file mode 100644
index 000000000000..a51cb8da2e74
--- /dev/null
+++ b/games-simulation/lincity-ng/lincity-ng-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+inherit cmake xdg
+
+DESCRIPTION="City simulation game"
+HOMEPAGE="https://github.com/lincity-ng/lincity-ng"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/lincity-ng/lincity-ng"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/lincity-ng/lincity-ng/releases/download/${P}/${P}-Source.tar.xz"
+ S="${WORKDIR}"/${P}-Source
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+ BitstreamVera CC-BY-SA-2.0"
+SLOT="0"
+
+RDEPEND="
+ dev-libs/libxml2:2=
+ dev-cpp/libxmlpp:5.0=
+ >=media-libs/libsdl2-2.0.18[joystick,opengl,sound,video]
+ >=media-libs/sdl2-image-2.0.0[png]
+ >=media-libs/sdl2-mixer-2.0.0[vorbis]
+ >=media-libs/sdl2-ttf-2.0.12
+ >=sys-libs/zlib-1.0
+ virtual/opengl
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-libs/libxslt
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_configure(){
+ local mycmakeargs=( -DCMAKE_BUILD_TYPE=Release )
+ cmake_src_configure
+}