commit 3d7f5cd009878da8c6d306c2cd1ed17f34492b5a
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Sun Feb 5 17:39:00 2017 +0000
Add patch to install libmiam-acoustid.so
install_acoustid.patch | 22 ++++++++++++++++++++++
miam-player.spec | 7 ++++++-
2 files changed, 28 insertions(+), 1 deletion(-)
---
diff --git a/install_acoustid.patch b/install_acoustid.patch
new file mode 100644
index 0000000..d3236de
--- /dev/null
+++ b/install_acoustid.patch
@@ -0,0 +1,22 @@
+From 6775053ab1aae581b212f40cbf3926c3e64d8ab0 Mon Sep 17 00:00:00 2001
+From: leigh123linux <leigh123linux(a)googlemail.com>
+Date: Sun, 5 Feb 2017 12:47:20 +0000
+Subject: [PATCH] fix missing libmiam-acoustid.so on linux
+
+---
+ src/acoustid/acoustid.pro | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/acoustid/acoustid.pro b/src/acoustid/acoustid.pro
+index b3c972d..c63041a 100644
+--- a/src/acoustid/acoustid.pro
++++ b/src/acoustid/acoustid.pro
+@@ -49,6 +49,8 @@ TARGET = miam-acoustid
+
+ !macx {
+ LIBS += -L$$OUT_PWD/../core/ -lmiam-core -ltag -lchromaprint
++ target.path = /usr/lib$$LIB_SUFFIX/
++ INSTALLS += target
+ }
+ macx {
+ QMAKE_SONAME_PREFIX = @executable_path/../Frameworks
diff --git a/miam-player.spec b/miam-player.spec
index 6f65668..d7901bc 100644
--- a/miam-player.spec
+++ b/miam-player.spec
@@ -5,13 +5,14 @@
%define _name Miam-Player
Name: miam-player
Version: 0.8.1
-Release: 0.8git%{shortcommit0}%{?dist}
+Release: 0.9git%{shortcommit0}%{?dist}
Summary: A nice music player
License: GPLv3+ and "BSD (3 clause)"
Url:
http://miam-player.org/
Source0:
https://github.com/MBach/Miam-Player/archive/%{commit0}/%{name}-%{commit0...
Source1: %{name}.desktop
Patch0: remotecontrol.patch
+Patch1: install_acoustid.patch
BuildRequires: ImageMagick
BuildRequires: desktop-file-utils
@@ -62,6 +63,7 @@ that use %{name}.
%prep
%setup -qn %{_name}-%{commit0}
%patch0 -p0
+%patch1 -p1
# remove 3dparty libs an debian, osx and windows part
rm -rf src/Core/3rdparty/{taglib,QtAV}
@@ -136,6 +138,9 @@ fi
%doc doc/html
%changelog
+* Sun Feb 05 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 0.8.1-0.9gita057928
+- Add patch to install libmiam-acoustid.so
+
* Sat Feb 04 2017 Martin Gansser <martinkg(a)fedoraproject.org> -
0.8.1-0.8gita057928
- Update to 0.8.1-0.8gita057928
- Add BR libchromaprint-devel