summaryrefslogtreecommitdiff
path: root/games-rpg/freedroidrpg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-17 12:04:28 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-17 12:04:28 +0100
commit97bacba3ead078e5db8b87ab651a3ffa7d82f60f (patch)
treea769244c0cdbaa4ae87951809f61da3a3f9df7a4 /games-rpg/freedroidrpg
parentb92911550490e2da121ec4b02d3cf60a2d31a17d (diff)
gentoo auto-resync : 17:04:2024 - 12:04:27
Diffstat (limited to 'games-rpg/freedroidrpg')
-rw-r--r--games-rpg/freedroidrpg/Manifest3
-rw-r--r--games-rpg/freedroidrpg/files/freedroidrpg-1.0-AC_INCLUDES_DEFAULT.patch13
-rw-r--r--games-rpg/freedroidrpg/freedroidrpg-1.0.ebuild16
3 files changed, 27 insertions, 5 deletions
diff --git a/games-rpg/freedroidrpg/Manifest b/games-rpg/freedroidrpg/Manifest
index 8977c77af955..b627ae32dd0a 100644
--- a/games-rpg/freedroidrpg/Manifest
+++ b/games-rpg/freedroidrpg/Manifest
@@ -1,3 +1,4 @@
+AUX freedroidrpg-1.0-AC_INCLUDES_DEFAULT.patch 352 BLAKE2B 5d2cde49d671c25d03ed4cb27215f7ae7883d7189ef53e11201fbcfb4101867d107f5d0103f8151dc8704cf7cf16c17e200a480b46a08413bcccff877094e38b SHA512 97a0c4697ff1c893e95ea1dbcd03c9d2193310a8505b7186c62fa3663ee787bbb48ed3013b8488f6e4c805b0373cd274167f78bb158ba68428c67674ab99ea5e
DIST freedroidRPG-1.0.tar.gz 237703530 BLAKE2B 78531d4e434faecbe34ba34c9996baff8906679916f645ab45d0003b47f55dda6e3a617a39a66aa74185f0983e35cababea2c2240ad42ba0d7a61e73b2308013 SHA512 e3cac480e9db02b2991da674ec6357b1d660996f3fa3eeb75f0908ca653a637eeb44239c1cd7540087f27195e460100d08aa022f6812db72387647218c7bcb29
-EBUILD freedroidrpg-1.0.ebuild 1435 BLAKE2B cdbe5db7a56ea46967aa5af0c29e636520a8c5355190fade158dfdea404d281860dad65f49c87f0f539fd21929da79a9bccd6058384ca4144b7ad9557f963375 SHA512 e77c1ee36a2a92f0e6da58ae24806bd063d32d7f43ce86d3d55351686809ad5b712956cf544f03fdd6f3e8bf04670f08e46e283387ddad4e4247a8f12a17fd4d
+EBUILD freedroidrpg-1.0.ebuild 1525 BLAKE2B b1792bbb0d07d109f6b7a4d9a4e80abc0d0209d3f6bc25356bc27139f39bf1349add2115fc4b93a7231810e0e07f2a6e213faf4c1bc8ace20e075e16e268bd3a SHA512 128724154ba84b0df879a0a4954a2372a6ed151ac88ce1416bf490dff90252c4664c23cff95b995e4cb30190cd3b0d3e36b1a9bd7c0bb33b985d2f20a5ebbe3c
MISC metadata.xml 1841 BLAKE2B 35e1181f9a732aa02c9fd3c354aca984cd0084b373bd62da49f270d03b580d2613775bcd273d0a2cdd9e2cd48c4c0e2fb7f2c81d0e6e6af17a38f29ab251d8d1 SHA512 39c950f196b3cfb24ac213fe919f891f969c35993d1e225961a9f4375dbda2d2bad87c9161b161d0997c1e0102b7a4cef356796b209771ccb062692787d0d43c
diff --git a/games-rpg/freedroidrpg/files/freedroidrpg-1.0-AC_INCLUDES_DEFAULT.patch b/games-rpg/freedroidrpg/files/freedroidrpg-1.0-AC_INCLUDES_DEFAULT.patch
new file mode 100644
index 000000000000..db9754c7e4c6
--- /dev/null
+++ b/games-rpg/freedroidrpg/files/freedroidrpg-1.0-AC_INCLUDES_DEFAULT.patch
@@ -0,0 +1,13 @@
+AC_INCLUDES_DEFAULT isn't actually needed and it causes a QA warning.
+
+https://bugs.gentoo.org/921033
+--- a/configure.ac
++++ b/configure.ac
+@@ -402,7 +402,6 @@ dnl Checks for typedefs, structures, and compiler characteristics.
+ SILENT_BOX([Checking types])
+
+ AC_HEADER_DIRENT
+-AC_INCLUDES_DEFAULT
+ AC_PROG_EGREP
+
+ AC_CHECK_HEADERS_ONCE([sys/time.h])
diff --git a/games-rpg/freedroidrpg/freedroidrpg-1.0.ebuild b/games-rpg/freedroidrpg/freedroidrpg-1.0.ebuild
index 01d5f7f78f03..11cf4a0857d7 100644
--- a/games-rpg/freedroidrpg/freedroidrpg-1.0.ebuild
+++ b/games-rpg/freedroidrpg/freedroidrpg-1.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-3 )
PYTHON_COMPAT=( python3_{9..11} )
-inherit lua-single python-any-r1 xdg
+inherit autotools lua-single python-any-r1 xdg
DESCRIPTION="Modification of the classical Freedroid engine into an RPG"
HOMEPAGE="https://www.freedroid.org/"
@@ -30,13 +30,19 @@ RDEPEND="
media-libs/glew:0=
media-libs/libglvnd[X]
)
- sound? ( media-libs/sdl-mixer[vorbis] )"
+ sound? ( media-libs/sdl-mixer[vorbis] )
+"
DEPEND="${RDEPEND}"
BDEPEND="
${PYTHON_DEPS}
sys-devel/gettext
app-alternatives/awk
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.0-AC_INCLUDES_DEFAULT.patch
+)
pkg_setup() {
lua-single_pkg_setup
@@ -46,6 +52,8 @@ pkg_setup() {
src_prepare() {
default
+ eautoreconf
+
python_fix_shebang src/gen_savestruct.py
rm data/sound/speak.py || die # unused, skip install + python rdep
}