diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-02-15 16:07:20 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-02-15 16:15:41 +0100 |
commit | 5923577f8ac092117059ab1cec1aa8c6bdc677bd (patch) | |
tree | 216962ba2c6d645e9f08995fa384e88fe7bf8db3 /games-engines/stratagus | |
parent | games-strategy/war1gus: Remove old (diff) | |
download | gentoo-5923577f8ac092117059ab1cec1aa8c6bdc677bd.tar.gz gentoo-5923577f8ac092117059ab1cec1aa8c6bdc677bd.tar.bz2 gentoo-5923577f8ac092117059ab1cec1aa8c6bdc677bd.zip |
games-engines/stratagus: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-engines/stratagus')
-rw-r--r-- | games-engines/stratagus/Manifest | 1 | ||||
-rw-r--r-- | games-engines/stratagus/stratagus-3.3.1.ebuild | 83 |
2 files changed, 0 insertions, 84 deletions
diff --git a/games-engines/stratagus/Manifest b/games-engines/stratagus/Manifest index 1e47bf5666b1..17d966383ec7 100644 --- a/games-engines/stratagus/Manifest +++ b/games-engines/stratagus/Manifest @@ -1,2 +1 @@ -DIST stratagus-3.3.1.tar.gz 1582605 BLAKE2B 375769346276c034efdef5fcb7282b89a33fd26266c1d8d56b78dfe33ad301ad85c113eedc7f23c79182da225bf6a4dc07704113f118e35e78db2502d291f466 SHA512 7ee3d31db6f30d1e927a87dd788c035b5cf69b44c914556412d18eb66bdfa252bd905bc341a3fd4c5100466b30e216a05fb678ecde690945a7fe0b1992c6b4f4 DIST stratagus-3.3.2.tar.gz 1582937 BLAKE2B c39a9f009693c8c6dc7e62b885851a707a25c039b66765ce42dbd851643650b287bd45d0c0ea6fb03a2ddde01a41bf156a1d018ad4f06e0d39e9435a24c79672 SHA512 0e5d0127ba4e1025ceb7f46c91d90b82dc7c1b194030738abf95bd2c9cadc04d7431f333a514fc6d6b300ea3a1f5c7405bea735471f72fa547031634a23b01d1 diff --git a/games-engines/stratagus/stratagus-3.3.1.ebuild b/games-engines/stratagus/stratagus-3.3.1.ebuild deleted file mode 100644 index 1828b8874857..000000000000 --- a/games-engines/stratagus/stratagus-3.3.1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-1 ) -inherit cmake lua-single optfeature - -DESCRIPTION="A realtime strategy game engine" -HOMEPAGE=" - https://stratagus.com/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=" - ${LUA_REQUIRED_USE} - theora? ( vorbis ) -" - -DEPEND=" - ${LUA_DEPS} - dev-db/sqlite:3 - dev-lua/toluapp[${LUA_SINGLE_USEDEP}] - 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 ) - ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/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="${EPREFIX}/usr/bin" - -DDOCDIR="${EPREFIX}/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]" -} |