* [gentoo-commits] proj/gamerlay:master commit in: games-action/d2x-xl/
@ 2013-08-06 21:30 Vadim A. Misbakh-Soloviov
0 siblings, 0 replies; 2+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2013-08-06 21:30 UTC (permalink / raw
To: gentoo-commits
commit: c5075fe40e7246c20540181cd9d83aae518c8335
Author: Alexander Turenko <alextux <AT> bk <DOT> ru>
AuthorDate: Tue Aug 6 21:01:45 2013 +0000
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Tue Aug 6 21:29:32 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=c5075fe4
[PATCH 2/2] [games-action/d2x-xl] Version bump: 1.16.27.
* Disable tring to download from gentoo://mirror.
* Simplify SRC_URI constructing.
* Bump new version.
Signed-off-by: Vadim A. Misbakh-Soloviov <mva <AT> mva.name>
---
games-action/d2x-xl/d2x-xl-1.16.15.ebuild | 22 ++++++++++++++--------
...d2x-xl-1.16.15.ebuild => d2x-xl-1.16.27.ebuild} | 22 ++++++++++++++--------
2 files changed, 28 insertions(+), 16 deletions(-)
diff --git a/games-action/d2x-xl/d2x-xl-1.16.15.ebuild b/games-action/d2x-xl/d2x-xl-1.16.15.ebuild
index b92355b..628bd17 100644
--- a/games-action/d2x-xl/d2x-xl-1.16.15.ebuild
+++ b/games-action/d2x-xl/d2x-xl-1.16.15.ebuild
@@ -13,6 +13,17 @@ DATA_FILE="${PN}-data-1.15.295.7z"
DESCRIPTION="Descent 2 engine supporting high-resolution textures"
HOMEPAGE="http://www.descent2.de/"
+D1_TEXTURES="ceilings doors fans-grates lava lights metal rock signs special switches"
+D2_TEXTURES="ceilings doors fans-grates lava-water lights metal rock signs special switches"
+TEXTURES_SRC_URI=""
+
+for X in ${D1_TEXTURES}; do
+ TEXTURES_SRC_URI="${TEXTURES_SRC_URI} ${SRC_D2X}/textures/D1-hires-${X}.7z";
+done
+for X in ${D2_TEXTURES}; do
+ TEXTURES_SRC_URI="${TEXTURES_SRC_URI} ${SRC_D2X}/textures/D2-hires-${X}.7z";
+done
+
# www.descent2.de must be *first* in the SRC_URI list, because
# all the SourceForge links exhaust Portage's retry patience.
SRC_URI="${SRC_D2X}/${SRC_FILE}
@@ -21,15 +32,8 @@ SRC_URI="${SRC_D2X}/${SRC_FILE}
mirror://sourceforge/${PN}/${DATA_FILE}
models? ( ${SRC_D2X}/models/hires-models.7z )
sounds? ( ${SRC_D2X}/sound/hires-sounds.7z )
- textures? ( "
+ textures? ( ${TEXTURES_SRC_URI} )"
-D1_TEXTURES="ceilings doors fans-grates lava lights metal rock signs special switches"
-D2_TEXTURES="ceilings doors fans-grates lava-water lights metal rock signs special switches"
-
-for X in ${D1_TEXTURES}; do SRC_URI="${SRC_URI} ${SRC_D2X}/textures/D1-hires-${X}.7z"; done
-for X in ${D2_TEXTURES}; do SRC_URI="${SRC_URI} ${SRC_D2X}/textures/D2-hires-${X}.7z"; done
-
-SRC_URI="${SRC_URI} )"
LICENSE="D1X"
SLOT="0"
KEYWORDS="~amd64 ~x86"
@@ -55,6 +59,8 @@ DEPEND="${CDEPEND}
S="${WORKDIR}"
DIR="${GAMES_DATADIR}/${PN}"
+RESTRICT=mirror
+
src_unpack() {
unpack "${SRC_FILE}" "./${PN}-makefiles.7z"
}
diff --git a/games-action/d2x-xl/d2x-xl-1.16.15.ebuild b/games-action/d2x-xl/d2x-xl-1.16.27.ebuild
similarity index 92%
copy from games-action/d2x-xl/d2x-xl-1.16.15.ebuild
copy to games-action/d2x-xl/d2x-xl-1.16.27.ebuild
index b92355b..628bd17 100644
--- a/games-action/d2x-xl/d2x-xl-1.16.15.ebuild
+++ b/games-action/d2x-xl/d2x-xl-1.16.27.ebuild
@@ -13,6 +13,17 @@ DATA_FILE="${PN}-data-1.15.295.7z"
DESCRIPTION="Descent 2 engine supporting high-resolution textures"
HOMEPAGE="http://www.descent2.de/"
+D1_TEXTURES="ceilings doors fans-grates lava lights metal rock signs special switches"
+D2_TEXTURES="ceilings doors fans-grates lava-water lights metal rock signs special switches"
+TEXTURES_SRC_URI=""
+
+for X in ${D1_TEXTURES}; do
+ TEXTURES_SRC_URI="${TEXTURES_SRC_URI} ${SRC_D2X}/textures/D1-hires-${X}.7z";
+done
+for X in ${D2_TEXTURES}; do
+ TEXTURES_SRC_URI="${TEXTURES_SRC_URI} ${SRC_D2X}/textures/D2-hires-${X}.7z";
+done
+
# www.descent2.de must be *first* in the SRC_URI list, because
# all the SourceForge links exhaust Portage's retry patience.
SRC_URI="${SRC_D2X}/${SRC_FILE}
@@ -21,15 +32,8 @@ SRC_URI="${SRC_D2X}/${SRC_FILE}
mirror://sourceforge/${PN}/${DATA_FILE}
models? ( ${SRC_D2X}/models/hires-models.7z )
sounds? ( ${SRC_D2X}/sound/hires-sounds.7z )
- textures? ( "
+ textures? ( ${TEXTURES_SRC_URI} )"
-D1_TEXTURES="ceilings doors fans-grates lava lights metal rock signs special switches"
-D2_TEXTURES="ceilings doors fans-grates lava-water lights metal rock signs special switches"
-
-for X in ${D1_TEXTURES}; do SRC_URI="${SRC_URI} ${SRC_D2X}/textures/D1-hires-${X}.7z"; done
-for X in ${D2_TEXTURES}; do SRC_URI="${SRC_URI} ${SRC_D2X}/textures/D2-hires-${X}.7z"; done
-
-SRC_URI="${SRC_URI} )"
LICENSE="D1X"
SLOT="0"
KEYWORDS="~amd64 ~x86"
@@ -55,6 +59,8 @@ DEPEND="${CDEPEND}
S="${WORKDIR}"
DIR="${GAMES_DATADIR}/${PN}"
+RESTRICT=mirror
+
src_unpack() {
unpack "${SRC_FILE}" "./${PN}-makefiles.7z"
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/gamerlay:master commit in: games-action/d2x-xl/
@ 2020-03-05 21:18 Azamat H. Hackimov
0 siblings, 0 replies; 2+ messages in thread
From: Azamat H. Hackimov @ 2020-03-05 21:18 UTC (permalink / raw
To: gentoo-commits
commit: 6830a06d820b510d79badc8a8660c2e543466c59
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Thu Mar 5 20:29:00 2020 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Thu Mar 5 20:29:00 2020 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=6830a06d
games-action/d2x-xl: remove package
Ubuildable and broken, uses deprecated eclass.
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
games-action/d2x-xl/d2x-xl-1.16.15.ebuild | 149 ------------------------------
games-action/d2x-xl/d2x-xl-1.16.27.ebuild | 149 ------------------------------
2 files changed, 298 deletions(-)
diff --git a/games-action/d2x-xl/d2x-xl-1.16.15.ebuild b/games-action/d2x-xl/d2x-xl-1.16.15.ebuild
deleted file mode 100644
index 628bd17..0000000
--- a/games-action/d2x-xl/d2x-xl-1.16.15.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-inherit autotools eutils flag-o-matic toolchain-funcs games
-
-SRC_D2X="http://www.descent2.de/files"
-SRC_FILE="${PN}-src-${PV}.7z"
-DATA_FILE="${PN}-data-1.15.295.7z"
-
-DESCRIPTION="Descent 2 engine supporting high-resolution textures"
-HOMEPAGE="http://www.descent2.de/"
-
-D1_TEXTURES="ceilings doors fans-grates lava lights metal rock signs special switches"
-D2_TEXTURES="ceilings doors fans-grates lava-water lights metal rock signs special switches"
-TEXTURES_SRC_URI=""
-
-for X in ${D1_TEXTURES}; do
- TEXTURES_SRC_URI="${TEXTURES_SRC_URI} ${SRC_D2X}/textures/D1-hires-${X}.7z";
-done
-for X in ${D2_TEXTURES}; do
- TEXTURES_SRC_URI="${TEXTURES_SRC_URI} ${SRC_D2X}/textures/D2-hires-${X}.7z";
-done
-
-# www.descent2.de must be *first* in the SRC_URI list, because
-# all the SourceForge links exhaust Portage's retry patience.
-SRC_URI="${SRC_D2X}/${SRC_FILE}
- ${SRC_D2X}/${DATA_FILE}
- mirror://sourceforge/${PN}/${SRC_FILE}
- mirror://sourceforge/${PN}/${DATA_FILE}
- models? ( ${SRC_D2X}/models/hires-models.7z )
- sounds? ( ${SRC_D2X}/sound/hires-sounds.7z )
- textures? ( ${TEXTURES_SRC_URI} )"
-
-LICENSE="D1X"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="descent1 descent2 descent2-vertigo debug icon models openmp sounds textures"
-
-CDEPEND="media-libs/glew
- >=media-libs/libsdl-1.2.8:0
- media-libs/sdl-image:0
- media-libs/sdl-mixer:0
- media-libs/sdl-net:0
- net-misc/curl
- virtual/opengl"
-
-RDEPEND="${CDEPEND}
- descent1? ( games-action/descent1-data )
- descent2? ( games-action/descent2-data )
- descent2-vertigo? ( games-action/descent2-vertigo )"
-
-DEPEND="${CDEPEND}
- app-arch/p7zip
- icon? ( media-gfx/icoutils )"
-
-S="${WORKDIR}"
-DIR="${GAMES_DATADIR}/${PN}"
-
-RESTRICT=mirror
-
-src_unpack() {
- unpack "${SRC_FILE}" "./${PN}-makefiles.7z"
-}
-
-src_prepare() {
- if use icon ; then
- icotool -x "${PN}.ico" || die "icotool failed"
- fi
-
- # Use our own data directory.
- sed -i "s:/usr/local/games/${PN}:${DIR}:g" main/{setup,gamefolders}.cpp || \
- die "sed #1 failed"
-
- # Don't need these libraries.
- sed -i -r "/d2x_sdl_LDADD/s/-l(Xm|Xt|X11)//g" Makefile.am || \
- die "sed #2 failed"
-
- # Strip C(XX)FLAGS.
- sed -i -r "/C(XX)?FLAGS/s/-(fopenmp|g|O[0-9])//g" configure.ac || \
- die "sed #3 failed"
-
- chmod a+x ./autogen.sh || die "chmod #1 failed"
- ./autogen.sh || die "autogen.sh failed"
- chmod +x configure || die "chmod #2 failed"
- eautoreconf
-}
-
-src_configure() {
- if use openmp && tc-has-openmp; then
- append-cppflags -fopenmp
- export LIBS="${LIBS} -lgomp"
- fi
-
- local DEBUG_CONF="--disable-debug --enable-release"
- use debug && DEBUG_CONF="--enable-debug --disable-release"
-
- egamesconf ${DEBUG_CONF} --with-opengl
-}
-
-src_install() {
- use icon && newicon "${PN}_1_48x48x32.png" "${PN}.png"
-
- dogamesbin "${PN}"
- make_desktop_entry "${PN}" "D2X-XL" "${PN}"
-
- # Unpack D2X-XL data files.
- dodir "${DIR}"
- cd "${D}${DIR}" || die "cd \"${D}${DIR}\" failed"
- unpack "${DATA_FILE}"
-
- # Symlink original data files, which may or may not be present.
-
- if use descent1; then
- ln -s ../../d1x/descent.{hog,pig} data/ || die "ln #1 failed"
- fi
-
- if use descent2; then
- ln -s ../../d2x/descent2.{ham,hog,s11,s22} data/ || \
- die "ln #2 failed"
- ln -s ../../d2x/{groupa,alien{1,2},fire,ice,water}.pig data/ || \
- die "ln #3 failed"
- fi
-
- if use descent2-vertigo; then
- ln -s ../../d2x/hoard.ham data/ || die "ln #4 failed"
- mkdir missions || die "mdir missions failed"
- ln -s ../../d2x/missions/d2x.{hog,mn2} missions/ || die "ln #5 failed"
- fi
-
- # Optional data.
- use models && unpack hires-models.7z
- use sounds && unpack hires-sounds.7z
-
- if use textures; then
- for X in ${D1_TEXTURES}; do unpack "D1-hires-${X}.7z"; done
- for X in ${D2_TEXTURES}; do unpack "D2-hires-${X}.7z"; done
-
- # Make everything lower case.
- mv textures/D1 textures/d1 || die "mv #1 failed"
- mv sounds2/D1 sounds2/d1 || die "mv #2 failed"
- find -name "*[A-Z]*" -exec sh -c 'mv {} $(echo {} | tr A-Z a-z)' \; || \
- die "find -exec mv failed"
- fi
-
- prepgamesdirs
-}
diff --git a/games-action/d2x-xl/d2x-xl-1.16.27.ebuild b/games-action/d2x-xl/d2x-xl-1.16.27.ebuild
deleted file mode 100644
index 628bd17..0000000
--- a/games-action/d2x-xl/d2x-xl-1.16.27.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-inherit autotools eutils flag-o-matic toolchain-funcs games
-
-SRC_D2X="http://www.descent2.de/files"
-SRC_FILE="${PN}-src-${PV}.7z"
-DATA_FILE="${PN}-data-1.15.295.7z"
-
-DESCRIPTION="Descent 2 engine supporting high-resolution textures"
-HOMEPAGE="http://www.descent2.de/"
-
-D1_TEXTURES="ceilings doors fans-grates lava lights metal rock signs special switches"
-D2_TEXTURES="ceilings doors fans-grates lava-water lights metal rock signs special switches"
-TEXTURES_SRC_URI=""
-
-for X in ${D1_TEXTURES}; do
- TEXTURES_SRC_URI="${TEXTURES_SRC_URI} ${SRC_D2X}/textures/D1-hires-${X}.7z";
-done
-for X in ${D2_TEXTURES}; do
- TEXTURES_SRC_URI="${TEXTURES_SRC_URI} ${SRC_D2X}/textures/D2-hires-${X}.7z";
-done
-
-# www.descent2.de must be *first* in the SRC_URI list, because
-# all the SourceForge links exhaust Portage's retry patience.
-SRC_URI="${SRC_D2X}/${SRC_FILE}
- ${SRC_D2X}/${DATA_FILE}
- mirror://sourceforge/${PN}/${SRC_FILE}
- mirror://sourceforge/${PN}/${DATA_FILE}
- models? ( ${SRC_D2X}/models/hires-models.7z )
- sounds? ( ${SRC_D2X}/sound/hires-sounds.7z )
- textures? ( ${TEXTURES_SRC_URI} )"
-
-LICENSE="D1X"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="descent1 descent2 descent2-vertigo debug icon models openmp sounds textures"
-
-CDEPEND="media-libs/glew
- >=media-libs/libsdl-1.2.8:0
- media-libs/sdl-image:0
- media-libs/sdl-mixer:0
- media-libs/sdl-net:0
- net-misc/curl
- virtual/opengl"
-
-RDEPEND="${CDEPEND}
- descent1? ( games-action/descent1-data )
- descent2? ( games-action/descent2-data )
- descent2-vertigo? ( games-action/descent2-vertigo )"
-
-DEPEND="${CDEPEND}
- app-arch/p7zip
- icon? ( media-gfx/icoutils )"
-
-S="${WORKDIR}"
-DIR="${GAMES_DATADIR}/${PN}"
-
-RESTRICT=mirror
-
-src_unpack() {
- unpack "${SRC_FILE}" "./${PN}-makefiles.7z"
-}
-
-src_prepare() {
- if use icon ; then
- icotool -x "${PN}.ico" || die "icotool failed"
- fi
-
- # Use our own data directory.
- sed -i "s:/usr/local/games/${PN}:${DIR}:g" main/{setup,gamefolders}.cpp || \
- die "sed #1 failed"
-
- # Don't need these libraries.
- sed -i -r "/d2x_sdl_LDADD/s/-l(Xm|Xt|X11)//g" Makefile.am || \
- die "sed #2 failed"
-
- # Strip C(XX)FLAGS.
- sed -i -r "/C(XX)?FLAGS/s/-(fopenmp|g|O[0-9])//g" configure.ac || \
- die "sed #3 failed"
-
- chmod a+x ./autogen.sh || die "chmod #1 failed"
- ./autogen.sh || die "autogen.sh failed"
- chmod +x configure || die "chmod #2 failed"
- eautoreconf
-}
-
-src_configure() {
- if use openmp && tc-has-openmp; then
- append-cppflags -fopenmp
- export LIBS="${LIBS} -lgomp"
- fi
-
- local DEBUG_CONF="--disable-debug --enable-release"
- use debug && DEBUG_CONF="--enable-debug --disable-release"
-
- egamesconf ${DEBUG_CONF} --with-opengl
-}
-
-src_install() {
- use icon && newicon "${PN}_1_48x48x32.png" "${PN}.png"
-
- dogamesbin "${PN}"
- make_desktop_entry "${PN}" "D2X-XL" "${PN}"
-
- # Unpack D2X-XL data files.
- dodir "${DIR}"
- cd "${D}${DIR}" || die "cd \"${D}${DIR}\" failed"
- unpack "${DATA_FILE}"
-
- # Symlink original data files, which may or may not be present.
-
- if use descent1; then
- ln -s ../../d1x/descent.{hog,pig} data/ || die "ln #1 failed"
- fi
-
- if use descent2; then
- ln -s ../../d2x/descent2.{ham,hog,s11,s22} data/ || \
- die "ln #2 failed"
- ln -s ../../d2x/{groupa,alien{1,2},fire,ice,water}.pig data/ || \
- die "ln #3 failed"
- fi
-
- if use descent2-vertigo; then
- ln -s ../../d2x/hoard.ham data/ || die "ln #4 failed"
- mkdir missions || die "mdir missions failed"
- ln -s ../../d2x/missions/d2x.{hog,mn2} missions/ || die "ln #5 failed"
- fi
-
- # Optional data.
- use models && unpack hires-models.7z
- use sounds && unpack hires-sounds.7z
-
- if use textures; then
- for X in ${D1_TEXTURES}; do unpack "D1-hires-${X}.7z"; done
- for X in ${D2_TEXTURES}; do unpack "D2-hires-${X}.7z"; done
-
- # Make everything lower case.
- mv textures/D1 textures/d1 || die "mv #1 failed"
- mv sounds2/D1 sounds2/d1 || die "mv #2 failed"
- find -name "*[A-Z]*" -exec sh -c 'mv {} $(echo {} | tr A-Z a-z)' \; || \
- die "find -exec mv failed"
- fi
-
- prepgamesdirs
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-05 21:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-05 21:18 [gentoo-commits] proj/gamerlay:master commit in: games-action/d2x-xl/ Azamat H. Hackimov
-- strict thread matches above, loose matches on Subject: below --
2013-08-06 21:30 Vadim A. Misbakh-Soloviov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox