games-server/among-sus: export CC, update service

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova committed 2022-02-18 02:11:14 +05:00
1 parent a9179edd55
commit adc9d8195a
3 files changed
+8 -7

No files matched your search

@@ -3,7 +3,7 @@
EAPI=8
inherit flag-o-matic
inherit flag-o-matic toolchain-funcs
COMMIT="554e60bf52e3fa931661b9414189a92bb8f69d78"
DESCRIPTION="Among Us, but it's a text adventure"
@@ -17,6 +17,8 @@ KEYWORDS="~amd64 ~x86"
IUSE="+notifications"
src_configure() {
tc-export CC
append-cflags -Wno-unused-result
append-cppflags \
-DVERSION=\\\"${COMMIT:0:7}\\\" \
-DMOVEMENT_NOTIFICATIONS=$(usex notifications 1 0)
+2 -1
View File
@@ -1 +1,2 @@
# AMOGUS_PORT=1234
# Set port number
#AMONG_SUS_PORT=1234
+3 -5
View File
@@ -1,18 +1,16 @@
#!/sbin/openrc-run
# Copyright 2021 Gentoo Authors
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="among-sus server"
description="Among Us, but it's a text adventure"
AMOGUS_PORT=${AMOGUS_PORT:-1234}
command="/usr/bin/among-sus"
command_args="-p ${AMOGUS_PORT}"
command_args="-p ${AMONG_SUS_PORT:-1234}"
command_user=nobody:nobody
command_background=1
pidfile=/run/among-sus.pid
depend() {
need net
use net
}