summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-06-07 22:08:50 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-06-07 22:13:44 +0200
commitc3fc7586209ff62bee4850a7279157d1f65a4241 (patch)
tree8299a0717ffd7907518ef0f332492d81b9799835 /games-server
parentgames-server/minecraft-server: add 1.19 (diff)
downloadgentoo-c3fc7586209ff62bee4850a7279157d1f65a4241.tar.gz
gentoo-c3fc7586209ff62bee4850a7279157d1f65a4241.tar.bz2
gentoo-c3fc7586209ff62bee4850a7279157d1f65a4241.zip
games-server/bedrock-server: add 1.19.1.01
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.1.01.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index f135228c4159..55f307796bce 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1,2 +1,3 @@
DIST bedrock-server-1.18.12.01.zip 67706215 BLAKE2B 8047a014d01fef4e5e438ecfe5886b154fe424599d72e6c3405c8a7663df883e250e20ffa46e0eb6e9df5e867d22e5e193a0e389049cd67d355873cb0e68a798 SHA512 fe0bade92143759b4d0eccd4586a15b62083d95606cd62a7fb1fe5ec1a36496512a4414493c210f09c42b8c117db760236861913bbf6d17bc024cdfb83e5d1e2
DIST bedrock-server-1.18.33.02.zip 76100826 BLAKE2B bbafb8433c955a1534f3dd57c155790e2a6def9028e212f378133b93eba3c2274eae17ca45413f974cfe657093f5c4ea352d6f02b877614eb8c618e4307a7e1d SHA512 060e0266c66464cbbb563088ac2341ad5e1dce7f2f0dd9fec5fd107739c0b7dc71e6ce271d6895cbed468721eb7d863efc2bb308321b92106d1b600ac5d3fd7e
+DIST bedrock-server-1.19.1.01.zip 72201104 BLAKE2B f8d28d8faaf813fc5b56620cc1439e4e3fe360b428cf6e4c535f04f11dd09a1918956e0ceb196a658b31d2c454e70df031faff6d922d3f857cbc295b55eb7a4b SHA512 45be61437e82a2b88881d50e8635ed9eb6a9fe24ba2cf305f1d397220b6139655bdf5b8f6a063cb5443ba3c6b4f15739623f4ea1cba7ba9e30ea10b21b1a508a
diff --git a/games-server/bedrock-server/bedrock-server-1.19.1.01.ebuild b/games-server/bedrock-server/bedrock-server-1.19.1.01.ebuild
new file mode 100644
index 000000000000..16dd14a8e660
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.19.1.01.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
+}