mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
games-server/among-sus: export CC, update service
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
# AMOGUS_PORT=1234
|
||||
# Set port number
|
||||
#AMONG_SUS_PORT=1234
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user