summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-10-28 19:05:58 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-10-28 19:05:58 +0200
commit407a57fdbf6b23ad0e30a761bba6d7049db0046d (patch)
treee71b69c51f006f66f32734d89f2cc0cff79f372e /games-server/bedrock-server
parentsys-kernel/linux-firmware: add USE=compress (diff)
downloadgentoo-407a57fdbf6b23ad0e30a761bba6d7049db0046d.tar.gz
gentoo-407a57fdbf6b23ad0e30a761bba6d7049db0046d.tar.bz2
gentoo-407a57fdbf6b23ad0e30a761bba6d7049db0046d.zip
games-server/bedrock-server: add 1.19.40.02
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-server/bedrock-server')
-rw-r--r--games-server/bedrock-server/Manifest1
-rw-r--r--games-server/bedrock-server/bedrock-server-1.19.40.02.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index fc7af0102ed3..9471dad8eaae 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1 +1,2 @@
DIST bedrock-server-1.19.31.01.zip 77882899 BLAKE2B eef22247045fb6b15a1a1b6a73d53dcdfda096adddd798875f1b1ff7fd8b5af1179f0f4b5e05dd5f51a098d896633bc7e2e2c3edd713e21fb2da84801ab9c66a SHA512 ec43e491ed946cfc7da12e9f46f00b3e06aa0f72970abfd8d63bbc7c3c875c933651e1d6f332a201d2bbf4c0cded2f8b2e69f971aa55a74d2721ab953ea9dfd1
+DIST bedrock-server-1.19.40.02.zip 76026384 BLAKE2B 5b8d56c66558f1284f2edbb7d47f5c51cc4dcfb3b00baf19d3222deed0062e5e77dc2a328154bfe6041c1a68cd7bd8bb1fcd4f916f0875fc89bed63183d79d0f SHA512 fdc05595ce2414f40393ce0e39ad126adfea21b36c6aa46c22d8bf93532817fef1249e7782234d04b9c76991b5418d761eba797e3ff448f89f81219374a157a0
diff --git a/games-server/bedrock-server/bedrock-server-1.19.40.02.ebuild b/games-server/bedrock-server/bedrock-server-1.19.40.02.ebuild
new file mode 100644
index 000000000000..16dd14a8e660
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.19.40.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
+}