summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-10-06 22:46:03 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-10-06 23:14:44 +0200
commitceddc646fad9f0e05e3df9a869bba0ca61f9da0b (patch)
treeb2e9ac91f98f6588b36b79468c4fc611cb2b5ffa /games-server
parentvirtual/dotnet-sdk: require one dep to have dotnet-symlink enabled (diff)
downloadgentoo-ceddc646fad9f0e05e3df9a869bba0ca61f9da0b.tar.gz
gentoo-ceddc646fad9f0e05e3df9a869bba0ca61f9da0b.tar.bz2
gentoo-ceddc646fad9f0e05e3df9a869bba0ca61f9da0b.zip
games-server/bedrock-server: add 1.19.31.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.31.01.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index 286131871170..ff4e7bceabce 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1,2 +1,3 @@
DIST bedrock-server-1.19.20.02.zip 75658923 BLAKE2B f137320f5785ddbdd1f4ff550f99448ad70455c0ab70bc8d9ec48c15487503313dd0e887cd8b9a4a1a73b5af82af0b548a6cd13180fdbbd3fb53291f3c5c6ee7 SHA512 f82e50e9180dadab76152bc7860c0306d3ee68091f39345749e4c4268b5c6d53692188373bb366a053abc352b50b1508eab8d662b10fe7ce96cf91485596c1d2
DIST bedrock-server-1.19.30.04.zip 77883277 BLAKE2B e92ecca1b3118e4045c4369b9d468566ed807c989851d30d546629652ffa83f52ebc48f1a4d47061b1073ba0672e4432c7f2ae71b07b27e5bf8260f91cbcaf02 SHA512 b1431d52b193c8198aa6d3ff015d4de8df551fc6d96210aa8745fc14021dcf655c7cada0e218a9b803ed1142ec952224751bea3acd9a778f7775992c80f1ddc9
+DIST bedrock-server-1.19.31.01.zip 77882899 BLAKE2B eef22247045fb6b15a1a1b6a73d53dcdfda096adddd798875f1b1ff7fd8b5af1179f0f4b5e05dd5f51a098d896633bc7e2e2c3edd713e21fb2da84801ab9c66a SHA512 ec43e491ed946cfc7da12e9f46f00b3e06aa0f72970abfd8d63bbc7c3c875c933651e1d6f332a201d2bbf4c0cded2f8b2e69f971aa55a74d2721ab953ea9dfd1
diff --git a/games-server/bedrock-server/bedrock-server-1.19.31.01.ebuild b/games-server/bedrock-server/bedrock-server-1.19.31.01.ebuild
new file mode 100644
index 000000000000..16dd14a8e660
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.19.31.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
+}