summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-server')
-rw-r--r--games-server/bedrock-server/Manifest1
-rw-r--r--games-server/bedrock-server/bedrock-server-1.19.51.01.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index 543ba3058419..8c0492796527 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1,2 +1,3 @@
DIST bedrock-server-1.19.41.01.zip 76027401 BLAKE2B 6095f217ea56e853117baff3073d96356bc2f2041a467f5d7b51c1a60c11a8b3d6be0b2a3061363fa9b6fa6a2459d1eaf845a8245eea9062116afff1d65c6212 SHA512 d25435249f9ba8af6bc6ad551f22ed5fe48ea2e407c11de3d14c4d410d1542f547b0a9b97f9d33bb3e388e1e085865efbe96fba020904af1c6f35c1b94c153f4
DIST bedrock-server-1.19.50.02.zip 76974713 BLAKE2B ff4d794c57f426e1b9ebab0ef269a41d6a68e2f1c46ad466f5bbd04fba5017a25f527ea0f956928ddf2e6f6f37fd900b92630af61c8bd6c8cfd53aabc560cae3 SHA512 11db8ca3f9ae1ed09b175d5959ab0d55b72239565ea2d99bddf1bd5cc873e51f9291e0926e4f5920e46663d7c71cc28c9348db44eb1c1784d96e25fd5a9ee1e9
+DIST bedrock-server-1.19.51.01.zip 76976732 BLAKE2B 30ed7a0ba1d2d13b91c5400e17a4facf92a540bf96216dd2fd6cce2d67e5576a8dc73e1c534bb7d0c3afff54cfd3a2715b1c10ecbde3129880003a55fd58fa5e SHA512 b4554cb0fe66bc742d80e2c6143faa6ad10412645207a845a84cbd99550888a0e9e80df764419ff50b24abbdd63d1260c2532c79add2dd4e012604e5bff59173
diff --git a/games-server/bedrock-server/bedrock-server-1.19.51.01.ebuild b/games-server/bedrock-server/bedrock-server-1.19.51.01.ebuild
new file mode 100644
index 000000000000..d9652070e3a9
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.19.51.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
+
+ 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
+}