mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-02-21 18:45:51 +01:00
initial import
This commit is contained in:
10
games-fps/darkplaces/Manifest
Normal file
10
games-fps/darkplaces/Manifest
Normal file
@@ -0,0 +1,10 @@
|
||||
DIST darkplacesengine20070412.zip 7553215 RMD160 83cb59e5fc9b50d9b5aeff2daa90ea73a22c8464 SHA1 54fe69e533785e9c0e8652456caebc0ba498decd SHA256 c7955b8e4ecdacf0318c32b6d3084d48d95f07f6b635b6e4f02cce966ae66ebc
|
||||
DIST fuhquake-lits.rar 8388829 RMD160 574937680f7354362088f2ec63d8941f0f4b0981 SHA1 1e9199c8ac7c9162e43c621487b712551711a45e SHA256 066fd58e2a6d157a1aa7925334d7e3e6cffa7f5c556e707bc31da8bfecea873c
|
||||
DIST id1.pk3 350470 RMD160 ac1633c56ca27ae3175e15305ce5d0e829daa43c SHA1 f83c25b74f666665369783b0f08949d480b382a8 SHA256 f1ee6e144d1942ebf91a8c71d0333eac94c73efae35377fbe7ae43e0e4ab37dc
|
||||
EBUILD darkplaces-20070412.ebuild 4995 RMD160 93d977ffbd916444a465663e9cbc5742eaaf275d SHA1 92c41cf6d928c1b764af62a492ceb008c364c3ac SHA256 e53e28499802dfc577ae2cf4063997c7a29d28f078798e444b05ebab0d01f922
|
||||
MD5 1fbda38ae8b9f952232aad3b801eb6da darkplaces-20070412.ebuild 4995
|
||||
RMD160 93d977ffbd916444a465663e9cbc5742eaaf275d darkplaces-20070412.ebuild 4995
|
||||
SHA256 e53e28499802dfc577ae2cf4063997c7a29d28f078798e444b05ebab0d01f922 darkplaces-20070412.ebuild 4995
|
||||
MD5 f4480610e4ff23f99123aa5140c62fe2 files/digest-darkplaces-20070412 705
|
||||
RMD160 9780705f402d66268673006db7a391d8940dd86b files/digest-darkplaces-20070412 705
|
||||
SHA256 c06a73eeafd61bbb02c90c1faad8cb70917fad203b8938fa2ecf5ff4cc12767f files/digest-darkplaces-20070412 705
|
||||
200
games-fps/darkplaces/darkplaces-20070412.ebuild
Normal file
200
games-fps/darkplaces/darkplaces-20070412.ebuild
Normal file
@@ -0,0 +1,200 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils flag-o-matic games
|
||||
|
||||
# Latest versions are in http://icculus.org/twilight/darkplaces/files/
|
||||
MY_PV=${PV/_beta/beta}
|
||||
MY_ENGINE="${PN}engine${MY_PV}.zip"
|
||||
|
||||
# Different Quake 1 engines expect the lights in different directories
|
||||
# http://www.fuhquake.net/download.html and http://www.kgbsyndicate.com/romi/
|
||||
MY_LIGHTS="fuhquake-lits.rar"
|
||||
|
||||
DESCRIPTION="Enhanced engine for iD Software's Quake 1"
|
||||
HOMEPAGE="http://icculus.org/twilight/darkplaces/"
|
||||
SRC_URI="http://icculus.org/twilight/${PN}/files/${MY_ENGINE}
|
||||
lights? (
|
||||
http://www.fuhquake.net/files/extras/${MY_LIGHTS}
|
||||
http://www.kgbsyndicate.com/romi/id1.pk3 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="alsa cdinstall cdsound debug dedicated demo doe lights opengl oss sdl skins soa textures"
|
||||
|
||||
UIRDEPEND="media-libs/jpeg
|
||||
media-libs/libogg
|
||||
media-libs/libvorbis
|
||||
virtual/opengl
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
sdl? ( media-libs/libsdl )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXxf86dga
|
||||
x11-libs/libXxf86vm"
|
||||
UIDEPEND="x11-proto/xextproto
|
||||
x11-proto/xf86dgaproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
x11-proto/xproto"
|
||||
RDEPEND="net-misc/curl
|
||||
cdinstall? ( games-fps/quake1-data )
|
||||
demo? ( games-fps/quake1-demodata )
|
||||
doe? ( games-fps/quake1-doe )
|
||||
skins? ( games-fps/quake1-skins )
|
||||
soa? ( games-fps/quake1-soa )
|
||||
textures? ( >=games-fps/quake1-textures-20050820 )
|
||||
opengl? ( ${UIRDEPEND} )
|
||||
!opengl? ( sdl? ( ${UIRDEPEND} ) )
|
||||
!opengl? ( !sdl? ( !dedicated? ( ${UIRDEPEND} ) ) )"
|
||||
DEPEND="lights? ( || (
|
||||
app-arch/unrar
|
||||
app-arch/rar ) )
|
||||
opengl? (
|
||||
${UIRDEPEND}
|
||||
${UIDEPEND} )
|
||||
!opengl? ( sdl? (
|
||||
${UIRDEPEND}
|
||||
${UIDEPEND} ) )
|
||||
!opengl? ( !sdl? ( !dedicated? (
|
||||
${UIRDEPEND}
|
||||
${UIDEPEND} ) ) )
|
||||
dev-util/pkgconfig
|
||||
app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
dir=${GAMES_DATADIR}/quake1
|
||||
|
||||
opengl_client() {
|
||||
if use opengl || ( ! use dedicated && ! use sdl ) ; then
|
||||
# Build OpenGL client
|
||||
return 0
|
||||
fi
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
games_pkg_setup
|
||||
|
||||
if opengl_client && ! use opengl ; then
|
||||
ewarn "Defaulting to OpenGL client"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use lights ; then
|
||||
unpack "${MY_LIGHTS}"
|
||||
unzip -qo "${DISTDIR}"/id1.pk3 || die "unzip id1.pk3 failed"
|
||||
mv *.lit maps/ || die
|
||||
mv ReadMe.txt rtlights.txt
|
||||
fi
|
||||
unpack "${MY_ENGINE}"
|
||||
|
||||
unpack ./${PN}*.zip
|
||||
rm README-SDL.txt
|
||||
cd "${S}"
|
||||
rm mingw_note.txt
|
||||
|
||||
# Only additional CFLAGS optimization is the -march flag
|
||||
local march=$(get-flag -march)
|
||||
sed -i \
|
||||
-e '/^CC=/d' \
|
||||
-e "s:-lasound:$(pkg-config --libs alsa):" \
|
||||
-e "s:CPUOPTIMIZATIONS=:CPUOPTIMIZATIONS=${march}:" \
|
||||
-e "s:strip:#strip:" \
|
||||
makefile.inc || die "sed makefile.inc failed"
|
||||
|
||||
if ! use cdsound ; then
|
||||
# Turn the CD accesses off
|
||||
sed -i \
|
||||
-e "s:/dev/cdrom:/dev/null:" \
|
||||
cd_linux.c || die "sed cd_linux.c failed"
|
||||
sed -i \
|
||||
-e 's:COM_CheckParm("-nocdaudio"):1:' \
|
||||
cd_shared.c || die "sed cd_shared.c failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local opts="DP_FS_BASEDIR=\"${dir}\""
|
||||
|
||||
# Preferred sound is alsa
|
||||
local sound_api="NULL"
|
||||
use oss && sound_api="OSS"
|
||||
use alsa && sound_api="ALSA"
|
||||
opts="${opts} DP_SOUND_API=${sound_api}"
|
||||
|
||||
local type="release"
|
||||
use debug && type="debug"
|
||||
|
||||
# Only compile a maximum of 1 client
|
||||
if use sdl ; then
|
||||
emake ${opts} "sdl-${type}" || die "emake sdl-${type} failed"
|
||||
elif opengl_client ; then
|
||||
emake ${opts} "cl-${type}" || die "emake cl-${type} failed"
|
||||
fi
|
||||
|
||||
if use dedicated ; then
|
||||
emake ${opts} "sv-${type}" || die "emake sv-${type} failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if opengl_client || use sdl ; then
|
||||
local type="glx"
|
||||
use sdl && type="sdl"
|
||||
|
||||
# darkplaces executable is needed, even just for demo
|
||||
newgamesbin "${PN}-${type}" ${PN} || die "newgamesbin client failed"
|
||||
newicon darkplaces72x72.png ${PN}.png || die "newicon failed"
|
||||
|
||||
if use demo ; then
|
||||
# Install command-line for demo, even if not desktop entry
|
||||
games_make_wrapper ${PN}-demo "${PN} -game demo"
|
||||
fi
|
||||
|
||||
if use demo && ! use cdinstall ; then
|
||||
make_desktop_entry ${PN}-demo "Dark Places (Demo)"
|
||||
else
|
||||
# Full version takes precedence over demo
|
||||
make_desktop_entry ${PN} "Dark Places"
|
||||
fi
|
||||
# The wrapper & desktop entry for doe & soe are in their own ebuilds
|
||||
fi
|
||||
|
||||
if use dedicated ; then
|
||||
newgamesbin ${PN}-dedicated ${PN}-ded || die "newgamesbin ded failed"
|
||||
fi
|
||||
|
||||
dodoc *.txt ChangeLog todo "${WORKDIR}"/*.txt
|
||||
|
||||
if use lights ; then
|
||||
insinto "${dir}"/id1
|
||||
doins -r "${WORKDIR}"/{cubemaps,maps} \
|
||||
|| die "doins cubemaps maps failed"
|
||||
if use demo ; then
|
||||
# Set up symlinks, for the demo levels to include the lights
|
||||
local d
|
||||
for d in cubemaps maps ; do
|
||||
dosym "${dir}/id1/${d}" "${dir}/demo/${d}" || die
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
|
||||
if ! use cdinstall && ! use demo ; then
|
||||
elog "Place pak0.pak and pak1.pak in ${dir}/id1"
|
||||
fi
|
||||
|
||||
if use sdl ; then
|
||||
ewarn "Select opengl with alsa, instead of sdl USE flag, for better audio latency."
|
||||
fi
|
||||
}
|
||||
9
games-fps/darkplaces/files/digest-darkplaces-20070412
Normal file
9
games-fps/darkplaces/files/digest-darkplaces-20070412
Normal file
@@ -0,0 +1,9 @@
|
||||
MD5 4916a8e9c5b027872e9b76a2b62ec3b7 darkplacesengine20070412.zip 7553215
|
||||
RMD160 83cb59e5fc9b50d9b5aeff2daa90ea73a22c8464 darkplacesengine20070412.zip 7553215
|
||||
SHA256 c7955b8e4ecdacf0318c32b6d3084d48d95f07f6b635b6e4f02cce966ae66ebc darkplacesengine20070412.zip 7553215
|
||||
MD5 9e345bee7f331652c2e926e705d25b19 fuhquake-lits.rar 8388829
|
||||
RMD160 574937680f7354362088f2ec63d8941f0f4b0981 fuhquake-lits.rar 8388829
|
||||
SHA256 066fd58e2a6d157a1aa7925334d7e3e6cffa7f5c556e707bc31da8bfecea873c fuhquake-lits.rar 8388829
|
||||
MD5 b3121016aef3532703a5465dd9960808 id1.pk3 350470
|
||||
RMD160 ac1633c56ca27ae3175e15305ce5d0e829daa43c id1.pk3 350470
|
||||
SHA256 f1ee6e144d1942ebf91a8c71d0333eac94c73efae35377fbe7ae43e0e4ab37dc id1.pk3 350470
|
||||
4
games-fps/tyrquake/Manifest
Normal file
4
games-fps/tyrquake/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
DIST tyrquake-0.56.tar.gz 1215830 RMD160 0f61e2b908a3fc4f5f4886780547d2a2798e2b91 SHA1 709fb5d3922cb7dc47fe202ad71fd8fa5bbf57f7 SHA256 74c929b4031581201cc6b7751e67a0b0f02744028b56b3d0f67b7e992ab77b7b
|
||||
DIST tyrquake-0.61.tar.gz 1188917 RMD160 005363c07abb3e071f3352517ac549a5ae3aa8fa SHA1 b9c9ec45b339759f1e6bf884a6bed516ad1f8939 SHA256 1a51a5bbcb7dcf296c46e1dc9108fd74c4969b9b6ac3c5b1f33ff967fba3f843
|
||||
EBUILD tyrquake-0.56.ebuild 1206 RMD160 be7e3bb572b532f684f4b78dcdbdca7be4edbcb3 SHA1 8eef5ff32d1841058acedaf41449c56745b0871a SHA256 d97fa96f2b3b2d002f3a3909ca782719d42fa975d64a530e657e9affbd55513f
|
||||
EBUILD tyrquake-0.61.ebuild 1206 RMD160 be7e3bb572b532f684f4b78dcdbdca7be4edbcb3 SHA1 8eef5ff32d1841058acedaf41449c56745b0871a SHA256 d97fa96f2b3b2d002f3a3909ca782719d42fa975d64a530e657e9affbd55513f
|
||||
3
games-fps/tyrquake/files/digest-tyrquake-0.56
Normal file
3
games-fps/tyrquake/files/digest-tyrquake-0.56
Normal file
@@ -0,0 +1,3 @@
|
||||
MD5 12f47030dc6a9f6e01b9913f22a7bebd tyrquake-0.56.tar.gz 1215830
|
||||
RMD160 0f61e2b908a3fc4f5f4886780547d2a2798e2b91 tyrquake-0.56.tar.gz 1215830
|
||||
SHA256 74c929b4031581201cc6b7751e67a0b0f02744028b56b3d0f67b7e992ab77b7b tyrquake-0.56.tar.gz 1215830
|
||||
60
games-fps/tyrquake/tyrquake-0.56.ebuild
Normal file
60
games-fps/tyrquake/tyrquake-0.56.ebuild
Normal file
@@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils games
|
||||
|
||||
DESCRIPTION="Conservative Quake 1 engine and QuakeWorld client"
|
||||
HOMEPAGE="http://disenchant.net/engine.html"
|
||||
SRC_URI="http://disenchant.net/files/engine/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86"
|
||||
|
||||
S=${WORKDIR}/${P}
|
||||
dir=${GAMES_DATADIR}/quake1
|
||||
|
||||
# These dependencies have not been checked
|
||||
COMMON="media-libs/alsa-lib
|
||||
media-libs/jpeg
|
||||
media-libs/libogg
|
||||
media-libs/libpng
|
||||
media-libs/libvorbis
|
||||
net-libs/gnutls
|
||||
virtual/opengl
|
||||
media-libs/libsdl
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXxf86vm"
|
||||
DEPEND="${COMMON}
|
||||
dev-util/pkgconfig
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86dgaproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
x11-proto/xproto"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
echo "${S}"
|
||||
cd "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# local apps
|
||||
# use dedicated && apps="${apps} tyr-qwsv"
|
||||
# use X && apps="${apps} tyr-quake tyr-qwcl"
|
||||
# if use opengl || [[ -z "${apps}" ]] ; then
|
||||
# apps="${apps} tyr-glquake tyr-glqwcl"
|
||||
# fi
|
||||
|
||||
emake QBASEDIR="${dir}" || die "emake ${apps} failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin tyr-* || die "dogamesbin failed"
|
||||
|
||||
dodoc readme.txt
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
60
games-fps/tyrquake/tyrquake-0.61.ebuild
Normal file
60
games-fps/tyrquake/tyrquake-0.61.ebuild
Normal file
@@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils games
|
||||
|
||||
DESCRIPTION="Conservative Quake 1 engine and QuakeWorld client"
|
||||
HOMEPAGE="http://disenchant.net/engine.html"
|
||||
SRC_URI="http://disenchant.net/files/engine/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86"
|
||||
|
||||
S=${WORKDIR}/${P}
|
||||
dir=${GAMES_DATADIR}/quake1
|
||||
|
||||
# These dependencies have not been checked
|
||||
COMMON="media-libs/alsa-lib
|
||||
media-libs/jpeg
|
||||
media-libs/libogg
|
||||
media-libs/libpng
|
||||
media-libs/libvorbis
|
||||
net-libs/gnutls
|
||||
virtual/opengl
|
||||
media-libs/libsdl
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXxf86vm"
|
||||
DEPEND="${COMMON}
|
||||
dev-util/pkgconfig
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86dgaproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
x11-proto/xproto"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
echo "${S}"
|
||||
cd "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# local apps
|
||||
# use dedicated && apps="${apps} tyr-qwsv"
|
||||
# use X && apps="${apps} tyr-quake tyr-qwcl"
|
||||
# if use opengl || [[ -z "${apps}" ]] ; then
|
||||
# apps="${apps} tyr-glquake tyr-glqwcl"
|
||||
# fi
|
||||
|
||||
emake QBASEDIR="${dir}" || die "emake ${apps} failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin tyr-* || die "dogamesbin failed"
|
||||
|
||||
dodoc readme.txt
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
Reference in New Issue
Block a user