games-rpg/broken-age: New package

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot
2020-09-08 21:12:12 +01:00
parent aab7666d9c
commit 67d73a73ea
3 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST BrokenAge_linux.tar.gz 2159926882 BLAKE2B 351fd74310ce2a03682151b8112d5831d3d495a6fc9cba68a366205033ce0f35f3446f30ccf98024462f144db3782faf68f73944c814a537cdde8c09f6afbadc SHA512 6642fdae52dc5a22dcbaa1c9db865bfe8dee2365014c1854c53436a1cc4fc842134ad96d9576de221cb494d6e04ea6d30f213c5a62a19f29aaf466740e670284

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils desktop xdg
MY_PN="BrokenAge"
DESCRIPTION="A point-and-click adventure from Tim Schafer's Double Fine Productions"
HOMEPAGE="http://www.brokenagegame.com"
SRC_URI="${MY_PN}_linux.tar.gz"
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]
"
S="${WORKDIR}"
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
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
</pkgmetadata>