From 11e55bf346892d6f855ebd78b595afb2ed13492e Mon Sep 17 00:00:00 2001 From: "Nils \"holgersson\" Freydank" Date: Sat, 10 Jun 2017 09:47:01 +0200 Subject: [PATCH] games-fps/urbanterror{,-data}: Drop packages. --- games-fps/urbanterror-data/Manifest | 4 - games-fps/urbanterror-data/metadata.xml | 16 -- .../urbanterror-data-4.3.2.ebuild | 63 -------- games-fps/urbanterror/Manifest | 1 - ...error-4.3.2_p20170426-respect_CFLAGS.patch | 53 ------ .../urbanterror-9999-respect_CFLAGS.patch | 53 ------ games-fps/urbanterror/metadata.xml | 27 ---- .../urbanterror-4.3.2_p20170426.ebuild | 152 ------------------ games-fps/urbanterror/urbanterror-9999.ebuild | 152 ------------------ profiles/package.mask | 6 - 10 files changed, 527 deletions(-) delete mode 100644 games-fps/urbanterror-data/Manifest delete mode 100644 games-fps/urbanterror-data/metadata.xml delete mode 100644 games-fps/urbanterror-data/urbanterror-data-4.3.2.ebuild delete mode 100644 games-fps/urbanterror/Manifest delete mode 100644 games-fps/urbanterror/files/urbanterror-4.3.2_p20170426-respect_CFLAGS.patch delete mode 100644 games-fps/urbanterror/files/urbanterror-9999-respect_CFLAGS.patch delete mode 100644 games-fps/urbanterror/metadata.xml delete mode 100644 games-fps/urbanterror/urbanterror-4.3.2_p20170426.ebuild delete mode 100644 games-fps/urbanterror/urbanterror-9999.ebuild delete mode 100644 profiles/package.mask diff --git a/games-fps/urbanterror-data/Manifest b/games-fps/urbanterror-data/Manifest deleted file mode 100644 index 66c107a..0000000 --- a/games-fps/urbanterror-data/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST urbanterror-data-4.3.0-to-4.3.1.zip 7495315 SHA256 943fbae28a32f8f7a15eba62eadad646f4640d8d1814e3fb14fac0c50bb513e0 SHA512 f05564babadff73793778926411bc7914bfef4a5f7dfc1003c36e8a549c568ab520adcff8a38e7dd905238738d242aa865e7c6d7db36ed6d592b144e497ed823 WHIRLPOOL b262f51ca35455c013ae5f61e87d5c13a1ac9c5f98eba588398f8ad1db02a9aa505531a08d680770822d57c9df244a532be3ee2cc2dfb224afa8119d5eb5ec45 -DIST urbanterror-data-4.3.1-to-4.3.2.zip 15305498 SHA256 519d212c8766470c2970c75f19e99477a8c2546ca4de78bc28dedce8d2fcabb5 SHA512 cb24939fffef9310c6ca8496d0d4f3be8656685e749ff1d6589fd193990be67ac70494b61ef6a12dd1f6995a78d451b9f09098e03970e82e1e3153ec3f89792c WHIRLPOOL d58d949075a9228d832a67507c30942133a2024c131c0127a263ab1b5a5550576f361565ab8df6ef8b8f3e5f898496fa84b0d845cc47d22f491a04bf88b2623d -DIST urbanterror-data-4.3.2.zip 1491207564 SHA256 60360806aea9bd383d8a95b8586fe8d8690626b130e907f8727845fd192531bc SHA512 397aa5ba7f869049844d52a9dec234d020b856e16ba3ff295d97775e4e1d48730aecfba3992baf7d55c643c0073ceda32ada18d1473dadd55f561f27a8b9c4ed WHIRLPOOL 52782d0d6668589c5353a7e73ae6dd4ec02a02361532c36889a4b5f3c53d740bece8d9f421c6faeb9c720e6b68dbbccf1758cb39f7b82239a6517c7b0451c4a2 -DIST urbanterror-data.svg 1592 SHA256 0d7eb12a8fe8380e0d89199621414dd56ecdfe8a8b99eec5b95d925294521de9 SHA512 ff789b35d9b1a2282485495b0d1918c7169906aeac094e7a33c7d77cd51d4787733400e1b9851ce19b38e886508d5fdd09f6cfc96b37a5b41bd0cf403e456b98 WHIRLPOOL 281413cfeb881466c2d8b882d0aa4dcf19013630a462775345c69e78a0cb86c7efed14f5d22b453c89648da682ab5e98e3579a1c975994a8e90b9fb22c37892c diff --git a/games-fps/urbanterror-data/metadata.xml b/games-fps/urbanterror-data/metadata.xml deleted file mode 100644 index 135c067..0000000 --- a/games-fps/urbanterror-data/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - holgersson@posteo.de - holgersson - - - games@gentoo.org - Gentoo Games Project - - - proxy-maint@gentoo.org - Proxy Maintainers - - diff --git a/games-fps/urbanterror-data/urbanterror-data-4.3.2.ebuild b/games-fps/urbanterror-data/urbanterror-data-4.3.2.ebuild deleted file mode 100644 index ba2c818..0000000 --- a/games-fps/urbanterror-data/urbanterror-data-4.3.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit check-reqs eutils - -ENGINE_PV=${PV} - -MY_PN=UrbanTerror -MY_PV=43_full - -DESCRIPTION="Data files for UrbanTerror" -HOMEPAGE="http://www.urbanterror.info/home/" -SRC_URI="https://up.barbatos.fr/urt/${MY_PN}${MY_PV}.zip -> ${P}.zip - https://upload.wikimedia.org/wikipedia/commons/5/56/Urbanterror.svg -> ${PN}.svg" - -# fetch updates recursively for |4.3.x-4.3.0| -if [[ "${PV}" != "4.3.0" ]]; then - MY_CTR=0 - while [[ "${MY_CTR}" -lt "${PV/4.3./}" ]]; do - SRC_URI="${SRC_URI} https://up.barbatos.fr/urt/${MY_PN}-4.3.${MY_CTR}-to-4.3.$(( ${MY_CTR} + 1 )).zip -> ${PN}-4.3.${MY_CTR}-to-4.3.$(( ${MY_CTR} + 1 )).zip" - MY_CTR=$(( ${MY_CTR} + 1 )) - done -fi -unset MY_CTR - -LICENSE="Q3AEULA-20000111 urbanterror-4.2-maps" -SLOT="0" -KEYWORDS="~amd64 ~x86" -DEPEND="app-arch/unzip" - -S="${WORKDIR}/${MY_PN}43" - -CHECKREQS_DISK_BUILD="3300M" -CHECKREQS_DISK_USR="1400M" - -src_prepare() { - default - local MY_CTR - # apply updates we fetched before - # again recursively for |4.3.x - 4.3.0| - if [[ "${PV}" != "4.3.0" ]]; then - MY_CTR=0 - while [[ "${MY_CTR}" -lt "${PV/4.3./}" ]]; do - cp -dfpr \ - "${WORKDIR}"/${MY_PN}-4.3.${MY_CTR}-to-4.3.$(( ${MY_CTR} + 1 ))/* "${S}" - MY_CTR=$(( ${MY_CTR} + 1 )) - done - fi -} - -src_install() { - newicon -s scalable "${DISTDIR}"/${PN}.svg urbanterror.svg - insinto /usr/share/urbanterror/q3ut4 - doins q3ut4/*.pk3 - # These files are *essential* for startup - newins q3ut4/server_example.cfg server.cfg - newins q3ut4/autoexec_example.cfg autoexec.cfg - - dodoc q3ut4/readme43.txt - docinto examples - dodoc q3ut4/{server_example.cfg,mapcycle_example.txt} -} diff --git a/games-fps/urbanterror/Manifest b/games-fps/urbanterror/Manifest deleted file mode 100644 index 6264ada..0000000 --- a/games-fps/urbanterror/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST urbanterror-4.3.2_p20170426.tar.gz 10058308 SHA256 8009516332e1f77eae3681b436e099fdd42ffa55d2691694eedc0ca94b194878 SHA512 e8107ab44fdb40bc14a548239185905a01120bbe960b8713e5959df18330fd845761350c5e8e5efd5fbfec10ad62ff9fef68420406cc4cfbe2af69ee66eff1f3 WHIRLPOOL 6aac15e44b0695501195ae172133f4b6788b9dffa5442af20d11626ad27ffd597c7f070c0fb95b0e0e8b8b3d6cf0e1bfc40b0a16abaa27c8f932ee90f19a1824 diff --git a/games-fps/urbanterror/files/urbanterror-4.3.2_p20170426-respect_CFLAGS.patch b/games-fps/urbanterror/files/urbanterror-4.3.2_p20170426-respect_CFLAGS.patch deleted file mode 100644 index 5ce1334..0000000 --- a/games-fps/urbanterror/files/urbanterror-4.3.2_p20170426-respect_CFLAGS.patch +++ /dev/null @@ -1,53 +0,0 @@ -Author: holgersson -Date: Fri Mar 31 12:13:00 2017 +0200 - -Respect CFLAGS - inspired by hasufell’s patch - ---- a/Makefile 2017-03-31 11:08:58.419210817 +0200 -+++ b/Makefile 2017-03-31 12:06:52.559412054 +0200 -@@ -290,34 +290,33 @@ - CLIENT_EXTRA_FILES= - - ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu" "gnu")) -- BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \ -- -pipe -DUSE_ICON -DARCH_STRING=\\\"$(ARCH)\\\" -+ BASE_CFLAGS = -DUSE_ICON -DARCH_STRING=\\\"$(ARCH)\\\" - CLIENT_CFLAGS += $(SDL_CFLAGS) - -- OPTIMIZEVM = -O3 -- OPTIMIZE = $(OPTIMIZEVM) -ffast-math -+ OPTIMIZEVM = -+ OPTIMIZE = $(OPTIMIZEVM) - - ifeq ($(ARCH),x86_64) -- OPTIMIZEVM = -O3 -- OPTIMIZE = $(OPTIMIZEVM) -ffast-math -+ OPTIMIZEVM = -+ OPTIMIZE = $(OPTIMIZEVM) - HAVE_VM_COMPILED = true - else - ifeq ($(ARCH),x86) -- OPTIMIZEVM = -O3 -march=i586 -- OPTIMIZE = $(OPTIMIZEVM) -ffast-math -+ OPTIMIZEVM = -+ OPTIMIZE = $(OPTIMIZEVM) - HAVE_VM_COMPILED=true - else - ifeq ($(ARCH),ppc) -- BASE_CFLAGS += -maltivec -+ BASE_CFLAGS += - HAVE_VM_COMPILED=true - endif - ifeq ($(ARCH),ppc64) -- BASE_CFLAGS += -maltivec -+ BASE_CFLAGS += - HAVE_VM_COMPILED=true - endif - ifeq ($(ARCH),sparc) -- OPTIMIZE += -mtune=ultrasparc3 -mv8plus -- OPTIMIZEVM += -mtune=ultrasparc3 -mv8plus -+ OPTIMIZE += -+ OPTIMIZEVM += - HAVE_VM_COMPILED=true - endif - ifeq ($(ARCH),armv7l) diff --git a/games-fps/urbanterror/files/urbanterror-9999-respect_CFLAGS.patch b/games-fps/urbanterror/files/urbanterror-9999-respect_CFLAGS.patch deleted file mode 100644 index 5ce1334..0000000 --- a/games-fps/urbanterror/files/urbanterror-9999-respect_CFLAGS.patch +++ /dev/null @@ -1,53 +0,0 @@ -Author: holgersson -Date: Fri Mar 31 12:13:00 2017 +0200 - -Respect CFLAGS - inspired by hasufell’s patch - ---- a/Makefile 2017-03-31 11:08:58.419210817 +0200 -+++ b/Makefile 2017-03-31 12:06:52.559412054 +0200 -@@ -290,34 +290,33 @@ - CLIENT_EXTRA_FILES= - - ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu" "gnu")) -- BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \ -- -pipe -DUSE_ICON -DARCH_STRING=\\\"$(ARCH)\\\" -+ BASE_CFLAGS = -DUSE_ICON -DARCH_STRING=\\\"$(ARCH)\\\" - CLIENT_CFLAGS += $(SDL_CFLAGS) - -- OPTIMIZEVM = -O3 -- OPTIMIZE = $(OPTIMIZEVM) -ffast-math -+ OPTIMIZEVM = -+ OPTIMIZE = $(OPTIMIZEVM) - - ifeq ($(ARCH),x86_64) -- OPTIMIZEVM = -O3 -- OPTIMIZE = $(OPTIMIZEVM) -ffast-math -+ OPTIMIZEVM = -+ OPTIMIZE = $(OPTIMIZEVM) - HAVE_VM_COMPILED = true - else - ifeq ($(ARCH),x86) -- OPTIMIZEVM = -O3 -march=i586 -- OPTIMIZE = $(OPTIMIZEVM) -ffast-math -+ OPTIMIZEVM = -+ OPTIMIZE = $(OPTIMIZEVM) - HAVE_VM_COMPILED=true - else - ifeq ($(ARCH),ppc) -- BASE_CFLAGS += -maltivec -+ BASE_CFLAGS += - HAVE_VM_COMPILED=true - endif - ifeq ($(ARCH),ppc64) -- BASE_CFLAGS += -maltivec -+ BASE_CFLAGS += - HAVE_VM_COMPILED=true - endif - ifeq ($(ARCH),sparc) -- OPTIMIZE += -mtune=ultrasparc3 -mv8plus -- OPTIMIZEVM += -mtune=ultrasparc3 -mv8plus -+ OPTIMIZE += -+ OPTIMIZEVM += - HAVE_VM_COMPILED=true - endif - ifeq ($(ARCH),armv7l) diff --git a/games-fps/urbanterror/metadata.xml b/games-fps/urbanterror/metadata.xml deleted file mode 100644 index 5fbae23..0000000 --- a/games-fps/urbanterror/metadata.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - holgersson@posteo.de - holgersson - - - games@gentoo.org - Gentoo Games Project - - - proxy-maint@gentoo.org - Proxy Maintainers - - - Alternative way for gamma setting with modesetting driver - Build binary for client (includes code for non-dedicated server) - Use opus as sound codec - Use Mumble for ingame VoIP (experimental) - Use ioq3 ingame VoIP (experimental) - Build binary for dedicated server - - - Barbatos/ioq3-for-UrbanTerror-4 - - diff --git a/games-fps/urbanterror/urbanterror-4.3.2_p20170426.ebuild b/games-fps/urbanterror/urbanterror-4.3.2_p20170426.ebuild deleted file mode 100644 index e641ddc..0000000 --- a/games-fps/urbanterror/urbanterror-4.3.2_p20170426.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit flag-o-matic gnome2-utils - -DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine" -HOMEPAGE="http://urbanterror.info" - -if [[ ${PV} == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mickael9/ioq3.git" - EGIT_BRANCH="urt" - KEYWORDS="" - -else - COMMIT_ID="60b17a27ecaa30bffc44114cb94df82af7febfdd" - SRC_URI="https://github.com/mickael9/ioq3/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/ioq3-${COMMIT_ID}" - KEYWORDS="~x86 ~amd64" - -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="+altgamma +client +curl debug mumble openal +opus server voip vorbis" -REQUIRED_USE=" || ( client server )" - -PATCHES=( "${FILESDIR}"/${P}-respect_CFLAGS.patch ) - -RDEPEND=" - client? ( - media-libs/libsdl2[X,sound,joystick,opengl,video] - mumble? ( media-sound/mumble ) - openal? ( media-libs/openal ) - opus? ( media-libs/opusfile ) - - vorbis? ( media-libs/libogg - media-libs/libvorbis ) - ) - curl? ( net-misc/curl ) - ~games-fps/urbanterror-data-4.3.2 - sys-libs/zlib[minizip] - virtual/jpeg:0" - -DEPEND="${RDEPEND}" - -pkg_pretend() { - if use client; then - if ! use openal && ! use opus && ! use vorbis; then - ewarn - ewarn "No sound implementation selected. Enable 'openal', 'opus' or 'vorbis' USE flag to get sound!" - fi - fi -} - -src_compile() { - buildit() { use $1 && echo 1 || echo 0 ; } - nobuildit() { use $1 && echo 0 || echo 1 ; } - # Workaround for used zlib macro, wrt bug #44951 - append-flags "-DOF=_Z_OF" - emake \ - ARCH=$(usex amd64 "x86_64" "i386") \ - DEFAULT_BASEDIR="/usr/share/urbanterror" \ - BUILD_CLIENT=$(buildit client) \ - BUILD_SERVER=$(buildit server) \ - BUILD_BASEGAME=1 \ - BUILD_MISSIONPACK=0 \ - BUILD_GAME_SO=0 \ - BUILD_GAME_QVM=0 \ - BUILD_STANDALONE=1 \ - SERVERBIN="Quake3-UrT-Ded" \ - CLIENTBIN="Quake3-UrT" \ - USE_RENDERER_DLOPEN=0 \ - USE_YACC=0 \ - BASEGAME="q3ut4"\ - BASEGAME_CFLAGS="${CFLAGS}" \ - USE_OPENAL=$(buildit openal) \ - USE_OPENAL_DLOPEN=$(buildit openal) \ - USE_CURL=$(buildit curl) \ - USE_CURL_DLOPEN=$(buildit curl) \ - USE_CODEC_VORBIS=$(buildit vorbis) \ - USE_CODEC_OPUS=$(buildit opus) \ - USE_MUMBLE=$(buildit mumble) \ - USE_VOIP=$(buildit voip) \ - USE_INTERNAL_LIBS=0 \ - USE_LOCAL_HEADERS=0 \ - USE_ALTGAMMA=$(buildit altgamma) -} - -src_install() { - local my_arch=$(usex amd64 "x86_64" "i386") - - # docs from ioq3, not from UrbanTerror ZIP file - dodoc ChangeLog README.md README.ioq3.md md4-readme.txt - - if use client; then - newbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT.${my_arch} ${PN} - # Shooter as defined in https://specifications.freedesktop.org/menu-spec/latest/apas02.html - make_desktop_entry ${PN} "UrbanTerror" ${PN} - fi - - if use server && ! use client; then - # dedicated server only - newbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT-Ded.${my_arch} ${PN}-ded - fi -} - -pkg_preinst() { - use client && gnome2_icon_savelist -} - -pkg_postinst() { - use client && gnome2_icon_cache_update - - if [[ -z "${REPLACING_VERSIONS}" ]]; then - # This is a new installation - if use openal; then - elog - elog "" - elog "You might need to set:" - elog " seta s_useopenal \"1\"" - elog "in your ~/.q3a/q3ut4/q3config.cfg for openal to work." - fi - if use altgamma; then - elog - elog "" - elog "You might need to set:" - elog " seta r_altgamma \"1\"" - elog "in your ~/.q3a/q3ut4/q3config.cfg for altgamma to work." - fi - - if ! use altgamma; then - elog - elog "" - elog "If you are using a modesetting graphics driver you might" - elog "consider setting USE=\"altgamma\"." - elog "For details take a look on:" - elog "https://bugs.freedesktop.org/show_bug.cgi?id=27222" - fi - if ! use client; then - elog - elog "You disabled client support. You won't be able to connect" - elog "to any servers and play. If you want to do so, enable" - elog "USE=\"client\"." - fi - fi -} - -pkg_postrm() { - use client && gnome2_icon_cache_update -} diff --git a/games-fps/urbanterror/urbanterror-9999.ebuild b/games-fps/urbanterror/urbanterror-9999.ebuild deleted file mode 100644 index e641ddc..0000000 --- a/games-fps/urbanterror/urbanterror-9999.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit flag-o-matic gnome2-utils - -DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine" -HOMEPAGE="http://urbanterror.info" - -if [[ ${PV} == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mickael9/ioq3.git" - EGIT_BRANCH="urt" - KEYWORDS="" - -else - COMMIT_ID="60b17a27ecaa30bffc44114cb94df82af7febfdd" - SRC_URI="https://github.com/mickael9/ioq3/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/ioq3-${COMMIT_ID}" - KEYWORDS="~x86 ~amd64" - -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="+altgamma +client +curl debug mumble openal +opus server voip vorbis" -REQUIRED_USE=" || ( client server )" - -PATCHES=( "${FILESDIR}"/${P}-respect_CFLAGS.patch ) - -RDEPEND=" - client? ( - media-libs/libsdl2[X,sound,joystick,opengl,video] - mumble? ( media-sound/mumble ) - openal? ( media-libs/openal ) - opus? ( media-libs/opusfile ) - - vorbis? ( media-libs/libogg - media-libs/libvorbis ) - ) - curl? ( net-misc/curl ) - ~games-fps/urbanterror-data-4.3.2 - sys-libs/zlib[minizip] - virtual/jpeg:0" - -DEPEND="${RDEPEND}" - -pkg_pretend() { - if use client; then - if ! use openal && ! use opus && ! use vorbis; then - ewarn - ewarn "No sound implementation selected. Enable 'openal', 'opus' or 'vorbis' USE flag to get sound!" - fi - fi -} - -src_compile() { - buildit() { use $1 && echo 1 || echo 0 ; } - nobuildit() { use $1 && echo 0 || echo 1 ; } - # Workaround for used zlib macro, wrt bug #44951 - append-flags "-DOF=_Z_OF" - emake \ - ARCH=$(usex amd64 "x86_64" "i386") \ - DEFAULT_BASEDIR="/usr/share/urbanterror" \ - BUILD_CLIENT=$(buildit client) \ - BUILD_SERVER=$(buildit server) \ - BUILD_BASEGAME=1 \ - BUILD_MISSIONPACK=0 \ - BUILD_GAME_SO=0 \ - BUILD_GAME_QVM=0 \ - BUILD_STANDALONE=1 \ - SERVERBIN="Quake3-UrT-Ded" \ - CLIENTBIN="Quake3-UrT" \ - USE_RENDERER_DLOPEN=0 \ - USE_YACC=0 \ - BASEGAME="q3ut4"\ - BASEGAME_CFLAGS="${CFLAGS}" \ - USE_OPENAL=$(buildit openal) \ - USE_OPENAL_DLOPEN=$(buildit openal) \ - USE_CURL=$(buildit curl) \ - USE_CURL_DLOPEN=$(buildit curl) \ - USE_CODEC_VORBIS=$(buildit vorbis) \ - USE_CODEC_OPUS=$(buildit opus) \ - USE_MUMBLE=$(buildit mumble) \ - USE_VOIP=$(buildit voip) \ - USE_INTERNAL_LIBS=0 \ - USE_LOCAL_HEADERS=0 \ - USE_ALTGAMMA=$(buildit altgamma) -} - -src_install() { - local my_arch=$(usex amd64 "x86_64" "i386") - - # docs from ioq3, not from UrbanTerror ZIP file - dodoc ChangeLog README.md README.ioq3.md md4-readme.txt - - if use client; then - newbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT.${my_arch} ${PN} - # Shooter as defined in https://specifications.freedesktop.org/menu-spec/latest/apas02.html - make_desktop_entry ${PN} "UrbanTerror" ${PN} - fi - - if use server && ! use client; then - # dedicated server only - newbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT-Ded.${my_arch} ${PN}-ded - fi -} - -pkg_preinst() { - use client && gnome2_icon_savelist -} - -pkg_postinst() { - use client && gnome2_icon_cache_update - - if [[ -z "${REPLACING_VERSIONS}" ]]; then - # This is a new installation - if use openal; then - elog - elog "" - elog "You might need to set:" - elog " seta s_useopenal \"1\"" - elog "in your ~/.q3a/q3ut4/q3config.cfg for openal to work." - fi - if use altgamma; then - elog - elog "" - elog "You might need to set:" - elog " seta r_altgamma \"1\"" - elog "in your ~/.q3a/q3ut4/q3config.cfg for altgamma to work." - fi - - if ! use altgamma; then - elog - elog "" - elog "If you are using a modesetting graphics driver you might" - elog "consider setting USE=\"altgamma\"." - elog "For details take a look on:" - elog "https://bugs.freedesktop.org/show_bug.cgi?id=27222" - fi - if ! use client; then - elog - elog "You disabled client support. You won't be able to connect" - elog "to any servers and play. If you want to do so, enable" - elog "USE=\"client\"." - fi - fi -} - -pkg_postrm() { - use client && gnome2_icon_cache_update -} diff --git a/profiles/package.mask b/profiles/package.mask deleted file mode 100644 index 2cab3e5..0000000 --- a/profiles/package.mask +++ /dev/null @@ -1,6 +0,0 @@ -# Nils "holgersson" Freydank (10 May 2017) -# Masking for removal in 30d -# The ebuilds will get merged into the main tree. -=games-fps/urbanterror-9999 -=games-fps/urbanterror-4.3.2_p20170426 -=games-fps/urbanterror-data-4.3.2