public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zhang Zheng" <zhangzheng.dylan@foxmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-action/ddnet/
Date: Tue, 13 Sep 2022 06:45:11 +0000 (UTC)	[thread overview]
Message-ID: <1663051480.0a67a5827157727b1c90ce1b49e47865c877afdd.zhangzheng.dylan@gentoo> (raw)

commit:     0a67a5827157727b1c90ce1b49e47865c877afdd
Author:     Big Pineapple <zhangzheng.dylan <AT> foxmail <DOT> com>
AuthorDate: Tue Sep 13 06:44:40 2022 +0000
Commit:     Zhang Zheng <zhangzheng.dylan <AT> foxmail <DOT> com>
CommitDate: Tue Sep 13 06:44:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a67a582

games-action/ddnet: new package, add 16.3.2

Signed-off-by: Big Pineapple <zhangzheng.dylan <AT> foxmail.com>

 games-action/ddnet/Manifest            |  1 +
 games-action/ddnet/ddnet-16.3.2.ebuild | 75 ++++++++++++++++++++++++++++++++++
 games-action/ddnet/metadata.xml        | 22 ++++++++++
 3 files changed, 98 insertions(+)

diff --git a/games-action/ddnet/Manifest b/games-action/ddnet/Manifest
new file mode 100644
index 000000000..310cba617
--- /dev/null
+++ b/games-action/ddnet/Manifest
@@ -0,0 +1 @@
+DIST ddnet-16.3.2.tar.gz 35885532 BLAKE2B 9ba13ef9bf6f31cd1084a88a4156db5abb5163e3566201f94872b9a32ed94750d356f5209e62fb4d98272164816b66d48d34415f978188212db044fcc157375b SHA512 6ddfb80f742d674a87d4953aab708e05d4efce2758dd91a1366454a799d10b607a2b3beba75d1104b49870cc4ebdbb3631478c11403a14cf7f9507666741169b

diff --git a/games-action/ddnet/ddnet-16.3.2.ebuild b/games-action/ddnet/ddnet-16.3.2.ebuild
new file mode 100644
index 000000000..8f3b5f9c0
--- /dev/null
+++ b/games-action/ddnet/ddnet-16.3.2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit cmake python-any-r1 xdg
+
+DESCRIPTION="DDraceNetwork, a cooperative racing mod of Teeworlds "
+HOMEPAGE="https://ddnet.tw/
+	https://github.com/ddnet/ddnet"
+SRC_URI="https://github.com/ddnet/ddnet/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="CC-BY-SA-3.0 OFL-1.1 BSD"
+SLOT="0"
+IUSE="antibot autoupdate +client download-gtest headless-client +inform-update +server +tools upnp +videorecorder vulkan websockets"
+KEYWORDS="~amd64"
+
+DEPEND="
+	client? (
+		media-libs/freetype
+		media-libs/glew
+		media-libs/libogg
+		media-libs/libsdl2
+		media-libs/opus
+		media-libs/opusfile
+		media-libs/pnglite
+		videorecorder? ( media-video/ffmpeg )
+	)
+	dev-libs/glib
+	dev-libs/openssl
+	dev-db/sqlite
+	download-gtest? (
+		dev-cpp/gtest
+		dev-vcs/git
+	)
+	media-libs/libglvnd
+	media-libs/libpng
+	media-sound/wavpack
+	net-misc/curl
+	upnp? ( net-libs/miniupnpc )
+	vulkan? (
+		media-libs/vulkan-loader
+		media-libs/libsdl2[vulkan]
+	)
+	websockets? ( net-libs/libwebsockets[client] )
+	x11-libs/gdk-pixbuf
+	x11-libs/libnotify
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	>=dev-lang/python-3.8:3.8
+	dev-util/cmake
+	dev-util/glslang
+	dev-util/spirv-tools
+	media-libs/x264
+"
+src_configure(){
+	local mycmakeargs=(
+		-DANTIBOT=$(usex antibot ON OFF)
+		-DAUTOUPDATE=$(usex autoupdate ON OFF)
+		-DCLIENT=$(usex client ON OFF)
+		-DDOWNLOAD_GTEST=$(usex download-gtest ON OFF)
+		-DHEADLESS_CLIENT=$(usex headless-client ON OFF)
+		-DINFORM_UPDATE=$(usex inform-update ON OFF)
+		-DSERVER=$(usex server ON OFF)
+		-DTOOLS=$(usex tools ON OFF)
+		-DUPNP=$(usex upnp ON OFF)
+		-DVIDEORECORDER=$(usex videorecorder ON OFF)
+		-DVULKAN=$(usex vulkan ON OFF)
+		-DWEBSOCKETS=$(usex websockets ON OFF)
+	)
+	cmake_src_configure
+}

diff --git a/games-action/ddnet/metadata.xml b/games-action/ddnet/metadata.xml
new file mode 100644
index 000000000..66ebe3a98
--- /dev/null
+++ b/games-action/ddnet/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<name>Zhang Zheng</name>
+		<email>zhangzheng.dylan@foxmail.com</email>
+	</maintainer>
+	<use>
+		<flag name="antibot">Enable support for a dynamic anticheat library.</flag>
+		<flag name="autoupdate">Enable the autoupdater.</flag>
+		<flag name="client">Enable client compilation.</flag>
+		<flag name="download-gtest">Download and compile GTest. Useful if GTest is not installed and there is no suitable package providing it.</flag>
+		<flag name="headless-client">Build the client without graphics.</flag>
+		<flag name="inform-update">Inform about available updates.</flag>
+		<flag name="server">Enable server compilation.</flag>
+		<flag name="tools">Enable tools compilation.</flag>
+		<flag name="upnp">Enable UPnP support for the server.</flag>
+		<flag name="videorecorder">Add video recording support using FFmpeg to the client.</flag>
+		<flag name="vulkan">Enable the vulkan backend.</flag>
+		<flag name="websockets">Enable WebSocket support for server.</flag>
+	</use>
+</pkgmetadata>


             reply	other threads:[~2022-09-13  6:45 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-13  6:45 Zhang Zheng [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-09-23  3:01 [gentoo-commits] repo/proj/guru:dev commit in: games-action/ddnet/ Zhang Zheng
2022-10-26  7:30 Zhang Zheng
2022-11-10 20:55 Edgar Luque
2022-11-10 20:55 Edgar Luque
2022-12-12 15:00 Edgar Luque
2022-12-12 15:01 Edgar Luque
2022-12-12 15:35 Edgar Luque
2022-12-28 12:42 Zhang Zheng
2023-02-01  7:48 Edgar Luque
2023-03-05 14:14 Edgar Luque
2023-03-10 11:28 Edgar Luque
2023-04-03  6:27 Edgar Luque
2023-05-25 14:08 Edgar Luque
2023-05-28  8:43 Edgar Luque
2023-06-01  9:27 Zhang Zheng
2023-06-07 11:38 Edgar Luque
2023-07-07 11:09 Edgar Luque
2023-07-09 13:24 Edgar Luque
2023-08-17 11:47 Edgar Luque
2023-08-28  9:47 Edgar Luque
2023-09-27 11:11 Edgar Luque
2023-11-20 10:23 Edgar Luque
2023-12-15 12:49 Edgar Luque
2023-12-18  8:25 Edgar Luque
2023-12-18  8:39 Edgar Luque
2023-12-18  8:39 Edgar Luque
2024-02-01  7:12 Edgar Luque
2024-03-19 10:32 Edgar Luque
2024-05-03  8:20 Edgar Luque
2024-07-07 13:32 Edgar Luque
2024-07-24  7:24 Edgar Luque
2024-09-09 14:39 Edgar Luque
2024-09-19 13:32 Edgar Luque
2024-10-10  8:20 Edgar Luque
2024-11-10 14:46 Edgar Luque
2024-12-27  8:53 Edgar Luque
2025-01-09 16:19 Edgar Luque
2025-02-25 14:22 Edgar Luque
2025-02-25 14:22 Edgar Luque
2025-03-28 15:02 Edgar Luque

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1663051480.0a67a5827157727b1c90ce1b49e47865c877afdd.zhangzheng.dylan@gentoo \
    --to=zhangzheng.dylan@foxmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox