diff options
Diffstat (limited to 'games-rpg/hatoful-boyfriend')
-rw-r--r-- | games-rpg/hatoful-boyfriend/Manifest | 3 | ||||
-rw-r--r-- | games-rpg/hatoful-boyfriend/hatoful-boyfriend-0-r1.ebuild | 66 | ||||
-rw-r--r-- | games-rpg/hatoful-boyfriend/metadata.xml | 11 |
3 files changed, 80 insertions, 0 deletions
diff --git a/games-rpg/hatoful-boyfriend/Manifest b/games-rpg/hatoful-boyfriend/Manifest new file mode 100644 index 000000000000..15afa4a549f4 --- /dev/null +++ b/games-rpg/hatoful-boyfriend/Manifest @@ -0,0 +1,3 @@ +DIST Hatoful_Boyfriend_Linux.zip 474221347 BLAKE2B 95f1d819ec75eeced844cbe5c0b0568bbe35052eddab223d34e683e1dab381c6abcb654e22e65aafcf8629beaebae7034ea82443c543964c197c3e16ef824d21 SHA512 0ef35be35d0c4d9815427fae078a266b3ceafba68cd87d733db23171d92396535974e0d83f1e7f441c666d064a75ddcc82a9807c347922aed84790ed1f6fda21 +EBUILD hatoful-boyfriend-0-r1.ebuild 1516 BLAKE2B 6aff690bfa03604bdac51e2309ea4cab3ada7f2bf3d11d821ade6f9106c4b9dae5d971fa81bc94bf60acab5bcedfc94216233f1f7b824cdfed978824bbe7857b SHA512 917cef574b7cd2f226ba395587dc529b510ef772bde6ed436219977e31d22c49cb9a4dfde87fdb39bae713ecbc221bf142f4f9157ab74f6b0a9b5ff576220117 +MISC metadata.xml 354 BLAKE2B 620415356736dd403be27ef2547bd0d23a3812b3c16b7976125c582118af837336c258d7c0657dbe70b254ee773041f7e169939a34cc616870a5f54ad8429c31 SHA512 6ae66494681059ab163da720d574906da7db8facc7c383db8b8dd0d5ea78f41deb5f19389b1fd8fc2848cfb7ae5c11bd3ba2750a90799b382f0bfe8f70d48637 diff --git a/games-rpg/hatoful-boyfriend/hatoful-boyfriend-0-r1.ebuild b/games-rpg/hatoful-boyfriend/hatoful-boyfriend-0-r1.ebuild new file mode 100644 index 000000000000..dd43f9b0cc08 --- /dev/null +++ b/games-rpg/hatoful-boyfriend/hatoful-boyfriend-0-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop xdg-utils + +MY_PN="Hatoful Boyfriend" +DESCRIPTION="Japanese visual novel and dating simulator where birds rule the Earth" +HOMEPAGE="http://clione.halfmoon.jp/hatoful-boyfriend/english.html" +SRC_URI="${MY_PN// /_}_Linux.zip" +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="+gui" +RESTRICT="bindist fetch splitdebug" + +RDEPEND=" + virtual/glu + virtual/opengl + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXrandr + gui? ( + dev-libs/atk + dev-libs/glib:2 + media-libs/fontconfig:1.0 + media-libs/freetype:2 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/pango + ) +" + +S="${WORKDIR}/${MY_PN}_Linux" + +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}" + newexe hatoful.$(usex amd64 x86_64 x86) hatoful + dosym "${DIR}"/hatoful /usr/bin/${PN} + + insinto "${DIR}" + doins -r hatoful_Data/ + rm -r "${ED}/${DIR}"/hatoful_Data/*/$(usex amd64 x86 x86_64) || die + + if ! use gui; then + rm "${ED}/${DIR}"/hatoful_Data/Plugins/*/ScreenSelector.so || die + fi + + newicon -s 128 hatoful_Data/Resources/UnityPlayer.png ${PN}.png + make_desktop_entry ${PN} "${MY_PN}" +} + +pkg_postinst() { xdg_icon_cache_update; } +pkg_postrm() { xdg_icon_cache_update; } diff --git a/games-rpg/hatoful-boyfriend/metadata.xml b/games-rpg/hatoful-boyfriend/metadata.xml new file mode 100644 index 000000000000..1dbebd848c81 --- /dev/null +++ b/games-rpg/hatoful-boyfriend/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <use> + <flag name="gui">Install the GUI for configuring screen resolution and input</flag> + </use> +</pkgmetadata> |