Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 693813 Details for
Bug 716554
games-fps/sauerbraten-9999 live ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
new version ( without games eclass)
sauerbraten-9999-r4.ebuild (text/plain), 3.12 KB, created by
brankob
on 2021-03-26 07:39:01 UTC
(
hide
)
Description:
new version ( without games eclass)
Filename:
MIME Type:
Creator:
brankob
Created:
2021-03-26 07:39:01 UTC
Size:
3.12 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=7 >inherit flag-o-matic gnome2-utils toolchain subversion desktop user > >DESCRIPTION="Open source game engine (Cube 2) with freeware game data (Sauerbraten)" >HOMEPAGE="http://sauerbraten.org/" >ESVN_REPO_URI="https://svn.code.sf.net/p/sauerbraten/code" >MY_LIBDIR="LIBDIR_${ABI}" >LICENSE="ZLIB freedist" >SLOT="0" >KEYWORDS="amd64 x86" >IUSE="debug dedicated server openrc systemd" > >RDEPEND=" > sys-libs/zlib > >=net-libs/enet-1.3.6:1.3 > !dedicated? ( > media-libs/libsdl2[X,opengl] > media-libs/sdl2-mixer[vorbis] > media-libs/sdl2-image[png,jpeg] > virtual/opengl > virtual/glu > x11-libs/libX11 )" >DEPEND="${RDEPEND}" > >src_prepare() { > rm -rf sauerbraten_unix bin_unix src/{include,lib,vcpp} > > # Patch makefile to use system enet instead of bundled > # respect CXXFLAGS, LDFLAGS > # Fix links so they point to the correct directory > sed -i \ > -e 's:docs/::' \ > README.html \ > || die > eapply_user >} > >src_configure() { >: >} >src_compile() { > use debug && append-cppflags -D_DEBUG > emake -C src master $(usex dedicated "server" "$(usex server "server client" "client")") >} > >src_install() { > > if ! use dedicated ; then > # Install the game data > insinto "${EPREFIX}/usr/share/${PN}" > doins -r data packages > > # Install the client executable > exeinto "${EPREFIX}/usr/${!MY_LIBDIR}" > doexe src/sauer_client > # Create menu entry > newicon -s 256 data/cube.png ${PN}.png > make_desktop_entry "${PN}-client" "Cube 2: Sauerbraten" > fi > > # Install the server config files > insinto "${EPREFIX}/var/games/${PN}" > doins "server-init.cfg" > > # Install the server executables > exeinto "${EPREFIX}/usr/${!MY_LIBDIR}" > doexe src/sauer_master > use dedicated || use server && doexe src/sauer_server > > # Install the server init script >if use openrc >then > einfo "using openrc..." > keepdir "${EPREFIX}/var/games/run/${PN}" > cp "${FILESDIR}"/"${PN}".init "${T}" || die > sed -i \ > -e "s:%SYSCONFDIR%:${EPREFIX}/var/games/${PN}:g" \ > -e "s:%LIBEXECDIR%:${EPREFIX}/usr/${!MY_LIBDIR}:g" \ > -e "s:%GAMES_STATEDIR%:${EPREFIX}/var/games/${PN}:g" \ > "${T}"/"${PN}".init || die > newinitd "${T}"/"${PN}".init ${PN} >fi > > cp "${FILESDIR}"/"${PN}".conf "${T}" || die > sed -i \ > -e "s:%SYSCONFDIR%:${EPREFIX}/var/games/${PN}:g" \ > -e "s:%LIBEXECDIR%:${EPREFIX}/usr/${!MY_LIBDIR}:g" \ > -e "s:%GAMES_USER_DED%:games:g" \ > -e "s:%GAMES_GROUP%:games:g" \ > "${T}"/"${PN}".conf || die > > >if use systemd >then > einfo "using systemd..." > mkdir -p ${D}/lib/systemd/system ># systemd_dounit ${FILES}/sauerbraten-{server,master}.service >fi > exeinto ${EPREFIX}/usr/bin > doexe ${FILESDIR}/sauerbraten-{client,server,master} > > newconfd "${T}"/${PN}.conf ${PN} > > nonfatal dodoc src/*.txt docs/dev/*.txt ># nonfatal dohtml -r README.html docs/* > ># prepgamesdirs >} > >pkg_preinst() { ># games_pkg_preinst > enewgroup games > enewuser sauerbraten -1 -1 -1 games > gnome2_icon_savelist >} > >pkg_postinst() { ># games_pkg_postinst > gnome2_icon_cache_update > > elog "If you plan to use map editor feature copy all map data from ${DATADIR}" > elog "to corresponding folder in your HOME/.${PN}" >} > >pkg_postrm() { > gnome2_icon_cache_update >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 716554
:
631082
| 693813