summaryrefslogtreecommitdiff
path: root/games-strategy/lgeneral
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-21 20:47:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-21 20:47:17 +0000
commit4ab6db5717ef23f29320d4c6fb9ebdb8dec1f193 (patch)
treef7640b8b96a04499f1ce44a2cad122d45a8373bd /games-strategy/lgeneral
parent48bdeb0db9c7ffed22c6eb859ee40b55ba598b86 (diff)
gentoo resync : 21.12.2017
Diffstat (limited to 'games-strategy/lgeneral')
-rw-r--r--games-strategy/lgeneral/Manifest1
-rw-r--r--games-strategy/lgeneral/lgeneral-1.3.1.ebuild98
2 files changed, 0 insertions, 99 deletions
diff --git a/games-strategy/lgeneral/Manifest b/games-strategy/lgeneral/Manifest
index ffe5e1aed1c7..67440d8c5840 100644
--- a/games-strategy/lgeneral/Manifest
+++ b/games-strategy/lgeneral/Manifest
@@ -1,5 +1,4 @@
DIST lgeneral-1.3.1.tar.gz 1678892 BLAKE2B 701b22a8967c037e2385a1f1bbb2e91703cbffc7fff6383f3d593fab07dc01fa352f9ec3ee25dfbbdd5172c4e8cd804bd7f9fa2a84a3c6a22f581884c8d7d9d9 SHA512 4eb8fc6d1dc134792893f3f9b23833da75412fafefea66d699a27de1954d3c1338c7e5dedef842537303368387797ecea2158a477fe1d018e3af973dd5b755e5
DIST pg-data.tar.gz 410454 BLAKE2B 70b325636c43b69b7cdc2f074a0ac49af46db5c60ebeea5ecefaae18169509b05b4c452c34e8b0cd483d3565c54191623ff3eb900f24683252fd8c775ecdf847 SHA512 b0df30dd9a9d0652acd8702d601c489e5d3a030854ceeb173d2daa656c00633a78a3f45814da9f4157b86544dec34eda02495742242653c7cdebba5ec9951516
EBUILD lgeneral-1.3.1-r1.ebuild 2022 BLAKE2B f42273e255ff9045a550a039f4eaa2a99f74928c7f55c63658187301b712a458d1e4f9243756b0e7a292aff422b5c42bf10cd2ad9a0482317756774ece18102b SHA512 1cc1b63ea06323231b8d7e8e473e6c356e49f6f6bf51fab62dde095477eaf0c4700c9c591633057974647bf6152ea27aa1732e3d31dc3304b59c4259647e4fb8
-EBUILD lgeneral-1.3.1.ebuild 2003 BLAKE2B cbf5f5799064c84a8e9b163d4173e813e919684ef126d42b260cda76b5a2e45202f1bc82055f7400bc05dfdc3e6b89c2ef8169c734591577188d0072527022ab SHA512 b4127d348402d68d34cbdaef213f7ef8f068a63a68f89dbefa96adc7b1f763e529fdf3e8775e9bbf1fe6863490ad269cd19b2c9f495ced76846795750e5d8285
MISC metadata.xml 331 BLAKE2B ed6b281fa54a304ddd752e6bda476635922a0d9be37524a0e988666502279b85c793d455de63929c93e02f5b105367b78bea2eeb004e1a996d558159fe6443e2 SHA512 eef1e23a9d81b81e39f84ba41d70d39bf11f52acad42dc312548239919b7ce359a671f9b76dcdee92be92bc11c798d9031f3a641c13ab6febfe5bd978a4bbeeb
diff --git a/games-strategy/lgeneral/lgeneral-1.3.1.ebuild b/games-strategy/lgeneral/lgeneral-1.3.1.ebuild
deleted file mode 100644
index b92b57d13ab7..000000000000
--- a/games-strategy/lgeneral/lgeneral-1.3.1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils autotools gnome2-utils games
-
-MY_P="${P/_/}"
-MY_P="${MY_P/beta/beta-}"
-DESCRIPTION="A Panzer General clone written in SDL"
-HOMEPAGE="http://lgames.sourceforge.net/LGeneral/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_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}
- sys-devel/gettext"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- sed -i \
- -e '/desktop_DATA/d' \
- -e '/icon_DATA/d' \
- Makefile.am || die
-
- cp /usr/share/gettext/config.rpath .
- rm -f missing
- mv configure.in configure.ac
- eautoreconf
-
- # Build a temporary lgc-pg that knows about ${WORKDIR}:
- cp -pPR "${S}" "${WORKDIR}"/tmp-build || die
- sed -i \
- -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
- -e "s:@D@::" \
- {lgc-pg,src}/misc.c || die
-
- cd "${WORKDIR}"/tmp-build || die
- sed -i \
- -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
- -e "s:@D@:${D}:" \
- {lgc-pg,src}/misc.c || die
-}
-
-src_configure() {
- egamesconf \
- $(use_enable nls)
-
- # Build the temporary lgc-pg:
- cd "${WORKDIR}"/tmp-build || die
- egamesconf \
- --disable-nls \
- --datadir="${D}/${GAMES_DATADIR}"
-}
-
-src_compile() {
- emake
-
- # Build the temporary lgc-pg:
- cd "${WORKDIR}"/tmp-build || die
- emake
-}
-
-src_install() {
- default
- keepdir "${GAMES_DATADIR}"/${PN}/{ai_modules,music,terrain}
-
- # Generate scenario data:
- dodir "${GAMES_DATADIR}"/${PN}/gfx/{flags,units,terrain} #413901
- SDL_VIDEODRIVER=dummy "${WORKDIR}"/tmp-build/lgc-pg/lgc-pg \
- -s "${WORKDIR}"/pg-data \
- -d "${D}/${GAMES_DATADIR}"/${PN} || die
-
- doicon -s 48 lgeneral.png
- make_desktop_entry ${PN} LGeneral
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}