quodlibet: 4.3.0 -> 4.4.0
This commit is contained in:
parent
4335222fd5
commit
edf1e00086
2 changed files with 3 additions and 19 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, python3, wrapGAppsHook, gettext, libsoup, gnome, gtk3, gdk-pixbuf, librsvg,
|
{ lib, fetchurl, python3, wrapGAppsHook, gettext, libsoup, gnome, gtk3, gdk-pixbuf, librsvg,
|
||||||
tag ? "", xvfb-run, dbus, glibcLocales, glib, glib-networking, gobject-introspection, hicolor-icon-theme,
|
tag ? "", xvfb-run, dbus, glibcLocales, glib, glib-networking, gobject-introspection, hicolor-icon-theme,
|
||||||
gst_all_1, withGstPlugins ? true,
|
gst_all_1, withGstPlugins ? true,
|
||||||
xineBackend ? false, xine-lib,
|
xineBackend ? false, xine-lib,
|
||||||
|
@ -9,15 +9,13 @@
|
||||||
let optionals = lib.optionals; in
|
let optionals = lib.optionals; in
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "quodlibet${tag}";
|
pname = "quodlibet${tag}";
|
||||||
version = "4.3.0";
|
version = "4.4.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/quodlibet/quodlibet/releases/download/release-${version}/quodlibet-${version}.tar.gz";
|
url = "https://github.com/quodlibet/quodlibet/releases/download/release-${version}/quodlibet-${version}.tar.gz";
|
||||||
sha256 = "1q17ckblfa4fcs7wsjwsq1dj7360ymrdyjkyqmj864wzlqkw1rd2";
|
sha256 = "sha256-oDMY0nZ+SVlVF2PQqH+tl3OHr3EmCP5XJxQXaiS782c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./quodlibet-feedparser6.patch ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapGAppsHook gettext ];
|
nativeBuildInputs = [ wrapGAppsHook gettext ];
|
||||||
|
|
||||||
checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest_xdist polib xvfb-run dbus.daemon glibcLocales ]);
|
checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest_xdist polib xvfb-run dbus.daemon glibcLocales ]);
|
||||||
|
@ -50,8 +48,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
# newer gettext spews some warnings which fail the tests
|
|
||||||
substituteInPlace tests/test_po.py --replace "strict=True" "strict=False"
|
|
||||||
# otherwise tests can't find the app icons; instead of creating index.theme from scratch
|
# otherwise tests can't find the app icons; instead of creating index.theme from scratch
|
||||||
# I re-used the one from hicolor-icon-theme which seems to work
|
# I re-used the one from hicolor-icon-theme which seems to work
|
||||||
cp "${hicolor-icon-theme}/share/icons/hicolor/index.theme" quodlibet/images/hicolor
|
cp "${hicolor-icon-theme}/share/icons/hicolor/index.theme" quodlibet/images/hicolor
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
Support feedparser 6, based on https://github.com/quodlibet/quodlibet/pull/3464
|
|
||||||
|
|
||||||
--- a/quodlibet/browsers/audiofeeds.py
|
|
||||||
+++ b/quodlibet/browsers/audiofeeds.py
|
|
||||||
@@ -137,7 +137,4 @@ class Feed(list):
|
|
||||||
def parse(self):
|
|
||||||
try:
|
|
||||||
- if not self._check_feed():
|
|
||||||
- return False
|
|
||||||
-
|
|
||||||
doc = feedparser.parse(self.uri)
|
|
||||||
except Exception as e:
|
|
Loading…
Reference in a new issue