summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2018-01-28 21:15:50 +0500
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>2018-01-28 21:15:50 +0500
commitd4a0ea433e160e9e85a1cfa4e3c74d7ca9e40650 (patch)
treec18364b434bd86435dc77f0a4af11572684e192a /games-fps
parent[games-fps/redeclipse] remove package, in portage now (diff)
downloadgamerlay-d4a0ea433e160e9e85a1cfa4e3c74d7ca9e40650.tar.gz
gamerlay-d4a0ea433e160e9e85a1cfa4e3c74d7ca9e40650.tar.bz2
gamerlay-d4a0ea433e160e9e85a1cfa4e3c74d7ca9e40650.zip
games-fps/gzdoom: new package
Package-Manager: Portage-2.3.19, Repoman-2.3.6 Manifest-Sign-Key: A018DE8C
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/gzdoom/Manifest11
-rw-r--r--games-fps/gzdoom/gzdoom-3.2.5.ebuild53
-rw-r--r--games-fps/gzdoom/metadata.xml11
3 files changed, 75 insertions, 0 deletions
diff --git a/games-fps/gzdoom/Manifest b/games-fps/gzdoom/Manifest
new file mode 100644
index 0000000..349eacc
--- /dev/null
+++ b/games-fps/gzdoom/Manifest
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST gzdoom-g3.2.5.zip 10969586 SHA256 186c5a65024c742a2fa656b9bf0f1e7a560e07ad012549ee43c9c6e27e68c484 SHA512 3317136786570ef99e4c2833394c652d272e8295e94738a12c7d934a16d3f213e823a503947fb70097c52247dc3138b270159f8605ab79a045a74241ed242ee5 WHIRLPOOL b6656d89f0757e81f1c2c1837d0c0005fbc4d1d0cc81e4bdf8f9a8e57d2bea96c80dcb5ebe6f33dc6b2b71384dc7e5bc42cf52a3f6f3dc777d0751d302987b95
+-----BEGIN PGP SIGNATURE-----
+
+iHUEAREIAB0WIQTCRKDhQijovhJeRGzP4DsXoBjejAUCWm33MQAKCRDP4DsXoBje
+jMOPAP0Renu0TnVoTjUpAegavblH6ga8CyjI2UoLqHYWlbVXNQEA0g4opJpSD5MM
+5BcOvlL9bcKwPuwbE1uv7oV9UU+YekY=
+=jsrP
+-----END PGP SIGNATURE-----
diff --git a/games-fps/gzdoom/gzdoom-3.2.5.ebuild b/games-fps/gzdoom/gzdoom-3.2.5.ebuild
new file mode 100644
index 0000000..bd2ffcc
--- /dev/null
+++ b/games-fps/gzdoom/gzdoom-3.2.5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A modder-friendly OpenGL source port based on the DOOM engine"
+HOMEPAGE="https://zdoom.org/"
+SRC_URI="https://zdoom.org/files/gzdoom/src/${PN}-g${PV}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk kde openal"
+
+RDEPEND="
+ app-arch/bzip2
+ kde? ( kde-apps/kdialog )
+ media-libs/game-music-emu
+ openal? (
+ media-libs/libsndfile
+ media-libs/openal
+ media-sound/mpg123
+ )
+ >=media-libs/libsdl2-2.0.2[opengl]
+ media-sound/fluidsynth
+ sys-libs/zlib
+ virtual/jpeg:0
+ virtual/opengl
+ gtk? ( x11-libs/gtk+:* )
+"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}/${PN}-g${PV}"
+
+src_prepare() {
+ default
+ sed -i -e "s:\(\/usr\/share\/doom\):\1-data:g" \
+ src/gameconfigfile.cpp || die
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DNO_GTK=$(usex !gtk)
+ -DNO_OPENAL=$(usex !openal)
+ )
+ cmake-utils_src_configure
+}
diff --git a/games-fps/gzdoom/metadata.xml b/games-fps/gzdoom/metadata.xml
new file mode 100644
index 0000000..96b1109
--- /dev/null
+++ b/games-fps/gzdoom/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>azamat.hackimov@gmail.com</email>
+<name>Azamat H. Hackimov</name>
+</maintainer>
+<longdescription lang="en">
+A modder-friendly OpenGL source port based on the DOOM engine
+</longdescription>
+</pkgmetadata>