[packages/xmms2] - up to DR2.2
qboosh
qboosh at pld-linux.org
Tue May 9 16:34:36 CEST 2023
commit dafc938946e0bbab1d86becf1659aa77dfd78673
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue May 9 16:37:03 2023 +0200
- up to DR2.2
xmms2-sqlite.patch | 20 ++++++++++++++++++++
xmms2.spec | 6 ++++--
2 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/xmms2.spec b/xmms2.spec
index 4eb0185..622d181 100644
--- a/xmms2.spec
+++ b/xmms2.spec
@@ -8,20 +8,21 @@
Summary: Client/server based media player system
Summary(pl.UTF-8): System odtwarzania multimediów oparty na architekturze klient/serwer
-%define _dr 2.1
+%define _dr 2.2
Name: xmms2
Version: 0.1
Release: 0.DR%{_dr}.0.3
License: LGPL v2.1
Group: Applications/Sound
Source0: http://downloads.sourceforge.net/xmms2/%{name}-%{version}DR%{_dr}.tar.gz
-# Source0-md5: cb12f90b48962109632458df19eab201
+# Source0-md5: e1f8c5a0ed5be0913eae12eb464e7e3b
Patch0: %{name}-tabs.patch
Patch1: %{name}-python3.patch
Patch2: %{name}-link.patch
Patch3: %{name}-modplug.patch
Patch4: %{name}-format.patch
Patch5: %{name}-ruby.patch
+Patch6: %{name}-sqlite.patch
URL: http://xmms2.xmms.se/
BuildRequires: SDL-devel
BuildRequires: SDL_ttf-devel
@@ -346,6 +347,7 @@ xmms2.
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
%{__sed} -i xmmsenv.py \
-e '/os\.path\.join(self\.install_prefix.*"lib/s@"lib@"%{_lib}@'
diff --git a/xmms2-sqlite.patch b/xmms2-sqlite.patch
new file mode 100644
index 0000000..6eb5164
--- /dev/null
+++ b/xmms2-sqlite.patch
@@ -0,0 +1,20 @@
+--- xmms2-0.1DR2.2/src/xmms/Program.orig 2023-05-08 21:47:48.436132214 +0200
++++ xmms2-0.1DR2.2/src/xmms/Program 2023-05-08 22:21:59.581686871 +0200
+@@ -33,17 +33,6 @@ def config(env):
+ env.pkgconfig("gmodule-2.0", fail=True)
+ env.pkgconfig("gthread-2.0", fail=True)
+ env.pkgconfig("sqlite3", fail=True)
+- print "checking for sqlite version < 3.2.4...",
+- e = env.conf.TryRun("#include <sqlite3.h>\n int main() { if (SQLITE_VERSION_NUMBER > 3002004) { return 1; } else { return 0; } }", ".c")
+- if e[0] == 1:
+- print "ok!"
+- else:
+- print "no!"
+- print "*"*78
+- print "There is a KNOWN error with this version of SQLite and XMMS2."
+- print "PLEASE downgrade SQLite or UPGRADE XMMS2 to latest devel branch"
+- print "*"*78
+- raise RuntimeError("Abort!")
+
+ if env.platform != 'win32':
+ env.checklib("m", "sin", fail=True)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xmms2.git/commitdiff/dafc938946e0bbab1d86becf1659aa77dfd78673
More information about the pld-cvs-commit
mailing list