added ebuild for machinarium

This commit is contained in:
Manuel Friedli 2016-10-10 23:36:28 +02:00
parent d4fda13e6e
commit 08f3c3b81e
3 changed files with 87 additions and 0 deletions

View file

@ -0,0 +1,3 @@
AUX Machinarium.png 338463 SHA256 0f7bbdb497270c5edca8bafb5834e2e7e4a058874aafbf2972e03c0851566698 SHA512 091d80e6a1e032e42041d48602df294f037712a804d213a3b9f82b9932bc58cddd5072fda7d5d506e52f55c8ecc8efe0b626b0f0b35539486f30df70298fa6e4 WHIRLPOOL 59e9809fa3aa8fcecb9afa80eedd36692da477f57c491ef80dbfeb49698733bbe447ee6f6f86388f7b0d86684f9db93b70986b4922e4951a44d891a908878cf8
DIST Machinarium_full_en.tar.gz 392779212 SHA256 d4a83bfdce3c27fb34956be74774458f8636e164802af835a11f2f36e653b63a SHA512 517ee1e0e56198a35afd8504b268a2f74c57e7e199444fcac6c4e84efc722fda21a4a15b33a7212bb0b60fcc431cbdfff1e5cae46d2511722885cfbd8363d9dd WHIRLPOOL e40570d32987130735409df1fd69fe7dae51d2d8ba4b6a389e0a0b8e7aae5d3de70d572631b7aee1e430f3f7275e71874d162274a3e71e2001dfea52b918c9db
EBUILD machinarium-1.0.ebuild 1948 SHA256 d35422398a1011f0db5e943827015844d3234f478c218db780db1610334d2c6e SHA512 2df4a81298076061445cac36b7dec81aca13cce308fc642a842b3aa0fa222b50bad775306aaa148b8619e83e0288535cf3b8d8a417467aa8e16f3289f6eb9f52 WHIRLPOOL f624338c3755f668c18a3d9bfc715917e5582e88e2f603acc83a523eb1d36ec31deac7507fc3fdac5c67522a6de1cb14a54dde6d3bc97b6133ae5006198f671a

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 KiB

View file

@ -0,0 +1,84 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
inherit games multilib
DESCRIPTION="Point-and-click adventure about robot in steam-punk world"
HOMEPAGE="http://machinarium.net/"
SLOT="0"
LICENSE="as-is"
KEYWORDS="-* ~amd64 ~x86"
RESTRICT="fetch mirror"
IUSE="multilib"
MY_PN="${PN/ma/Ma}"
SRC_URI="${MY_PN}_full_en.tar.gz"
RDEPEND="
app-arch/bzip2[abi_x86_32]
dev-libs/atk[abi_x86_32]
dev-libs/expat[abi_x86_32]
dev-libs/glib[abi_x86_32]
dev-libs/libffi[abi_x86_32]
dev-libs/nspr[abi_x86_32]
dev-libs/nss[abi_x86_32]
media-libs/fontconfig[abi_x86_32]
media-libs/freetype:2[abi_x86_32]
=media-libs/libpng-1.5*[abi_x86_32]
virtual/opengl[abi_x86_32]
sys-apps/util-linux[abi_x86_32]
sys-libs/zlib[abi_x86_32]
x11-libs/cairo[abi_x86_32]
x11-libs/gdk-pixbuf[abi_x86_32]
x11-libs/gtk+[abi_x86_32]
x11-libs/libdrm[abi_x86_32]
x11-libs/libICE[abi_x86_32]
x11-libs/libSM[abi_x86_32]
x11-libs/libX11[abi_x86_32]
x11-libs/libXau[abi_x86_32]
x11-libs/libxcb[abi_x86_32]
x11-libs/libXcomposite[abi_x86_32]
x11-libs/libXcursor[abi_x86_32]
x11-libs/libXdamage[abi_x86_32]
x11-libs/libXdmcp[abi_x86_32]
x11-libs/libXext[abi_x86_32]
x11-libs/libXfixes[abi_x86_32]
x11-libs/libXi[abi_x86_32]
x11-libs/libXinerama[abi_x86_32]
x11-libs/libXrandr[abi_x86_32]
x11-libs/libXrender[abi_x86_32]
x11-libs/libXt[abi_x86_32]
x11-libs/libXxf86vm[abi_x86_32]
x11-libs/pango[abi_x86_32]
x11-libs/pixman[abi_x86_32]
"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_PN}"
REQUIRED_USE="amd64? ( multilib )"
pkg_nofetch() {
ewarn
ewarn "Place ${A} to ${DISTDIR}"
ewarn
}
src_install() {
local dir="${GAMES_PREFIX_OPT}/${PN}"
insinto "${dir}"
exeinto "${dir}"
doexe "${MY_PN}"
rm "${MY_PN}"
doins -r *
games_make_wrapper "${PN}" "./${MY_PN}" "${dir}"
doicon "${FILESDIR}/${MY_PN}.png"
make_desktop_entry "${PN}" "${MY_PN}" "${MY_PN}"
prepgamesdirs
}