[arch-commits] Commit in lutris/trunk (2 files)

Filipe Laíns ffy00 at archlinux.org
Thu Nov 28 09:19:53 UTC 2019


    Date: Thursday, November 28, 2019 @ 09:19:52
  Author: ffy00
Revision: 534272

upgpkg: lutris 0.5.4-1

Modified:
  lutris/trunk/PKGBUILD
Deleted:
  lutris/trunk/revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch

-------------------------------------------------------+
 PKGBUILD                                              |   21 ++------
 revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch |   42 ----------------
 2 files changed, 6 insertions(+), 57 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-28 09:12:49 UTC (rev 534271)
+++ PKGBUILD	2019-11-28 09:19:52 UTC (rev 534272)
@@ -3,8 +3,7 @@
 # Contributor: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=lutris
-_commit=a31a0a4116d883c3d68fd355f281214de79a9afa
-pkgver=0.5.3.r5660.a31a0a4
+pkgver=0.5.4
 pkgrel=1
 pkgdesc='Open Gaming Platform'
 arch=('any')
@@ -18,31 +17,23 @@
             'vulkan-icd-loader: Vulkan support'
             'lib32-vulkan-icd-loader: Vulkan support')
 makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lutris/lutris/archive/$_commit.tar.gz"
-        'revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch')
-sha512sums=('d989b8f3e1631c6b82908b50f1083f5a6597893dee4a25b1509c6ba923fd4b589d74113972bdcba7bc2340cad596812401d1fe04d7999b458a5e5cb3b83ffcae'
-            'fb7210948a6409babe38572e3d82a6afcf7b424ecf8c404c922ff3ef3d2a458d4be730e9ee2779005f3b93fa298654749840e808087cf0524c29217985fafc58')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lutris/lutris/archive/v$pkgver.tar.gz")
+sha512sums=('758c2a854912e29ac579c2030ec118e406db97aa0ecb9be394b2910e48e19c87a774972299b0c83e73fb57e8db3c98a2c52d1545e8071e378d3aff263d325cc4')
 
-prepare() {
-  cd $pkgname-$_commit
-
-  patch -p1 < ../revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch
-}
-
 build() {
-  cd $pkgname-$_commit
+  cd $pkgname-$pkgver
 
   python setup.py build
 }
 
 check() {
-  cd $pkgname-$_commit
+  cd $pkgname-$pkgver
 
   xvfb-run nosetests --cover-erase --with-xunit --xunit-file=nosetests.xml --with-coverage --cover-package=lutris --cover-xml-file=coverage.xml
 }
 
 package() {
-  cd $pkgname-$_commit
+  cd $pkgname-$pkgver
 
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
 }

Deleted: revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch
===================================================================
--- revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch	2019-11-28 09:12:49 UTC (rev 534271)
+++ revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch	2019-11-28 09:19:52 UTC (rev 534272)
@@ -1,42 +0,0 @@
-commit ae320ae1b6735e475ea49ce08dadaf332fedcfb6
-Author: Filipe Laíns <lains at archlinux.org>
-Date:   Tue Nov 19 09:45:23 2019 +0000
-
-    Revert "Do not change selection when a game is updated (Closes #2144)"
-    
-    This reverts commit 47ecc419498abf127ee657fbc83bc313c883cb44.
-    
-    Signed-off-by: Filipe Laíns <lains at archlinux.org>
-
-diff --git a/lutris/gui/lutriswindow.py b/lutris/gui/lutriswindow.py
-index 9dfe092b..fbb3865d 100644
---- a/lutris/gui/lutriswindow.py
-+++ b/lutris/gui/lutriswindow.py
-@@ -727,6 +727,10 @@ class LutrisWindow(Gtk.ApplicationWindow):
-             self.game_store.update_game_by_id(game.id)
-         except ValueError:
-             self.game_store.add_game_by_id(game.id)
-+
-+        self.view.set_selected_game(game.id)
-+        if game.is_installed:
-+            self.game_selection_changed(None, game)
-         return True
- 
-     def on_search_games_fire(self, value):
-diff --git a/lutris/gui/views/grid.py b/lutris/gui/views/grid.py
-index 7ea802cb..3cec9c19 100644
---- a/lutris/gui/views/grid.py
-+++ b/lutris/gui/views/grid.py
-@@ -1,4 +1,3 @@
--"""Grid view for the main window"""
- # pylint: disable=no-member
- from gi.repository import Gtk
- from lutris.gui.views.base import GameView
-@@ -45,7 +44,6 @@ class GameGridView(Gtk.IconView, GameView):
-         return self.get_model().get_iter(self.current_path)
- 
-     def set_selected_game(self, game_id):
--        """Select a game referenced by its ID in the view"""
-         row = self.game_store.get_row_by_id(game_id, filtered=True)
-         if row:
-             self.select_path(row.path)



More information about the arch-commits mailing list