[arch-commits] Commit in springlobby/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Sep 13 10:05:37 UTC 2019
Date: Friday, September 13, 2019 @ 10:05:36
Author: foutrelis
Revision: 510132
archrelease: copy trunk to community-staging-x86_64
Added:
springlobby/repos/community-staging-x86_64/
springlobby/repos/community-staging-x86_64/PKGBUILD
(from rev 510131, springlobby/trunk/PKGBUILD)
springlobby/repos/community-staging-x86_64/springlobby-wxgtk-3.1.patch
(from rev 510131, springlobby/trunk/springlobby-wxgtk-3.1.patch)
-----------------------------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
springlobby-wxgtk-3.1.patch | 11 +++++++++++
2 files changed, 51 insertions(+)
Copied: springlobby/repos/community-staging-x86_64/PKGBUILD (from rev 510131, springlobby/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-09-13 10:05:36 UTC (rev 510132)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: DuGi <dugi at irc.pl>
+
+pkgname=springlobby
+pkgver=0.267
+pkgrel=5
+pkgdesc="A free cross-platform lobby client for the Spring RTS project"
+arch=('x86_64')
+url="http://springlobby.info/"
+license=('GPL2')
+depends=('hicolor-icon-theme' 'wxgtk3' 'curl' 'libtorrent-rasterbar' 'boost-libs'
+ 'alure' 'libsm')
+optdepends=('sdl' 'sdl_sound' 'sdl_mixer')
+makedepends=('boost' 'cmake')
+source=(https://springlobby.info/tarballs/springlobby-${pkgver}.tar.bz2
+ springlobby-wxgtk-3.1.patch)
+sha512sums=('6127bd7377f9a843b23df6dae7a07af1122f6ec5fa13cd8d16c0c7a3cc84e1f7af2fb7df929f904ee0b4e3abf12ae1e525ffb39b2afa0215433209054cf0de5f'
+ 'bf70703c5f001bfc92699d4c21e6ca63b35994319f1096e50b07dba4ceb48cd7d67798fa1668c3c654b0372465a5ad383d9cbae9488f08dea6d78dee8901d418')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../springlobby-wxgtk-3.1.patch # Fix build with wxgtk 3.1
+}
+
+build() {
+ cd $srcdir/${pkgname}-${pkgver}
+
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
+ make
+}
+
+package() {
+ cd $srcdir/${pkgname}-${pkgver}
+
+ make DESTDIR=$pkgdir install
+}
+
+# vim: sw=2:ts=2 et:
Copied: springlobby/repos/community-staging-x86_64/springlobby-wxgtk-3.1.patch (from rev 510131, springlobby/trunk/springlobby-wxgtk-3.1.patch)
===================================================================
--- community-staging-x86_64/springlobby-wxgtk-3.1.patch (rev 0)
+++ community-staging-x86_64/springlobby-wxgtk-3.1.patch 2019-09-13 10:05:36 UTC (rev 510132)
@@ -0,0 +1,11 @@
+--- springlobby-0.267/src/springsettings/tab_abstract.cpp.orig 2019-03-26 07:45:27.981903360 +0000
++++ springlobby-0.267/src/springsettings/tab_abstract.cpp 2019-03-26 07:45:42.628735154 +0000
+@@ -95,7 +95,7 @@
+ {
+ try {
+ //special treatment for resolution that'll set proper defaults for res
+- wxDisplay display(0);
++ wxDisplay display(0U);
+ // wxRect display_rect ( display.GetGeometry() );
+ // const int current_x_res = LSL::susynclib().GetSpringConfigInt(RC_TEXT[0].key,display_rect.width);
+ // const int current_y_res = LSL::susynclib().GetSpringConfigInt(RC_TEXT[1].key,display_rect.height);
More information about the arch-commits
mailing list