summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.xml3
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>