summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-06-25 16:00:37 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-06-25 16:34:46 +0200
commita6328186547029d4cdae7a0568beb2f8467b6765 (patch)
treedf560cc0147fc0cb8ee6e541f656aec98105aa86 /games-server
parentdev-libs/intel-compute-runtime: add 22.24.23453 (diff)
downloadgentoo-a6328186547029d4cdae7a0568beb2f8467b6765.tar.gz
gentoo-a6328186547029d4cdae7a0568beb2f8467b6765.tar.bz2
gentoo-a6328186547029d4cdae7a0568beb2f8467b6765.zip
games-server/bedrock-server: add 1.19.2.02
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-server')
-rw-r--r--games-server/bedrock-server/Manifest1
-rw-r--r--games-server/bedrock-server/bedrock-server-1.19.2.02.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index 5ff1f0dd2a53..583336d8a0f6 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1 +1,2 @@
DIST bedrock-server-1.19.1.01.zip 72201104 BLAKE2B f8d28d8faaf813fc5b56620cc1439e4e3fe360b428cf6e4c535f04f11dd09a1918956e0ceb196a658b31d2c454e70df031faff6d922d3f857cbc295b55eb7a4b SHA512 45be61437e82a2b88881d50e8635ed9eb6a9fe24ba2cf305f1d397220b6139655bdf5b8f6a063cb5443ba3c6b4f15739623f4ea1cba7ba9e30ea10b21b1a508a
+DIST bedrock-server-1.19.2.02.zip 72204228 BLAKE2B 77259b006bdb3227ea45a6ba4a210b72e1adb23f8fe7b08b7e3607abb500e3f45175563c7adddf6f7683ad68618be50ee84418e91e14abba73bb7fccc129e143 SHA512 1f6571e4a5f183ed376c42879e4882acd46bc5b3130a4dcf324bd740843eff24d8c3d7d0d5914c8db2acdf41ada0a912b56f1ac600df97d8664fec47ee1be25c
diff --git a/games-server/bedrock-server/bedrock-server-1.19.2.02.ebuild b/games-server/bedrock-server/bedrock-server-1.19.2.02.ebuild
new file mode 100644
index 000000000000..16dd14a8e660
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.19.2.02.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="The official bedrock (non-java) based server for the sandbox video game"
+HOMEPAGE="https://www.minecraft.net/"
+SRC_URI="https://minecraft.azureedge.net/bin-linux/${P}.zip"
+S="${WORKDIR}"
+
+LICENSE="Mojang"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RDEPEND="
+ acct-group/bedrock
+ acct-user/bedrock
+ app-misc/dtach
+ dev-libs/openssl:0/1.1
+ sys-libs/zlib
+"
+
+BDEPEND="app-arch/unzip"
+
+RESTRICT="bindist mirror"
+
+DOCS=(
+ "bedrock_server_how_to.html"
+ "release-notes.txt"
+)
+
+QA_PREBUILT="opt/bedrock-server/bedrock_server"
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ exeinto /opt/bedrock-server
+ doexe bedrock_server
+
+ insinto /opt/bedrock-server
+ doins {allowlist,permissions}.json server.properties
+ doins -r {behavior,resource}_packs definitions structures
+
+ dodir /opt/bin
+ dosym ../bedrock-server/bedrock_server /opt/bin/bedrock-server
+
+ newinitd "${FILESDIR}"/bedrock-server.initd-r4 bedrock-server
+ newconfd "${FILESDIR}"/bedrock-server.confd bedrock-server
+
+ einstalldocs
+}