From e2fcfedd61458600cb5d6573f26540214e6fdd83 Mon Sep 17 00:00:00 2001
From: Conrad Kostecki <conikost@gentoo.org>
Date: Sat, 3 Sep 2022 00:45:58 +0200
Subject: games-server/bedrock-server: add 1.19.22.01

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
---
 games-server/bedrock-server/Manifest               |  1 +
 .../bedrock-server-1.19.22.01.ebuild               | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 games-server/bedrock-server/bedrock-server-1.19.22.01.ebuild

(limited to 'games-server/bedrock-server')

diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index d22b80ce94e5..ea5614692b9c 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.21.01.zip 75658119 BLAKE2B 96aabcc9a7aa1ba815a23b4bdc65e1465afcca5f59ebe24feaa06c88520da3473fffdca707d0af4d4b2467a872fc5e7556e6d90f07f310cd958bdae1b94dde7c SHA512 98b6fbeda45945786a69aa78fa2bec896766abbc8e88aa2b08e039df3b9760a2daeaeeeaa5529f840ba6020f51e8f33511f0c34dba83f63d199387fe3c2a47ca
+DIST bedrock-server-1.19.22.01.zip 75658036 BLAKE2B 3ace22cd15aad1ad4faf0f95ccc3e325629dd7a4876dff2711ad60b33a3c7f811fc225a59538135948352ccf6a11e97fb039b1eb5d18d29ebb35483859c57fe2 SHA512 bb138badcb91fa3eb5511aeadbe05e97e6fee8efa6888fde1c30a304d3549518385a49be2265496e9cfd6d5d305ebff2f515d63dfa2fe004decf70a03a5e66c7
diff --git a/games-server/bedrock-server/bedrock-server-1.19.22.01.ebuild b/games-server/bedrock-server/bedrock-server-1.19.22.01.ebuild
new file mode 100644
index 000000000000..16dd14a8e660
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.19.22.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
+}
-- 
cgit v1.2.3-65-gdbad