public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: games-server/among-sus/, games-server/among-sus/files/
@ 2022-02-17 21:11 Anna Vyalkova
  0 siblings, 0 replies; only message in thread
From: Anna Vyalkova @ 2022-02-17 21:11 UTC (permalink / raw
  To: gentoo-commits

commit:     adc9d8195a33208fd64d08aa64a9545357b69f61
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Feb 10 20:32:32 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Feb 17 21:11:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=adc9d819

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

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 games-server/among-sus/among-sus-20210519.ebuild | 4 +++-
 games-server/among-sus/files/among-sus.confd     | 3 ++-
 games-server/among-sus/files/among-sus.initd     | 8 +++-----
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/games-server/among-sus/among-sus-20210519.ebuild b/games-server/among-sus/among-sus-20210519.ebuild
index c0d8b11e4..58d869c9e 100644
--- a/games-server/among-sus/among-sus-20210519.ebuild
+++ b/games-server/among-sus/among-sus-20210519.ebuild
@@ -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)

diff --git a/games-server/among-sus/files/among-sus.confd b/games-server/among-sus/files/among-sus.confd
index 86c4ccab6..6cac8fd74 100644
--- a/games-server/among-sus/files/among-sus.confd
+++ b/games-server/among-sus/files/among-sus.confd
@@ -1 +1,2 @@
-# AMOGUS_PORT=1234
+# Set port number
+#AMONG_SUS_PORT=1234

diff --git a/games-server/among-sus/files/among-sus.initd b/games-server/among-sus/files/among-sus.initd
index 14886c2b5..3b84b8635 100644
--- a/games-server/among-sus/files/among-sus.initd
+++ b/games-server/among-sus/files/among-sus.initd
@@ -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
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-17 21:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-17 21:11 [gentoo-commits] repo/proj/guru:dev commit in: games-server/among-sus/, games-server/among-sus/files/ Anna Vyalkova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox