summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCtibor Brančík <ctibor@brancik.cz>2019-06-05 20:50:18 +0200
committerCtibor Brančík <ctibor@brancik.cz>2019-06-05 20:50:18 +0200
commitbbde90928ea7ecf57bcc842cf14a9f9a846d67e2 (patch)
tree84dfa556f2b2e4514bf4bd036c957629c6ff2245
parent12707580d144872a27bfc3b1e3c4ef60c536d51e (diff)
downloadbrancik-overlay-bbde90928ea7ecf57bcc842cf14a9f9a846d67e2.tar.gz
brancik-overlay-bbde90928ea7ecf57bcc842cf14a9f9a846d67e2.tar.bz2
Add games-util/games_nebula GOG Client
-rw-r--r--games-util/games_nebula/Manifest7
-rw-r--r--games-util/games_nebula/games_nebula-0_alpha20180605.ebuild79
-rw-r--r--games-util/games_nebula/metadata.xml11
3 files changed, 97 insertions, 0 deletions
diff --git a/games-util/games_nebula/Manifest b/games-util/games_nebula/Manifest
new file mode 100644
index 0000000..e3389c4
--- /dev/null
+++ b/games-util/games_nebula/Manifest
@@ -0,0 +1,7 @@
+DIST games_nebula-0_alpha20180605.tar.gz 2917587 SHA256 4803b3e19e2ed7725dc16feeb69a7a96d14a53d521f8c90c154b1dd21ce3902c SHA512 21aece99dfc7fd4f7e7327c2b65acb84755607dfc0d9698d5e0bd161d7fbebbffd9c4b85c224061513e7a127dea9b1182c959270081a7464a8848d2e3a7e9b1f WHIRLPOOL 15a13c354bf67196011bda207b7fa8dfdef76564c77ea24f9e1cfdcce885917c6253590b288ba6cc8974b518235008dd67a764f17b291ca0457abd09ac6927c8
+DIST goglib_images-0_alpha20180605.zip 58090830 SHA256 d00b3155b50f1abe0d00e3c0e01085934c1616e8d9b99efa2b5f8f424e5e2273 SHA512 f289e85422cbfadedd897cab94b57354754474e488d980711f0482ec0e136f4a17ac4b7b2eb4e1f7daab9558c873e36e4bc6b414ac7831beef7ccdc8f7530b10 WHIRLPOOL ddd05d1106e02371e9e310a14302ffafcab6407d564f4bca70b34d3c32095211a0e0739ae2764f99e35892d77b6a3f1a04a10287f1311c3604a78a75070611ee
+DIST goglib_scripts-0_alpha20180605.zip 143246 SHA256 2497457ab61b96b7459e60258532b2320ef1df98608bbfe4ea0a2125c2e6ddfa SHA512 b702a84591d4daad125d11cc9d85c0c78818c00c18e8ac454402e2db3fca968cf1e3ecad302d74aa86866bb61d428257cef8c00ff7f8344091498ea84026cc82 WHIRLPOOL 27046690fc7fdeb18f07ccf3a45f4e45b8b722265d35e9038d94ea8a04b437fd0ee42a1ee1a2490504e71698c6befe81559ecaa2c55f32c0229fd03fb9ba5768
+DIST innounp-0_alpha20180605.rar 140885 SHA256 4a636ff9213928a919717d0fab28e525fb992d9bb5f2d4a9ab2fd97132690741 SHA512 a00dbb671de1fb0bc3c94ce97a569d2bbfcc00f6fcbe16578ea9940ffdc0558dcde7c9fa0b4a5d7c17d4b73706f6eb21f479c7e6d6b8de3605f3974d25841da3 WHIRLPOOL 1ad4f01bac1c4efa4b9f20b50abbfb5f9864a9d2706fe57c4614e7538a1d3166111a6dc3f90445bad06298da57f4ea4e5fe24061ad74afb2fa665b68d9d326bd
+DIST mylib_images-0_alpha20180605.zip 9946900 SHA256 8654c91f398c3a84047968404f0029c4143a21f52773ef67dfb3846ba2bb6241 SHA512 0d578ec77a0b44642dbf91f9d4ebac0237a9dea793ace8a208f5b4ad9636dd3e1063ab11ac391f0f4119683bcb80631d31f0697347fa193458b2b03771d7f003 WHIRLPOOL 43b0ae417a604e81947f83edd5888210229cc97b312ae4c3fff9d065f7369a72aba724d7576bab6bda964f6fb50c836b7daaa533d1ca555653a431e48ce5d337
+DIST mylib_scripts-0_alpha20180605.zip 49896 SHA256 1149f9cd43387d6074cf25aa731189541d18fea1c9de7b30d822077c146d7818 SHA512 4ee552bb8794b00ec53c953277dfc7b0b90942c17f62551754cd69c81f26ff32551546c85a3c1f7f134914fb18c0e1ffbf21f2a4f9ff8c3992d28c09f7940032 WHIRLPOOL a8feefe5b5a05be55ac5a97c23677aee87d876cafb6e57579c2eea4027512426abeae77831c280d25a1874a4e009f408484feda5b309938ac756d8694426c543
+DIST pygogapi-0_alpha20180605.zip 20071 SHA256 cff8b67cabc64faaf31903a1cb3e931e49b6d7a0277cd273a1ff347669ec21fb SHA512 67a0ca3bc1a402590f2a128b618cb30c5766f3714c034a607b8b025e790d7edf009ff02800f631f9e10a6d1870d8bfdd93642e29bee5231bc5652ac0c67162ef WHIRLPOOL f0adb3ae3ce1f5b204e987cf2a1cd72b80fb9d61ea3bbde031ae84eb9c162d22233a67f160a0dc4bd32df818e36c950b258fd2bf0614a1cd611c021b093a7864
diff --git a/games-util/games_nebula/games_nebula-0_alpha20180605.ebuild b/games-util/games_nebula/games_nebula-0_alpha20180605.ebuild
new file mode 100644
index 0000000..e5cad14
--- /dev/null
+++ b/games-util/games_nebula/games_nebula-0_alpha20180605.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_5 )
+
+inherit eutils python-single-r1
+
+DESCRIPTION="Unofficial Linux client for GOG.com"
+HOMEPAGE="https://github.com/yancharkin/games_nebula"
+SRC_URI="https://github.com/yancharkin/games_nebula/archive/${PV#0_alpha}.tar.gz -> ${P}.tar.gz
+ https://github.com/yancharkin/pygogapi/archive/master.zip -> pygogapi-${PVR}.zip
+ https://github.com/yancharkin/games_nebula_goglib_scripts/archive/master.zip -> goglib_scripts-${PVR}.zip
+ https://github.com/yancharkin/games_nebula_mylib_scripts/archive/master.zip -> mylib_scripts-${PVR}.zip
+ https://github.com/yancharkin/games_nebula_goglib_images/archive/master.zip -> goglib_images-${PVR}.zip
+ https://github.com/yancharkin/games_nebula_mylib_images/archive/master.zip -> mylib_images-${PVR}.zip
+ https://sourceforge.net/projects/innounp/files/latest/download?source=files -> innounp-${PVR}.rar"
+
+LICENSE="GPL-3 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+cab +dosbox +scummvm +mega +ffmpeg +wine"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-arch/innoextract
+ app-arch/p7zip
+ app-arch/unzip
+ dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ games-util/lgogdownloader
+ net-libs/webkit-gtk
+ net-misc/curl
+ x11-apps/xrandr
+ cab? ( app-arch/cabextract app-arch/unshield )
+ dosbox? ( games-emulation/dosbox )
+ scummvm? ( games-engines/scummvm )
+ mega? ( net-misc/megatools )
+ ffmpeg? ( virtual/ffmpeg )
+ wine? ( virtual/wine app-emulation/winetricks )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P/0_alpha/}"
+
+src_prepare() {
+ sed -i -e 's/question_y_n/:/' -e 's/curl/:/' setup.sh
+ mkdir "${S}/tmp" || die
+ cp "${DISTDIR}/pygogapi-${PVR}.zip" "${S}/tmp/pygogapi.zip" || die
+ cp "${DISTDIR}/goglib_scripts-${PVR}.zip" "${S}/tmp/goglib_scripts.zip" || die
+ cp "${DISTDIR}/mylib_scripts-${PVR}.zip" "${S}/tmp/mylib_scripts.zip" || die
+ cp "${DISTDIR}/goglib_images-${PVR}.zip" "${S}/tmp/goglib_images.zip" || die
+ cp "${DISTDIR}/mylib_images-${PVR}.zip" "${S}/tmp/mylib_images.zip" || die
+ cp "${DISTDIR}/innounp-${PVR}.rar" "${S}/tmp/innounp.rar" || die
+
+ python_fix_shebang "${S}"
+ sed -i -e 's/python //' setup.sh
+
+ default
+}
+
+src_install() {
+ ./setup.sh || die
+
+ dodir /opt
+ cp -pPR "${S}" "${D}/opt/${PN}" || die
+ # Fix perms broken by 7z in setup.sh ignoring umask
+ fperms -R a+rx "/opt/${PN}/scripts" "/opt/${PN}/images" "/opt/${PN}/gogapi"
+
+ into /opt
+ make_wrapper "${PN}" "./start.sh" "/opt/${PN}"
+}
diff --git a/games-util/games_nebula/metadata.xml b/games-util/games_nebula/metadata.xml
new file mode 100644
index 0000000..59b7813
--- /dev/null
+++ b/games-util/games_nebula/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <use>
+ <flag name="cab">Support extracting Windows CAB archives</flag>
+ <flag name="dosbox">Supprt running dos games in dosbox</flag>
+ <flag name="mega">Support downloading game addons from mega</flag>
+ <flag name="scummvm">Support running ScummVM games</flag>
+ <flag name="wine">Support running Windows games in wine</flag>
+ </use>
+</pkgmetadata>