blob: f06e6e9da9b9f9a49873f3c94e1e7a33f83bbb5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2021 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]
sys-libs/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^}
}
|