diff options
author | James Le Cuirot <chewi@gentoo.org> | 2019-06-22 21:32:33 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2019-06-22 21:32:33 +0100 |
commit | 9d3e24a8973ead7c78ab429e97552772942fdd3e (patch) | |
tree | b3c6b5b1107516db9b195f654d229dfc8cdaeece /games-rpg/hatoful-boyfriend | |
parent | sys-kernel/gentoo-sources: Linux patch 4.14.129 (diff) | |
download | gentoo-9d3e24a8973ead7c78ab429e97552772942fdd3e.tar.gz gentoo-9d3e24a8973ead7c78ab429e97552772942fdd3e.tar.bz2 gentoo-9d3e24a8973ead7c78ab429e97552772942fdd3e.zip |
games-rpg/hatoful-boyfriend: Add gui USE flag and missing dependencies
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-rpg/hatoful-boyfriend')
-rw-r--r-- | games-rpg/hatoful-boyfriend/hatoful-boyfriend-0-r1.ebuild (renamed from games-rpg/hatoful-boyfriend/hatoful-boyfriend-0.ebuild) | 21 | ||||
-rw-r--r-- | games-rpg/hatoful-boyfriend/metadata.xml | 3 |
2 files changed, 21 insertions, 3 deletions
diff --git a/games-rpg/hatoful-boyfriend/hatoful-boyfriend-0.ebuild b/games-rpg/hatoful-boyfriend/hatoful-boyfriend-0-r1.ebuild index a863466144da..dd43f9b0cc08 100644 --- a/games-rpg/hatoful-boyfriend/hatoful-boyfriend-0.ebuild +++ b/games-rpg/hatoful-boyfriend/hatoful-boyfriend-0-r1.ebuild @@ -12,15 +12,26 @@ 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/libXext x11-libs/libXcursor + x11-libs/libXext x11-libs/libXrandr - virtual/glu - virtual/opengl + 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" @@ -43,6 +54,10 @@ src_install() { 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}" } diff --git a/games-rpg/hatoful-boyfriend/metadata.xml b/games-rpg/hatoful-boyfriend/metadata.xml index 26079e608bed..1dbebd848c81 100644 --- a/games-rpg/hatoful-boyfriend/metadata.xml +++ b/games-rpg/hatoful-boyfriend/metadata.xml @@ -5,4 +5,7 @@ <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> |