diff --git a/games-fps/urbanterror/Manifest b/games-fps/urbanterror/Manifest new file mode 100644 index 0000000..2f139a4 --- /dev/null +++ b/games-fps/urbanterror/Manifest @@ -0,0 +1 @@ +DIST urbanterror-4.3.2_p20170423.tar.gz 9971591 SHA256 7401a0f67a70e94d69b311ca627de533c2ef9aac92314e13a410fbcae27d1145 SHA512 dfa7a0de3d5256af01d8138abf0f4c86a8c94443d8afae6c242afe0d2c5ec7915bdf1911eeb6ba8b9a990b8388568962ef95863a75d99ff578c02cd015301878 WHIRLPOOL 1245942982a1a945ae5307039ab4acaba42391883f29e5b2787262cf1008158bac9e0e17c3a4122a5ccf0c378691736a92245fb670e59b7ac493d93f97e8b543 diff --git a/games-fps/urbanterror/files/urbanterror-4.3.2_p20170408-respect_CFLAGS.patch b/games-fps/urbanterror/files/urbanterror-4.3.2_p20170423-respect_CFLAGS.patch similarity index 99% rename from games-fps/urbanterror/files/urbanterror-4.3.2_p20170408-respect_CFLAGS.patch rename to games-fps/urbanterror/files/urbanterror-4.3.2_p20170423-respect_CFLAGS.patch index cac29cd..5ce1334 100644 --- a/games-fps/urbanterror/files/urbanterror-4.3.2_p20170408-respect_CFLAGS.patch +++ b/games-fps/urbanterror/files/urbanterror-4.3.2_p20170423-respect_CFLAGS.patch @@ -7,18 +7,18 @@ Respect CFLAGS - inspired by hasufell’s patch +++ 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 diff --git a/games-fps/urbanterror/files/urbanterror-9999-respect_CFLAGS.patch b/games-fps/urbanterror/files/urbanterror-9999-respect_CFLAGS.patch index cac29cd..5ce1334 100644 --- a/games-fps/urbanterror/files/urbanterror-9999-respect_CFLAGS.patch +++ b/games-fps/urbanterror/files/urbanterror-9999-respect_CFLAGS.patch @@ -7,18 +7,18 @@ Respect CFLAGS - inspired by hasufell’s patch +++ 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 diff --git a/games-fps/urbanterror/urbanterror-4.3.2_p20170408.ebuild b/games-fps/urbanterror/urbanterror-4.3.2_p20170423.ebuild similarity index 97% rename from games-fps/urbanterror/urbanterror-4.3.2_p20170408.ebuild rename to games-fps/urbanterror/urbanterror-4.3.2_p20170423.ebuild index 45881fb..98e192e 100644 --- a/games-fps/urbanterror/urbanterror-4.3.2_p20170408.ebuild +++ b/games-fps/urbanterror/urbanterror-4.3.2_p20170423.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit flag-o-matic +inherit flag-o-matic gnome2-utils DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine" HOMEPAGE="http://urbanterror.info" @@ -91,7 +91,7 @@ src_install() { 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} Games;Shooter + make_desktop_entry ${PN} "UrbanTerror" ${PN} fi # means: dedicated server only