summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-08-09 00:41:05 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-08-09 00:50:07 -0400
commitad9bbacd924f2ebf01c3d9a158ac832cb1196ad9 (patch)
tree8f535b1fd269d4f310bb2434287085b3c94dfe36 /games-strategy/lgeneral
parentgames-strategy/lgeneral: add 1.4.4, various fixes (diff)
downloadgentoo-ad9bbacd924f2ebf01c3d9a158ac832cb1196ad9.tar.gz
gentoo-ad9bbacd924f2ebf01c3d9a158ac832cb1196ad9.tar.bz2
gentoo-ad9bbacd924f2ebf01c3d9a158ac832cb1196ad9.zip
games-strategy/lgeneral: drop 1.4.3
This version distributes non-free files and shouldn't be kept. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-strategy/lgeneral')
-rw-r--r--games-strategy/lgeneral/Manifest2
-rw-r--r--games-strategy/lgeneral/lgeneral-1.4.3.ebuild74
2 files changed, 0 insertions, 76 deletions
diff --git a/games-strategy/lgeneral/Manifest b/games-strategy/lgeneral/Manifest
index 166a34ba04bf..da9d24d044e2 100644
--- a/games-strategy/lgeneral/Manifest
+++ b/games-strategy/lgeneral/Manifest
@@ -1,4 +1,2 @@
DIST kukgen-data-1.1.tar.gz 1883592 BLAKE2B 66e901696210173bccc4cd463aa30cf0bff1e1115597f1a266b1364df229f8749fb324fe12814efef01d73c8360ba6feb96c05b9b2f7ba59d3512445fd268944 SHA512 239c59924943627ab7ef3dac3283884cf34c8a299bc8974aae0ddcf180c95dcecd6e1b3eb1c69b5db39dbfa86e027649343df5fdfe655709a3b817f08575a546
-DIST lgeneral-1.4.3.tar.gz 1924730 BLAKE2B a0f3be4a50e384b7f6baddc705825f12fc4298eb3b73ac7164c0eb6330dd3e204ceb4218e88a322aa438b2fba1b6204dedab21e528713889a67a84f6b0cff768 SHA512 09f8e29b8f6c1af593f56f4d4b7c8437bfa4dfc69bfd0dbe158b7add0bc5ff505fe1ed83bbb8daca17ae43e91ae1a47c5efe2c7700a3ea456505a51d293f1101
DIST lgeneral-1.4.4.tar.gz 1891302 BLAKE2B 354ef85f1769881dbddd85dee0772c036c86308dd669c2e4d44d53d6acdafb77f5491e4f1298cd1af8a4eb82d4c87d1fa154c2c355e226ff82ed7248114c449f SHA512 d1028e999c5420477ed02521ea8bd32dd7481067f3b6f25545b367c082cd740e6c950f1383bc0aa33c345a380ed2abb9f2b5285b60d429bdb48972ce5fca34b2
-DIST pg-data.tar.gz 410454 BLAKE2B 70b325636c43b69b7cdc2f074a0ac49af46db5c60ebeea5ecefaae18169509b05b4c452c34e8b0cd483d3565c54191623ff3eb900f24683252fd8c775ecdf847 SHA512 b0df30dd9a9d0652acd8702d601c489e5d3a030854ceeb173d2daa656c00633a78a3f45814da9f4157b86544dec34eda02495742242653c7cdebba5ec9951516
diff --git a/games-strategy/lgeneral/lgeneral-1.4.3.ebuild b/games-strategy/lgeneral/lgeneral-1.4.3.ebuild
deleted file mode 100644
index def5b5f87a24..000000000000
--- a/games-strategy/lgeneral/lgeneral-1.4.3.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg
-
-DESCRIPTION="A Panzer General clone written in SDL"
-HOMEPAGE="http://lgames.sourceforge.net/LGeneral/"
-SRC_URI="
- mirror://sourceforge/${PN}/${P}.tar.gz
- mirror://sourceforge/${PN}/pg-data.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="nls"
-
-RDEPEND="
- media-libs/libsdl[sound,video]
- media-libs/sdl-mixer
- nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-devel/gettext"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.4.3-fix-utf8.patch )
-
-src_prepare() {
- default
-
- # Build a temporary lgc-pg that knows about ${WORKDIR}:
- cp -pPR "${S}" "${WORKDIR}"/tmp-build || die
- sed -i \
- -e "s:@GENTOO_DATADIR@:/usr/share:" \
- -e "s:@D@::" \
- {lgc-pg,src}/misc.c || die
-
- cd "${WORKDIR}"/tmp-build || die
- sed -i \
- -e "s:@GENTOO_DATADIR@:/usr/share:" \
- -e "s:@D@:${D}:" \
- {lgc-pg,src}/misc.c || die
-}
-
-src_configure() {
- econf $(use_enable nls)
-
- # Build the temporary lgc-pg:
- cd "${WORKDIR}"/tmp-build || die
- econf \
- --disable-nls \
- --datadir="${D}/usr/share"
-}
-
-src_compile() {
- emake AR="$(tc-getAR)"
-
- # Build the temporary lgc-pg:
- emake -C "${WORKDIR}"/tmp-build AR="$(tc-getAR)"
-}
-
-src_install() {
- default
- keepdir /usr/share/${PN}/{ai_modules,music,terrain}
-
- # Generate scenario data:
- dodir /usr/share/${PN}/gfx/{flags,units,terrain} #413901
- SDL_VIDEODRIVER=dummy "${WORKDIR}"/tmp-build/lgc-pg/lgc-pg --separate-bridges \
- -s "${WORKDIR}"/pg-data \
- -d "${D}"/usr/share/${PN} || die
-
- doicon -s 48 lgeneral.png
- make_desktop_entry ${PN} LGeneral
-}