You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.6 KiB
66 lines
1.6 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
10 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
3 years ago
|
EAPI=7
|
||
10 years ago
|
|
||
3 years ago
|
CHECKREQS_DISK_BUILD="22000M"
|
||
|
CHECKREQS_DISK_USR="21600M"
|
||
3 years ago
|
inherit check-reqs desktop wrapper
|
||
10 years ago
|
|
||
7 years ago
|
DESCRIPTION="Sequel to 1988 Wasteland, post-apocalyptic computer RPG inspiration for Fallout"
|
||
10 years ago
|
HOMEPAGE="https://wasteland.inxile-entertainment.com/"
|
||
|
SRC_URI="gog_wasteland_2_${PV}.tar.gz"
|
||
3 years ago
|
S="${WORKDIR}/Wasteland 2"
|
||
10 years ago
|
|
||
10 years ago
|
LICENSE="all-rights-reserved"
|
||
10 years ago
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
3 years ago
|
RESTRICT="bindist fetch"
|
||
10 years ago
|
|
||
3 years ago
|
QA_PREBUILT="opt/${PN}/*"
|
||
10 years ago
|
|
||
|
RDEPEND="
|
||
3 years ago
|
dev-libs/atk[abi_x86_32(-)]
|
||
|
dev-libs/glib:2[abi_x86_32(-)]
|
||
|
media-libs/fontconfig:1.0[abi_x86_32(-)]
|
||
|
media-libs/freetype:2[abi_x86_32(-)]
|
||
|
virtual/glu[abi_x86_32(-)]
|
||
|
virtual/opengl[abi_x86_32(-)]
|
||
|
x11-libs/cairo[abi_x86_32(-)]
|
||
|
x11-libs/gdk-pixbuf[abi_x86_32(-)]
|
||
|
x11-libs/gtk+:2[abi_x86_32(-)]
|
||
|
x11-libs/libX11[abi_x86_32(-)]
|
||
|
x11-libs/libXcursor[abi_x86_32(-)]
|
||
|
x11-libs/libXext[abi_x86_32(-)]
|
||
|
x11-libs/libXrandr[abi_x86_32(-)]
|
||
|
x11-libs/pango[abi_x86_32(-)]"
|
||
10 years ago
|
|
||
|
pkg_nofetch() {
|
||
10 years ago
|
einfo "Please buy Wasteland 2"
|
||
|
einfo "from https://www.gog.com/ and"
|
||
6 years ago
|
einfo "download ${SRC_URI}"
|
||
|
einfo "and move it to your DISTDIR directory."
|
||
10 years ago
|
einfo
|
||
10 years ago
|
einfo "This ebuild was tested with the CLASSICAL edition."
|
||
10 years ago
|
einfo "If it works with the deluxe edition too, please"
|
||
|
einfo "open a bug report. If not, open a bug report too."
|
||
10 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
3 years ago
|
local dir=/opt/${PN}
|
||
10 years ago
|
|
||
|
# over 20GB of data
|
||
3 years ago
|
dodir ${dir}
|
||
3 years ago
|
mv game/WL2_Data "${ED}"/${dir}/ || die
|
||
|
|
||
3 years ago
|
exeinto ${dir}
|
||
10 years ago
|
doexe game/WL2
|
||
|
|
||
3 years ago
|
make_wrapper ${PN} ./WL2 ${dir}
|
||
|
|
||
|
newicon support/gog-wasteland-2.png ${PN}.png
|
||
10 years ago
|
make_desktop_entry ${PN} "Wasteland 2"
|
||
|
|
||
|
dodoc docs/*.pdf
|
||
|
}
|