[arch-commits] Commit in lutris/repos/community-any (3 files)
Filipe Laíns
ffy00 at archlinux.org
Thu Nov 28 09:20:01 UTC 2019
Date: Thursday, November 28, 2019 @ 09:20:01
Author: ffy00
Revision: 534273
archrelease: copy trunk to community-any
Added:
lutris/repos/community-any/PKGBUILD
(from rev 534272, lutris/trunk/PKGBUILD)
Deleted:
lutris/repos/community-any/PKGBUILD
lutris/repos/community-any/revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch
-------------------------------------------------------+
PKGBUILD | 89 +++++++---------
revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch | 42 -------
2 files changed, 40 insertions(+), 91 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-28 09:19:52 UTC (rev 534272)
+++ PKGBUILD 2019-11-28 09:20:01 UTC (rev 534273)
@@ -1,49 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Contributor: Frederik “Freso” S. Olesen <freso.dk at gmail.com>
-# Contributor: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgname=lutris
-_commit=a31a0a4116d883c3d68fd355f281214de79a9afa
-pkgver=0.5.3.r5660.a31a0a4
-pkgrel=1
-pkgdesc='Open Gaming Platform'
-arch=('any')
-url='https://lutris.net'
-license=('GPL3')
-depends=('python-gobject' 'python-yaml' 'python-evdev' 'gtk3' 'glib2' 'psmisc' 'cabextract' 'unzip' 'p7zip' 'curl' 'xorg-xrandr'
- 'python-pillow' 'python-requests' 'gnome-desktop' 'webkit2gtk' 'gvfs' 'mesa-demos')
-makedepends=('python-setuptools')
-checkdepends=('xorg-server-xvfb' 'python-nose-cover3' 'wine' 'xterm')
-optdepends=('wine: Windows support'
- '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')
-
-prepare() {
- cd $pkgname-$_commit
-
- patch -p1 < ../revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch
-}
-
-build() {
- cd $pkgname-$_commit
-
- python setup.py build
-}
-
-check() {
- cd $pkgname-$_commit
-
- 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
-
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
Copied: lutris/repos/community-any/PKGBUILD (from rev 534272, lutris/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-28 09:20:01 UTC (rev 534273)
@@ -0,0 +1,40 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Frederik “Freso” S. Olesen <freso.dk at gmail.com>
+# Contributor: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=lutris
+pkgver=0.5.4
+pkgrel=1
+pkgdesc='Open Gaming Platform'
+arch=('any')
+url='https://lutris.net'
+license=('GPL3')
+depends=('python-gobject' 'python-yaml' 'python-evdev' 'gtk3' 'glib2' 'psmisc' 'cabextract' 'unzip' 'p7zip' 'curl' 'xorg-xrandr'
+ 'python-pillow' 'python-requests' 'gnome-desktop' 'webkit2gtk' 'gvfs' 'mesa-demos')
+makedepends=('python-setuptools')
+checkdepends=('xorg-server-xvfb' 'python-nose-cover3' 'wine' 'xterm')
+optdepends=('wine: Windows support'
+ '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/v$pkgver.tar.gz")
+sha512sums=('758c2a854912e29ac579c2030ec118e406db97aa0ecb9be394b2910e48e19c87a774972299b0c83e73fb57e8db3c98a2c52d1545e8071e378d3aff263d325cc4')
+
+build() {
+ cd $pkgname-$pkgver
+
+ python setup.py build
+}
+
+check() {
+ 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-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
Deleted: revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch
===================================================================
--- revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch 2019-11-28 09:19:52 UTC (rev 534272)
+++ revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch 2019-11-28 09:20:01 UTC (rev 534273)
@@ -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