diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-fps/quakeforge |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-fps/quakeforge')
-rw-r--r-- | games-fps/quakeforge/Manifest | 7 | ||||
-rw-r--r-- | games-fps/quakeforge/files/quakeforge-0.7.2-gentoo.patch | 33 | ||||
-rw-r--r-- | games-fps/quakeforge/metadata.xml | 39 | ||||
-rw-r--r-- | games-fps/quakeforge/quakeforge-0.7.2-r1.ebuild | 126 | ||||
-rw-r--r-- | games-fps/quakeforge/quakeforge-0.7.2.ebuild | 122 |
5 files changed, 327 insertions, 0 deletions
diff --git a/games-fps/quakeforge/Manifest b/games-fps/quakeforge/Manifest new file mode 100644 index 000000000000..5881f93e4cf6 --- /dev/null +++ b/games-fps/quakeforge/Manifest @@ -0,0 +1,7 @@ +AUX quakeforge-0.7.2-gentoo.patch 1365 SHA256 5e75db76535d7024eeccc97727f2544eacf26f9e8b57710d9474d53c54d2ffac SHA512 521ba870e7b04e98c4d5507f661b0bfe7f18dc3901b671aed8c03c7691466e4e67f382d0fe05545eabff3ae684b8ed39e6681b4179348682f9adeb3eab177d9d WHIRLPOOL dadddeb012345bfb693111ba7a3a3d9ea2490e56da0452c19b8175a59c29ab99c55f67f509ddb912cce4f97e240684fd6114d4562563624eba7efb8b516d87b1 +DIST quakeforge-0.7.2.tar.bz2 2887823 SHA256 1ddc8c963b23bd648d94af48062ab0448345761defeceaef7c62be55c4a28d7a SHA512 d296e10b86466aee0a4be527a5fea7a44bae60ebef52ad86381744dc96e2bed2ad14d3b790b4514a5c59ac897662e91b80a9d49c822910930742a1d2b8a2ec55 WHIRLPOOL 11a4465435f42ba866806d4d4ede34a4a4e6b42b9e4fd6696c10e55bba4182762dc890ddff463bd9ad00b937d36dbde269886683f6f85b639a0ea6a30f5f6e4a +EBUILD quakeforge-0.7.2-r1.ebuild 3110 SHA256 7838b3f7603f8551ed8d6efc834b86df239c41ad648d30df14ca280eb8a903ed SHA512 c0031fac48ad0a1307264b2d077db618636fd247af4cc8efb2ae9e54bc6c99a6514cd15b4f8889286a4956cf56703111d1eda87d082dfc3b2c6213b8f1412716 WHIRLPOOL 521dd1b7912d33f5af4925d84f217222b29b4baf5836faf20ec0e311e2edbb5589ac76ad079f332a1d7e3fc05b92cb1dd9d121399f7b554b9befb4961461c493 +EBUILD quakeforge-0.7.2.ebuild 3231 SHA256 f267e2a276d8875d07d0b864044299586c2ea9898591855526fb076c8cbe6ef0 SHA512 98d045eaa7c8e034c25e9bf12437363cf7047cadc72ef68f10639923c7fb3419855a902442fe1aff941cf73135514b341728b7b410b24567d0469c12e8d82ba6 WHIRLPOOL fa5a27189ac79f387d6edf0dcfaf736372835100294b3f1e04acf60819d6a05378cda78f1f987bbd4d5e30bb6ab2c8802ad09b666ee185a87d1a4b93b0a58b94 +MISC ChangeLog 4916 SHA256 703bbb3d5459b971bc12adb326942d8c30ac958368beff39eb63da3b782b41d5 SHA512 416c585469b1fe5a0f3b18c35ebbd7cd28b733b738ee304e692d7a0a99d501a706b67d86327a597bffa1c0785c98b04593f78ee5e8bec24d2ec420cc5c761b75 WHIRLPOOL ca7b04a5a595c7ebca98368bfced0c7681c0d072c4b72da32089a3773f478d47e824a54d89ac414793b095bb71b48cd215f796037e8f95fe9162feba2958bcd8 +MISC ChangeLog-2015 5958 SHA256 91d9f87647bee453d50e07025ef37d11e152c05798cb8a31f514c519378101c7 SHA512 221fbe30cc7ca379b10489c0b5c037b36b5e6de060fcdb25dcc066ca325e76a8e1b1c6ee37f1c140484b14863ed43bd2986e1320827c276929866cfabfe25dca WHIRLPOOL 1811889c543eb739bd23cf75150733fe5e255d97ec29cc4947b56c6c1c5ab513d9d5aca8e7b10f51730cda519ce041ead8efb451771577b72863b656921a5dae +MISC metadata.xml 1685 SHA256 a569d9c0dd74cdb413004537009cb80acca1f02c2d7a4bd5503f8633cb77d300 SHA512 caf9d7549c8e5d801f8d626b8a4c2528735a13fa2c721f4b9d5c9ae74ae15ee55c22f165d3027fcfed8309d6bf1face5dea9ebbb1b8624d679658c6768d77bc0 WHIRLPOOL 554e35537f36da34ff67544fe744069fc3ae850daa5ef9ae40acc550a74381c6af7fbb281778c55d2b72dede1418d21fd723c7dcfe5f563859a180017b56a5ab diff --git a/games-fps/quakeforge/files/quakeforge-0.7.2-gentoo.patch b/games-fps/quakeforge/files/quakeforge-0.7.2-gentoo.patch new file mode 100644 index 000000000000..38fb0c187689 --- /dev/null +++ b/games-fps/quakeforge/files/quakeforge-0.7.2-gentoo.patch @@ -0,0 +1,33 @@ +--- a/nq/source/Makefile.am 2012-11-18 16:57:56.658388682 +0100 ++++ b/nq/source/Makefile.am 2012-11-18 16:58:11.470268607 +0100 +@@ -138,7 +138,7 @@ + nq_x11_SOURCES= sys_unix.c + nq_x11_LDADD= $(nq_x11_libs) \ + $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 \ +- $(X_EXTRA_LIBS) $(X_SHM_LIB) $(NET_LIBS) ++ $(X_EXTRA_LIBS) $(X_SHM_LIB) $(NET_LIBS) -ldl + nq_x11_LDFLAGS= $(common_ldflags) + nq_x11_DEPENDENCIES= $(nq_x11_libs) + +--- a/qw/source/Makefile.am 2012-11-18 17:10:59.148172332 +0100 ++++ b/qw/source/Makefile.am 2012-11-18 17:11:55.866876762 +0100 +@@ -168,7 +168,7 @@ + qw_client_x11_SOURCES= cl_sys_unix.c + qw_client_x11_LDADD= $(qw_client_x11_libs) \ + $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 \ +- $(X_EXTRA_LIBS) $(X_SHM_LIB) $(NET_LIBS) $(LIBCURL_LIBS) ++ $(X_EXTRA_LIBS) $(X_SHM_LIB) $(NET_LIBS) $(LIBCURL_LIBS) -ldl + qw_client_x11_LDFLAGS= $(common_ldflags) + qw_client_x11_DEPENDENCIES= $(qw_client_x11_libs) + +--- a/tools/qwaq/Makefile.am 2012-11-18 17:15:16.024714317 +0100 ++++ b/tools/qwaq/Makefile.am 2012-11-18 17:15:41.955749660 +0100 +@@ -38,7 +38,7 @@ + qwaq_x11_SOURCES=qwaq.c qwaq-bi.c + qwaq_x11_LDADD= $(qwaq_x11_libs) $(QWAQ_LIBS) \ + $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 \ +- $(X_EXTRA_LIBS) $(X_SHM_LIB) ++ $(X_EXTRA_LIBS) $(X_SHM_LIB) -ldl + qwaq_x11_LDFLAGS= + qwaq_x11_DEPENDENCIES= $(qwaq_x11_libs) $(QWAQ_DEPS) + diff --git a/games-fps/quakeforge/metadata.xml b/games-fps/quakeforge/metadata.xml new file mode 100644 index 000000000000..bd3de0628e47 --- /dev/null +++ b/games-fps/quakeforge/metadata.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <longdescription> +QuakeForge is a 3D graphics game engine based on id Software's legendary +Quake and QuakeWorld game engine. Our purpose? To improve the state of +the game by improving the engine and making it accessable to the largest +number of players we can. + +Arguably the single most important issue on the minds of players today +is the rampant cheating which is currently happening on many of the +larger servers. It's a serious problem and it really makes a good game +hard to find. We're working hard to fix these problems at the engine +level. + +But what good is that if you have to have a copy of our client and the +server has to run our server? There are other projects out there and +some of them have very unique qualities. QuakeForge is cooperating with +QSG, a group comprised of representatives from nearly every known Quake +source project to ensure that our clients and servers run with other +clients and servers just fine. We have all agreed to implement any +effective cheat prevention methods. + +Other things we're doing include merging the two code trees, adding +features, and improving the OpenGL renderer. And QuakeForge is still the +most portable source tree based on the id Software code. +</longdescription> + <use> + <flag name="wildmidi">enable libWildMidi support</flag> + <flag name="xdg">enable XDG support</flag> + </use> + <upstream> + <remote-id type="sourceforge">quake</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-fps/quakeforge/quakeforge-0.7.2-r1.ebuild b/games-fps/quakeforge/quakeforge-0.7.2-r1.ebuild new file mode 100644 index 000000000000..37a670a5b276 --- /dev/null +++ b/games-fps/quakeforge/quakeforge-0.7.2-r1.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils flag-o-matic autotools + +DESCRIPTION="New 3d engine based off of id Softwares's Quake and QuakeWorld game engine" +HOMEPAGE="http://www.quakeforge.net/" +SRC_URI="mirror://sourceforge/quake/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa cdinstall debug dga fbcon flac ipv6 ncurses oss png sdl vorbis wildmidi X xdg xv zlib" +RESTRICT="userpriv" + +RDEPEND=" + media-libs/libsamplerate + net-misc/curl + virtual/opengl + alsa? ( media-libs/alsa-lib ) + dga? ( x11-libs/libXxf86dga ) + flac? ( media-libs/flac ) + ncurses? ( sys-libs/ncurses:0 ) + png? ( media-libs/libpng:0 ) + sdl? ( media-libs/libsdl[video] ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + ) + wildmidi? ( media-sound/wildmidi ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXxf86vm + ) + xv? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXxf86vm + ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + cdinstall? ( games-fps/quake1-data ) + >=sys-devel/bison-2.6 + sys-devel/flex + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch +) + +src_prepare() { + default + eautoreconf + append-cflags -std=gnu89 # build with gcc5 (bug #570392) +} + +src_configure() { + local debugopts + use debug \ + && debugopts="--enable-debug --disable-optimize --enable-profile" \ + || debugopts="--disable-debug --disable-profile" + + local clients=${QF_CLIENTS} + use fbcon && clients="${clients},fbdev" + use sdl && clients="${clients},sdl" + use X && clients="${clients},x11" + [ "${clients:0:1}" == "," ] && clients=${clients:1} + + local servers=${QF_SERVERS:-master,nq,qw,qtv} + + local tools=${QF_TOOLS:-all} + + econf \ + --enable-dependency-tracking \ + $(use_enable ncurses curses) \ + $(use_enable vorbis) \ + $(use_enable png) \ + $(use_enable zlib) \ + $(use_with ipv6) \ + $(use_with fbcon fbdev) \ + $(use_with X x) \ + $(use_enable xv vidmode) \ + $(use_enable dga) \ + $(use_enable sdl) \ + --disable-xmms \ + $(use_enable alsa) \ + $(use_enable flac) \ + $(use_enable oss) \ + $(use_enable xdg) \ + $(use_enable wildmidi) \ + --enable-sound \ + --disable-optimize \ + --disable-Werror \ + --without-svga \ + ${debugopts} \ + --with-global-cfg=/etc/quakeforge.conf \ + --with-sharepath=/usr/share/quake1 \ + --with-clients=${clients} \ + --with-servers=${servers} \ + --with-tools=${tools} +} + +src_install() { + emake -j1 DESTDIR="${D}" install + dodoc ChangeLog NEWS TODO +} + +pkg_postinst() { + # same warning used in quake1 / quakeforge / nprquake-sdl + echo + elog "Before you can play, you must make sure" + elog "${PN} can find your Quake .pak files" + elog + elog "You have 2 choices to do this" + elog "1 Copy pak*.pak files to /usr/share/quake1/id1" + elog "2 Symlink pak*.pak files in /usr/share/quake1/id1" + elog + elog "Example:" + elog "my pak*.pak files are in /mnt/secondary/Games/Quake/Id1/" + elog "ln -s /mnt/secondary/Games/Quake/Id1/pak0.pak /usr/share/quake1/id1/pak0.pak" + elog + elog "You only need pak0.pak to play the demo version," + elog "the others are needed for registered version" +} diff --git a/games-fps/quakeforge/quakeforge-0.7.2.ebuild b/games-fps/quakeforge/quakeforge-0.7.2.ebuild new file mode 100644 index 000000000000..383ba93f8e94 --- /dev/null +++ b/games-fps/quakeforge/quakeforge-0.7.2.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic autotools games + +DESCRIPTION="new 3d engine based off of id Softwares's Quake and QuakeWorld game engine" +HOMEPAGE="http://www.quakeforge.net/" +SRC_URI="mirror://sourceforge/quake/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="cdinstall debug fbcon flac sdl X ncurses png vorbis zlib ipv6 xv dga alsa oss xdg wildmidi" +RESTRICT="userpriv" + +RDEPEND=" + media-libs/libsamplerate + net-misc/curl + virtual/opengl + png? ( media-libs/libpng:0 ) + flac? ( media-libs/flac ) + sdl? ( media-libs/libsdl[video] ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXxf86vm + ) + ncurses? ( sys-libs/ncurses:0 ) + vorbis? ( media-libs/libogg media-libs/libvorbis ) + zlib? ( sys-libs/zlib ) + xv? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXxf86vm + ) + dga? ( x11-libs/libXxf86dga ) + alsa? ( media-libs/alsa-lib ) + wildmidi? ( media-sound/wildmidi )" +DEPEND="${RDEPEND} + cdinstall? ( games-fps/quake1-data ) + >=sys-devel/bison-2.6 + sys-devel/flex + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + eautoreconf + append-cflags -std=gnu89 # build with gcc5 (bug #570392) +} + +src_configure() { + local debugopts + use debug \ + && debugopts="--enable-debug --disable-optimize --enable-profile" \ + || debugopts="--disable-debug --disable-profile" + + local clients=${QF_CLIENTS} + use fbcon && clients="${clients},fbdev" + use sdl && clients="${clients},sdl" + use X && clients="${clients},x11" + [ "${clients:0:1}" == "," ] && clients=${clients:1} + + local servers=${QF_SERVERS:-master,nq,qw,qtv} + + local tools=${QF_TOOLS:-all} + + egamesconf \ + --enable-dependency-tracking \ + $(use_enable ncurses curses) \ + $(use_enable vorbis) \ + $(use_enable png) \ + $(use_enable zlib) \ + $(use_with ipv6) \ + $(use_with fbcon fbdev) \ + $(use_with X x) \ + $(use_enable xv vidmode) \ + $(use_enable dga) \ + $(use_enable sdl) \ + --disable-xmms \ + $(use_enable alsa) \ + $(use_enable flac) \ + $(use_enable oss) \ + $(use_enable xdg) \ + $(use_enable wildmidi) \ + --enable-sound \ + --disable-optimize \ + --disable-Werror \ + --without-svga \ + ${debugopts} \ + --with-global-cfg="${GAMES_SYSCONFDIR}"/quakeforge.conf \ + --with-sharepath="${GAMES_DATADIR}"/quake1 \ + --with-clients=${clients} \ + --with-servers=${servers} \ + --with-tools=${tools} +} + +src_install() { + emake -j1 DESTDIR="${D}" install + mv "${D}/${GAMES_PREFIX}"/include "${D}"/usr/ || die + dodoc ChangeLog NEWS TODO + prepgamesdirs +} + +pkg_postinst() { + # same warning used in quake1 / quakeforge / nprquake-sdl + games_pkg_postinst + echo + elog "Before you can play, you must make sure" + elog "${PN} can find your Quake .pak files" + elog + elog "You have 2 choices to do this" + elog "1 Copy pak*.pak files to ${GAMES_DATADIR}/quake1/id1" + elog "2 Symlink pak*.pak files in ${GAMES_DATADIR}/quake1/id1" + elog + elog "Example:" + elog "my pak*.pak files are in /mnt/secondary/Games/Quake/Id1/" + elog "ln -s /mnt/secondary/Games/Quake/Id1/pak0.pak ${GAMES_DATADIR}/quake1/id1/pak0.pak" + elog + elog "You only need pak0.pak to play the demo version," + elog "the others are needed for registered version" +} |