diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-03-26 19:50:40 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-03-26 20:45:16 +0100 |
commit | 71a5893eabbe8e1a6ac5466cdfa39883d9ba54bd (patch) | |
tree | 00ef770a08d143b0ea6d5927b6931ec49b36e56b /games-engines | |
parent | games-puzzle/fish-fillets: drop old version (diff) | |
download | gentoo-71a5893eabbe8e1a6ac5466cdfa39883d9ba54bd.tar.gz gentoo-71a5893eabbe8e1a6ac5466cdfa39883d9ba54bd.tar.bz2 gentoo-71a5893eabbe8e1a6ac5466cdfa39883d9ba54bd.zip |
games-engines/stratagus: drop old version
Dropping old versions, which do not support slotted lua.
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/stratagus/stratagus-2.4.3.ebuild | 68 | ||||
-rw-r--r-- | games-engines/stratagus/stratagus-3.0.0-r1.ebuild | 70 |
2 files changed, 0 insertions, 138 deletions
diff --git a/games-engines/stratagus/stratagus-2.4.3.ebuild b/games-engines/stratagus/stratagus-2.4.3.ebuild deleted file mode 100644 index e593ce458e1e..000000000000 --- a/games-engines/stratagus/stratagus-2.4.3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit cmake - -DESCRIPTION="A realtime strategy game engine" -HOMEPAGE="https://wargus.github.io/stratagus.html - https://github.com/Wargus/stratagus" -SRC_URI="https://github.com/Wargus/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="bzip2 debug doc fluidsynth mikmod mng theora vorbis" -REQUIRED_USE="theora? ( vorbis )" - -RDEPEND=" - dev-db/sqlite:3 - >=dev-lang/lua-5:0 - dev-lua/toluapp - media-libs/libpng:0 - virtual/opengl - x11-libs/libX11 - media-libs/libsdl[sound,opengl,video] - sys-libs/zlib - bzip2? ( app-arch/bzip2 ) - fluidsynth? ( media-sound/fluidsynth ) - mikmod? ( media-libs/libmikmod ) - mng? ( media-libs/libmng ) - vorbis? ( - media-libs/libogg - media-libs/libvorbis - theora? ( media-libs/libtheora ) - )" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-doc/doxygen )" - -PATCHES=( - "${FILESDIR}/${PN}"-2.3.0-doc.patch -) - -src_prepare() { - sed -i -e 's:-Werror::' CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - # there are in-source switches - use debug && CMAKE_BUILD_TYPE=Debug - - local mycmakeargs=( - -DGAMEDIR="/usr/bin" - -DDOCDIR="/usr/share/doc/${PF}" - -DWITH_BZIP2=$(usex bzip2) - -DWITH_FLUIDSYNTH=$(usex fluidsynth) - -DWITH_MIKMOD=$(usex mikmod) - -DWITH_MNG=$(usex mng) - -DWITH_OGGVORBIS=$(usex vorbis) - -DWITH_THEORA=$(usex theora) - -DENABLE_DOC=$(usex doc) - -DENABLE_DEV=ON - ) - - cmake_src_configure -} diff --git a/games-engines/stratagus/stratagus-3.0.0-r1.ebuild b/games-engines/stratagus/stratagus-3.0.0-r1.ebuild deleted file mode 100644 index ee369f12de34..000000000000 --- a/games-engines/stratagus/stratagus-3.0.0-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake optfeature - -DESCRIPTION="A realtime strategy game engine" -HOMEPAGE="https://wargus.github.io/stratagus.html - https://github.com/Wargus/stratagus" -SRC_URI="https://github.com/Wargus/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/3" -KEYWORDS="~amd64 ~x86" -IUSE="bzip2 debug doc mng theora vorbis" -REQUIRED_USE="theora? ( vorbis )" - -RDEPEND=" - dev-db/sqlite:3 - >=dev-lang/lua-5:0 - dev-lua/toluapp - media-libs/libpng:0 - x11-libs/libX11 - media-libs/libsdl2[sound,opengl,video] - media-libs/sdl2-mixer[vorbis] - media-libs/sdl2-image[png] - sys-libs/zlib - bzip2? ( app-arch/bzip2 ) - mng? ( media-libs/libmng ) - vorbis? ( - media-libs/libogg - media-libs/libvorbis - theora? ( media-libs/libtheora ) - )" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-doc/doxygen )" - -PATCHES=( - "${FILESDIR}/${PN}"-2.3.0-doc.patch -) - -src_prepare() { - sed -i -e 's:-Werror::' CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - # there are in-source switches - use debug && CMAKE_BUILD_TYPE=Debug - - local mycmakeargs=( - -DGAMEDIR="/usr/bin" - -DDOCDIR="/usr/share/doc/${PF}" - -DWITH_BZIP2=$(usex bzip2) - -DWITH_MNG=$(usex mng) - -DWITH_OGGVORBIS=$(usex vorbis) - -DWITH_THEORA=$(usex theora) - -DENABLE_DOC=$(usex doc) - -DENABLE_DEV=ON - ) - - cmake_src_configure -} - -pkg_postinst() { - optfeature "MIDI music support" "media-libs/sdl2-mixer[midi]" -} |