[arch-commits] Commit in springlobby/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Jan 28 03:20:27 UTC 2020
Date: Tuesday, January 28, 2020 @ 03:20:27
Author: foutrelis
Revision: 557093
archrelease: copy trunk to community-staging-x86_64
Added:
springlobby/repos/community-staging-x86_64/
springlobby/repos/community-staging-x86_64/PKGBUILD
(from rev 557092, springlobby/trunk/PKGBUILD)
springlobby/repos/community-staging-x86_64/springlobby-wxgtk-3.1.patch
(from rev 557092, springlobby/trunk/springlobby-wxgtk-3.1.patch)
-----------------------------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++
springlobby-wxgtk-3.1.patch | 11 +++++++++
2 files changed, 59 insertions(+)
Copied: springlobby/repos/community-staging-x86_64/PKGBUILD (from rev 557092, springlobby/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-01-28 03:20:27 UTC (rev 557093)
@@ -0,0 +1,48 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: DuGi <dugi at irc.pl>
+
+pkgname=springlobby
+pkgver=0.269
+pkgrel=2
+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' 'git')
+source=("git+https://github.com/springlobby/springlobby.git#tag=$pkgver"
+ "git+https://github.com/spring/pr-downloader.git"
+ "springlobby-wxgtk-3.1.patch")
+sha512sums=('SKIP'
+ 'SKIP'
+ 'bf70703c5f001bfc92699d4c21e6ca63b35994319f1096e50b07dba4ceb48cd7d67798fa1668c3c654b0372465a5ad383d9cbae9488f08dea6d78dee8901d418')
+
+prepare() {
+ cd $pkgname
+ patch -p1 -i ../springlobby-wxgtk-3.1.patch # Fix build with wxgtk 3.1
+
+ git submodule init
+ git config submodule."src/downloader/lib".url "$srcdir"/pr-downloader
+ git submodule update
+
+ mkdir build
+}
+
+build() {
+ cd $pkgname/build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
+ make
+}
+
+package() {
+ cd $pkgname/build
+
+ DESTDIR="$pkgdir" make install
+}
+
+# vim: sw=2:ts=2 et:
Copied: springlobby/repos/community-staging-x86_64/springlobby-wxgtk-3.1.patch (from rev 557092, 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 2020-01-28 03:20:27 UTC (rev 557093)
@@ -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