summaryrefslogtreecommitdiff
path: root/games-puzzle/xblockout
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /games-puzzle/xblockout
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'games-puzzle/xblockout')
-rw-r--r--games-puzzle/xblockout/Manifest2
-rw-r--r--games-puzzle/xblockout/xblockout-1.1.6-r2.ebuild (renamed from games-puzzle/xblockout/xblockout-1.1.6-r1.ebuild)23
2 files changed, 15 insertions, 10 deletions
diff --git a/games-puzzle/xblockout/Manifest b/games-puzzle/xblockout/Manifest
index 668a714270f9..8303b2cb89f2 100644
--- a/games-puzzle/xblockout/Manifest
+++ b/games-puzzle/xblockout/Manifest
@@ -1,4 +1,4 @@
AUX xblockout-1.1.6-font.patch 1535 BLAKE2B 5ae0fffb0d04c69123bb0c1098bcbaf2053551530d9f7f6f001ae693d4826148d16f4793009c83b286a7c9df8669e507145e39f2c7aa6bf4638ddc1e97bab15b SHA512 f74245e8d97859fa692c82f69657a77d31e84f249b5d29e23b16f072d596e85a51800f4af4578ba194151a6d0c5b577bad7a40a95d0477f31d2ae8147bec585d
DIST xbl-1.1.6.tar.gz 136504 BLAKE2B 253c4a950def66abaef3547596b569542ea0dcd180fa5e81a7cb581d9dc23b2038b39c1059ddd36cfc89275ef3fb2a25d174ada71ab1818e408818613559a33e SHA512 96bf0460863698136a61b43260feed0e90e7ca5b6613d54c8ca98f51557a3d235597eeab46141cd6771aa0bf4fe019c5e4291dd826338e186cc905e3837531e0
-EBUILD xblockout-1.1.6-r1.ebuild 1216 BLAKE2B 1fbed71ba49c6a5851d9934faec162692cd77250d9bf61e42cb663685b56df055ced6c7f3d0fdc776c7e8ce4595ee396a435b063f6488f1c2c848906bbab36b2 SHA512 ddc6e41fbe580d99d48dbe69407720b5dd50fdaca6ad9fe149b5d8c141373b880654f2a7dac98e1e143adaa15845eddfde52349b87128613b647253048dc7134
+EBUILD xblockout-1.1.6-r2.ebuild 1306 BLAKE2B 9ab7a3c65fca5b98d06b8db03e2ab2d957e3253de6a0e916782eb94d808b4e4a778aef4250ee93b3900456fecdf421f872a96fd8fb0d2897d7a663e6e41ba2f9 SHA512 43b4d8c77cfa59d6af9b811b256d931d87adcf9628e1ca01f088cc9fd797e53d173c191f33a06286baab360bbd3792a1ef644ab3cf28dcd1de44de0860f1bf44
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-puzzle/xblockout/xblockout-1.1.6-r1.ebuild b/games-puzzle/xblockout/xblockout-1.1.6-r2.ebuild
index 71a44a6d8c39..914ab6d1ac1c 100644
--- a/games-puzzle/xblockout/xblockout-1.1.6-r1.ebuild
+++ b/games-puzzle/xblockout/xblockout-1.1.6-r2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit autotools desktop flag-o-matic
+EAPI=7
+
+inherit autotools desktop flag-o-matic toolchain-funcs
DESCRIPTION="X Window block dropping game in 3 Dimension"
HOMEPAGE="http://perso.univ-lyon1.fr/thierry.excoffier/XBL/"
@@ -11,7 +12,6 @@ SRC_URI="http://perso.univ-lyon1.fr/thierry.excoffier/XBL/xbl-${PV}.tar.gz"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RDEPEND="
x11-libs/libX11
@@ -21,14 +21,17 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/xbl-${PV}"
+PATCHES=(
+ "${FILESDIR}"/${P}-font.patch
+)
+
src_prepare() {
default
- eapply "${FILESDIR}"/${P}-font.patch
sed -i \
-e '/^CC/d' \
-e 's:-lm:-lm -lX11:' \
-e '/DGROUP_GID/d' \
- -e "s:-g$:${CFLAGS}:" \
+ -e 's:-g$:$(GENTOO_CFLAGS):' \
Makefile.in || die
# Don't know about other archs. --slarti
use amd64 && filter-flags "-fweb"
@@ -40,9 +43,11 @@ src_prepare() {
src_compile() {
emake \
USE_SETGID= \
- SCOREDIR="/usr/share/${PN}" \
- RESOURCEDIR="/usr/share/${PN}" \
- LDOPTIONS="${LDFLAGS}"
+ SCOREDIR="${EPREFIX}/usr/share/${PN}" \
+ RESOURCEDIR="${EPREFIX}/usr/share/${PN}" \
+ LDOPTIONS="${LDFLAGS}" \
+ GENTOO_CFLAGS="${CFLAGS}" \
+ CC="$(tc-getCC)"
}
src_install() {