summaryrefslogtreecommitdiff
path: root/games-util/xqf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-util/xqf
reinit the tree, so we can have metadata
Diffstat (limited to 'games-util/xqf')
-rw-r--r--games-util/xqf/Manifest7
-rw-r--r--games-util/xqf/files/xqf-1.0.6.2-underlink.patch10
-rw-r--r--games-util/xqf/files/xqf-1.0.6.2-zlib-1.2.5.1-compile-fix.patch11
-rw-r--r--games-util/xqf/metadata.xml12
-rw-r--r--games-util/xqf/xqf-1.0.6.2.ebuild45
5 files changed, 85 insertions, 0 deletions
diff --git a/games-util/xqf/Manifest b/games-util/xqf/Manifest
new file mode 100644
index 000000000000..bbc15780adcd
--- /dev/null
+++ b/games-util/xqf/Manifest
@@ -0,0 +1,7 @@
+AUX xqf-1.0.6.2-underlink.patch 300 SHA256 a003a59b227e2d3c087e65217bdd028bc7dfecc5c0045dd68152a14f88b78d0f SHA512 e35c62bf83ccbaaf8ca775978acf33ed419c881158f607e44032a2329b88443512a65603d0797ede1be38edaa66de1318d7c8275f276cd5988d74ef7430b51de WHIRLPOOL cf47d74860e741fc4bd194d26c3d5a414be9548081483ec422a175d781894c3a6774089ae37cf290a23340262f3e27e7120210dd486fdb20c578af0c53412215
+AUX xqf-1.0.6.2-zlib-1.2.5.1-compile-fix.patch 190 SHA256 b2db4c327f1667613ce7d0eb51ee021d305bc1bdcd108ffc5d1330e43c50e77a SHA512 11677294d042d8303b72085867855e1795a9995e29f4b5145e415434c8c6188fa20e19c95f02d804a2b3e481f1f827cad9fa865d77f4f1f0880a3a66d69460d8 WHIRLPOOL 7035cdb05a1dce983b5d9a9cbbe42620e7f8947b64949f9170e9631a14919c0c47c22d85e7085639a72baf4de2502ea541d55d84610746eb479275f5d8761f12
+DIST xqf-1.0.6.2.tar.gz 595096 SHA256 bcfb87c9a452993b13bd1019b0c61459a37cbc37b13b951b73f2a93b2b1c83ad SHA512 8706104dde0f93a89f9f69a4b8f40f5c4c8160a3bb7a99f7572448c0110a595503e430fdba741c50b22f7e92a08f1cf6abee06aaa23956e4e37b7bf894a66a9c WHIRLPOOL f4c8e7d0122359aeb615249995eb979502024b18b083a984ad04d85c9f9c00a849899a39440939556d17536201319ea36c318a5493c8f5bfd7b9e26d68c9a3d4
+EBUILD xqf-1.0.6.2.ebuild 937 SHA256 13523a372e9a3ae7086502c0500cb392ad869efd836bcfd82042bb929d33d9d4 SHA512 72608cd8afcf56e24a3c16703ecbaf10d28744da6f196cc9aaab0966b24c1e357209ee2704abba2e2ddfd5fd237bb64215fec2ce0b19a11ce476a967614259a7 WHIRLPOOL 3141bfdba2a93c816ec39c877fc1bc6936946a064da0a02249e287db62ab8a4cb878030ca0cd791d4f44e77a34fde468c2b111c5deebc450cf31b535f040bf5a
+MISC ChangeLog 4567 SHA256 2ee6f921b582cae7fbb398fa609a4179355afb62d87db9d59e1a9c784c25c6d7 SHA512 1a4ce6806535c661f77df4ac624fbaadf9d80691ca173f293079b3b3b7d7a9f60437b43296e31588aea5addcbf603fcc1455532f283ed7550161ead8040f9690 WHIRLPOOL d73bf9fd428526934348390b0ee30f3a494e4fd4ebf64b8c19bca5192919bcac9fcba308df48db67ab192681ae450f56400a02fc4ecb9f9077cf6b010dc78eb3
+MISC ChangeLog-2015 5663 SHA256 4bd792f1dfe092d902648836c9c477084d240c67983c027f2ade14d70534360f SHA512 fcdfeec37a1e7182ce972443ecf3ca4f7897dca3f1c89e674bfcf138f903dd310633f863a06300a2fbacd8a55a965a129c3c1ac544e784e131ac347673bea631 WHIRLPOOL 4a347bd5bcdb675db34d8d0e9984741d4039902044e7e2a719f4bc947d19f7d4f7722c5747d33a0dabe4a3d4de84de68ce283c03c6003138aaa3b267d115852f
+MISC metadata.xml 373 SHA256 f7ac8d1917b45ab7aa3ea4f9b13e4d51b76f6c67a9a2166f66adedbf9fc73667 SHA512 b904d8495fb9fd79c072f12570ef67cb28396ba215e0cbc70f184c64dcd1b1a7c028274bb7927acf8b7012ff55cb22564fa52252d6bc41e75e86d5562761539a WHIRLPOOL 7fb7905d09255a625e48d66abf2895fdb431af06be5984f05452278a1231bdc8629c8013a8b04600a380e64321f75f5e53f301f10d8d9619d2aa7920ff3b263e
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..53cac19c7ad0
--- /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)
+}