mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-15 14:42:44 +00:00
Update done using: ``` git grep -l sys-libs/zlib sys-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g git grep -l virtual/zlib-ng sys-* | xargs sed -i -e s@virtual/zlib-ng@sys-libs/zlib-ng@g git diff --name-only | xargs copybump git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error ``` Plus reverts in sys-libs/minizip-ng, sys-libs/zlib-ng and profiles. Signed-off-by: Michał Górny <mgorny@gentoo.org>
53 lines
1 KiB
Bash
53 lines
1 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit autotools desktop flag-o-matic
|
|
|
|
MY_P="CriticalMass-${PV}"
|
|
|
|
DESCRIPTION="SDL/OpenGL space shoot'em up game"
|
|
HOMEPAGE="https://criticalmass.sourceforge.net/"
|
|
SRC_URI="https://downloads.sourceforge.net/criticalmass/${MY_P}.tar.bz2"
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
LICENSE="GPL-2+ ZLIB"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
RDEPEND="
|
|
media-libs/libglvnd[X]
|
|
media-libs/libpng:=
|
|
media-libs/libsdl[opengl,sound,video]
|
|
media-libs/sdl-image[png]
|
|
media-libs/sdl-mixer[mod]
|
|
net-misc/curl
|
|
virtual/zlib:="
|
|
DEPEND="${RDEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-gcc43.patch
|
|
"${FILESDIR}"/${P}-system-curl.patch
|
|
"${FILESDIR}"/${P}-libpng.patch
|
|
"${FILESDIR}"/${P}-flags.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
rm -r curl || die
|
|
eautoreconf
|
|
|
|
append-cxxflags -std=gnu++98 #612758
|
|
}
|
|
|
|
src_install() {
|
|
local HTML_DOCS="Readme.html"
|
|
default
|
|
|
|
rm "${ED}"/usr/bin/Packer || die #247449
|
|
|
|
newicon critter.png ${PN}.png
|
|
make_desktop_entry critter "Critical Mass"
|
|
}
|