mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
Done via: ``` git grep -l 'virtual/zlib"' | xargs sed -i -e 's@virtual/zlib"@virtual/zlib:="@' ``` Signed-off-by: Michał Górny <mgorny@gentoo.org>
38 lines
726 B
Bash
38 lines
726 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit autotools desktop
|
|
|
|
DESCRIPTION="Tetris clone with multiplayer support"
|
|
HOMEPAGE="https://github.com/quadra-game/quadra"
|
|
SRC_URI="https://github.com/quadra-game/quadra/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
RDEPEND="
|
|
dev-libs/boost:=
|
|
media-libs/libpng:=
|
|
media-libs/libsdl2[sound,video]
|
|
virtual/zlib:="
|
|
DEPEND="${RDEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-clang.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
sed -i -e "/^datagamesdir/s|\/games|\/${PN}|" Makefile.am || die
|
|
eautoreconf
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
dodoc NEWS.md
|
|
make_desktop_entry ${PN} ${PN^}
|
|
}
|