diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-util/xqf | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-util/xqf')
-rw-r--r-- | games-util/xqf/Manifest | 5 | ||||
-rw-r--r-- | games-util/xqf/files/xqf-1.0.6.2-underlink.patch | 10 | ||||
-rw-r--r-- | games-util/xqf/files/xqf-1.0.6.2-zlib-1.2.5.1-compile-fix.patch | 11 | ||||
-rw-r--r-- | games-util/xqf/metadata.xml | 12 | ||||
-rw-r--r-- | games-util/xqf/xqf-1.0.6.2.ebuild | 45 |
5 files changed, 83 insertions, 0 deletions
diff --git a/games-util/xqf/Manifest b/games-util/xqf/Manifest new file mode 100644 index 000000000000..365be0d9f392 --- /dev/null +++ b/games-util/xqf/Manifest @@ -0,0 +1,5 @@ +AUX xqf-1.0.6.2-underlink.patch 300 BLAKE2B 24205c2328355fd9e5ee187c3c7e7a3b1875f8020f1afbd7ced7bf6b2f3c57ce1d3485cad6c2d23a70ee830e7cad2ec7060554bb70fb0dbfbe26bc2c339afb9b SHA512 e35c62bf83ccbaaf8ca775978acf33ed419c881158f607e44032a2329b88443512a65603d0797ede1be38edaa66de1318d7c8275f276cd5988d74ef7430b51de +AUX xqf-1.0.6.2-zlib-1.2.5.1-compile-fix.patch 190 BLAKE2B 3c4a52c059392596c082c4ae3f4259073dc49fd5c94424ef80e4f22076e4b5473eabc60d763eabb3f73177155692db7d722d7ab8cf1f7acc9c285fdfc9d12390 SHA512 11677294d042d8303b72085867855e1795a9995e29f4b5145e415434c8c6188fa20e19c95f02d804a2b3e481f1f827cad9fa865d77f4f1f0880a3a66d69460d8 +DIST xqf-1.0.6.2.tar.gz 595096 BLAKE2B 36c135c064ae61af12daa70e9c78fe2a377ebcaf91b0f36fac43865b6b0601f104d8b09bd84b9d9699afdab7f3d4d3a0e67f3251f20d6ce025e92db2302d21a8 SHA512 8706104dde0f93a89f9f69a4b8f40f5c4c8160a3bb7a99f7572448c0110a595503e430fdba741c50b22f7e92a08f1cf6abee06aaa23956e4e37b7bf894a66a9c +EBUILD xqf-1.0.6.2.ebuild 940 BLAKE2B e58e3632573416bd915657d88e44a850e03a45a02b16271c9bb8ef9a3eecc63b2a8e6f2e85367a4c846413aae4fde7b04d46e7374b10b54d8df10c1734ba0095 SHA512 77b887d3e70c340cf6e8f4d977c996f26976cf16576888fc0ac7bafab22283b512fb7ab5adb8e93f4c3d6a69d5a419d843a8f6fd7bb42fdf904a8a619b30ec18 +MISC metadata.xml 373 BLAKE2B d2337bac8791a2a8985237089b723183ba428527db288b5f98e37499e0dde32503f09eca2fa6d320b354fe8507fb4cd98c12f866f77e2c0f85ee52739758fa05 SHA512 b904d8495fb9fd79c072f12570ef67cb28396ba215e0cbc70f184c64dcd1b1a7c028274bb7927acf8b7012ff55cb22564fa52252d6bc41e75e86d5562761539a diff --git a/games-util/xqf/files/xqf-1.0.6.2-underlink.patch b/games-util/xqf/files/xqf-1.0.6.2-underlink.patch new file mode 100644 index 000000000000..fe93c7624675 --- /dev/null +++ b/games-util/xqf/files/xqf-1.0.6.2-underlink.patch @@ -0,0 +1,10 @@ +--- xqf-xqf-1.0.6.2/src/Makefile.am ++++ xqf-xqf-1.0.6.2/src/Makefile.am +@@ -41,6 +41,7 @@ + $(GEOIP_LIB) \ + $(PACKAGE_LIBS) \ + $(GDK_PIXBUF_LIBS) \ ++ -lX11 \ + -lz -ldl + + xqf_LDFLAGS = -Wl,-rpath,$(pkglibdir) -Wl,--export-dynamic -Wl,--version-script=$(top_srcdir)/src/xqf.map diff --git a/games-util/xqf/files/xqf-1.0.6.2-zlib-1.2.5.1-compile-fix.patch b/games-util/xqf/files/xqf-1.0.6.2-zlib-1.2.5.1-compile-fix.patch new file mode 100644 index 000000000000..9bd433b3b27e --- /dev/null +++ b/games-util/xqf/files/xqf-1.0.6.2-zlib-1.2.5.1-compile-fix.patch @@ -0,0 +1,11 @@ +--- xqf-1.0.5/src/zip/ioapi.h ++++ xqf-1.0.5/src/zip/ioapi.h +@@ -6,6 +6,8 @@ + Copyright (C) 1998-2003 Gilles Vollant + */ + ++#define OF(x) x ++ + #ifndef _ZLIBIOAPI_H + #define _ZLIBIOAPI_H + diff --git a/games-util/xqf/metadata.xml b/games-util/xqf/metadata.xml new file mode 100644 index 000000000000..12c2d2df28fe --- /dev/null +++ b/games-util/xqf/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <upstream> + <remote-id type="sourceforge">xqf</remote-id> + <remote-id type="github">XQF/xqf</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/xqf/xqf-1.0.6.2.ebuild b/games-util/xqf/xqf-1.0.6.2.ebuild new file mode 100644 index 000000000000..5ea89476375a --- /dev/null +++ b/games-util/xqf/xqf-1.0.6.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="A server browser for many FPS games (frontend for qstat)" +HOMEPAGE="http://xqf.github.io/en/" +SRC_URI="https://github.com/XQF/xqf/archive/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="bzip2 geoip nls" + +RDEPEND="x11-libs/gtk+:2 + >=games-util/qstat-2.11 + nls? ( virtual/libintl ) + geoip? ( dev-libs/geoip ) + bzip2? ( app-arch/bzip2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${PN}-${P} + +# bug #288853 +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-underlink.patch \ + "${FILESDIR}"/${P}-zlib-1.2.5.1-compile-fix.patch + sed -i \ + -e '/Icon/s/.png//' \ + xqf.desktop.in || die + + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_enable geoip) \ + $(use_enable bzip2) +} |