summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Moen <eroen-overlay@occam.eroen.eu>2019-08-31 00:28:26 +0200
committerErik Moen <eroen-overlay@occam.eroen.eu>2019-08-31 00:28:26 +0200
commit7d7ee740cd331430314ee5de1738a45214c8ad2d (patch)
treec15630ce8b8edb855efe4d21cb4909f2ae8dee80
parentsynfigstudio-1.3.11 - bump (diff)
downloaderoen-7d7ee740cd331430314ee5de1738a45214c8ad2d.tar.gz
eroen-7d7ee740cd331430314ee5de1738a45214c8ad2d.tar.bz2
eroen-7d7ee740cd331430314ee5de1738a45214c8ad2d.zip
sunlesssea-2.2.4.3141 - bump
Mask old versions to prevent accidental downgrade Signed-off-by: Erik Moen <eroen-overlay@occam.eroen.eu>
-rw-r--r--games-simulation/sunlesssea/Manifest5
-rw-r--r--games-simulation/sunlesssea/sunlesssea-2.2.4.3141.ebuild60
-rw-r--r--profiles/package.mask2
3 files changed, 65 insertions, 2 deletions
diff --git a/games-simulation/sunlesssea/Manifest b/games-simulation/sunlesssea/Manifest
index 087a93d..852fa10 100644
--- a/games-simulation/sunlesssea/Manifest
+++ b/games-simulation/sunlesssea/Manifest
@@ -1,2 +1,3 @@
-DIST Sunless_Sea-StandAlone-Linux-2016-03-29.sh 299612630 SHA256 6a72728603686689aa05b618ca7dbcecce0c8b33070ce00b84edf1ee4c6adb93 SHA512 6ca13b2d1701aa97e053626db0519acf73a99a7498ba7a961d296cb315181821dd601a47f1f2e3db913078d59b633d315310cf9cc91bdbfe45eb66bafe6679c6 WHIRLPOOL 6c4fc7e7a8259e6c17a9ea7c811ad2940a84ec67792990efd86b700d6a911d637856a72973b74858753451a7fa6d86b3a09586f3f7d4f7e3caf5e0b244e73eb8
-DIST Sunless_Sea_Setup_V2.2.2.3129LINUX.zip 288717981 SHA256 65922ff7cb96f28466404bd091206c03c42cd829268db1d288bcf101a5001ca5 SHA512 92b8bd1b45e7d29ee3e92450d24eb322ee1197ce9953586c307ce2443e26c68b8b3781f12312057fe593a650dcc8034cca936400c37d6d1dc9842714c1c03f9a WHIRLPOOL fbf151cca691690f5e7a3f1f303b648c8fac0a0bcc05998a10ac88a5616f713f8c86e2dcc3069d9571704110de538eef891c6881470dec84e08e5675bbeb9356
+DIST Sunless_Sea-StandAlone-Linux-2016-03-29.sh 299612630 BLAKE2B 4d0a87b09a32fdda59c7dfccc69614726644ae394b5fc292324105c14c58be4d823b643543bdd1bd155694c2f218ca3b4106bffd88fe10684cc198b9f8e2c9a9 SHA512 6ca13b2d1701aa97e053626db0519acf73a99a7498ba7a961d296cb315181821dd601a47f1f2e3db913078d59b633d315310cf9cc91bdbfe45eb66bafe6679c6
+DIST Sunless_Sea_Setup_V2.2.2.3129LINUX.zip 288717981 BLAKE2B 1e58cfcb69d6d88a618bacd87887ef3e0b43bff11e78df8cd42386f98efd8d5da60e3de5d07120bea9311eb084e60bec11a7fedb33d0cc02fb3e48d59b45ddab SHA512 92b8bd1b45e7d29ee3e92450d24eb322ee1197ce9953586c307ce2443e26c68b8b3781f12312057fe593a650dcc8034cca936400c37d6d1dc9842714c1c03f9a
+DIST Sunless_Sea_Setup_V2.2.4.3141_LINUX.zip 299191760 BLAKE2B 74b4877783504462ec9fdd40f422285b49471367fa4a558a2d5718da19e89897d31f013fae3bb40fcb30f83d62516a3a4b57e0881b4b57aab7047c6c4ca3d69d SHA512 6dd84c76ad007ef9a7e1245d3e405f1d47fd0223b4d828434ce4cfae249632d9d7a2ab55180538fad98422d24b395c2e46ab54697c957831e7e961ec68dc458b
diff --git a/games-simulation/sunlesssea/sunlesssea-2.2.4.3141.ebuild b/games-simulation/sunlesssea/sunlesssea-2.2.4.3141.ebuild
new file mode 100644
index 0000000..11ae105
--- /dev/null
+++ b/games-simulation/sunlesssea/sunlesssea-2.2.4.3141.ebuild
@@ -0,0 +1,60 @@
+# By eroen <eroen-overlay@occam.eroen.eu>, 2016 - 2017
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+
+EAPI=6
+
+inherit eutils pax-utils unpacker humblebundle
+
+DESCRIPTION="Lose your mind. Eat your crew."
+HOMEPAGE="http://www.failbettergames.com/sunless/"
+SRC_URI="Sunless_Sea_Setup_V${PV}_LINUX.zip"
+RESTRICT="bindist fetch mirror splitdebug"
+S=$WORKDIR
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64" # ~x86
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND="virtual/glu
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXcursor"
+
+QA_PREBUILT="opt/$PN/*"
+
+src_unpack() {
+ default
+ unpack_zip "Sunless Sea.sh"
+ rm -rf meta scripts "Sunless Sea.sh" || die
+}
+
+src_prepare() {
+ default
+
+ use amd64 || rm -rf data/x86_64 \
+ "data/noarch/Sunless Sea_Data/Plugins/x86_64" \
+ "data/noarch/Sunless Sea_Data/Mono/x86_64/libmono.so" || die
+ use x86 || rm -rf data/x86 \
+ "data/noarch/Sunless Sea_Data/Plugins/x86" \
+ "data/noarch/Sunless Sea_Data/Mono/x86/libmono.so" || die
+
+ rm -f data/noarch/README.linux || die
+}
+
+src_install() {
+ local myarch
+ use amd64 && myarch=x86_64
+ use x86 && myarch=x86
+
+ insinto /opt/$PN
+ doins -r data/noarch/. data/$myarch/. # Executable and resources must be in same place
+ fperms +x "/opt/$PN/Sunless Sea.$myarch"
+ pax-mark -m "$ED/opt/$PN/Sunless Sea.$myarch" # Required for bundled libmono
+
+ make_wrapper $PN "\"/opt/$PN/Sunless Sea.$myarch\""
+ make_desktop_entry $PN "Sunless Sea" /opt/$PN/Icon.png
+}
diff --git a/profiles/package.mask b/profiles/package.mask
new file mode 100644
index 0000000..fdce5a5
--- /dev/null
+++ b/profiles/package.mask
@@ -0,0 +1,2 @@
+# Mask old versions to prevent accidental downgrade
+>=games-simulation/sunlesssea-2016.03.29