blob: ea5d444b8f948cf1ac302f28a67523c90a9b4460 (
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
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop wrapper xdg
MY_PN="BrokenAge"
DESCRIPTION="Point-and-click adventure from Tim Schafer's Double Fine Productions"
HOMEPAGE="http://www.brokenagegame.com"
SRC_URI="${MY_PN}_linux.tar.gz"
S="${WORKDIR}"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
RESTRICT="bindist fetch splitdebug"
RDEPEND="
media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,video]
virtual/opengl[abi_x86_32]
"
DIR="/opt/${PN}"
QA_PREBUILT="${DIR#/}/*"
pkg_nofetch() {
einfo "Please buy and download ${SRC_URI} from:"
einfo " https://www.humblebundle.com/store/${PN}"
einfo "and move it to your distfiles directory."
}
src_install() {
exeinto "${DIR}"
doexe ${MY_PN}
make_wrapper ${PN} ./${MY_PN} "${DIR}"
insinto "${DIR}"
doins *.pck
exeinto "${DIR}"/lib
doexe lib/libfmod*.so
make_desktop_entry ${PN} "Broken Age" applications-games
dodoc ReadMe.txt
}
|