Accepting request 342429 from multimedia:apps

OBS-URL: https://build.opensuse.org/request/show/342429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qmmp?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2015-11-05 10:35:52 +00:00 committed by Git OBS Bridge
commit 615e3b3ba7
5 changed files with 33 additions and 27 deletions

View File

@ -1 +1 @@
libqmmp0
libqmmp1

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d8901d14066efaada789589aa64e28be0514c3226798d68a0b67750fea4c735
size 1113475

3
qmmp-1.0.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:010923f2fbba8b5a75c422eadf9b762b8b3eee10849e49272271262549457e66
size 1094223

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Nov 4 12:02:04 UTC 2015 - sor.alexei@meowr.ru
- Update to 1.0.1 (changes since 0.9.3):
* Switch to Qt5.
* Add Xfce icon theme support.
* Add test for supported OpenGL implementation while using cmake.
* Remove ffmpeg_legacy plugin.
* Remove legacy udisks plugin.
* Remove support of taglib versions less than 1.8.
- Switch to Qt5.
-------------------------------------------------------------------
Thu Oct 22 08:54:51 UTC 2015 - sor.alexei@meowr.ru

View File

@ -16,10 +16,10 @@
#
%define sover 0
%define sover 1
%bcond_with restricted
Name: qmmp
Version: 0.9.3
Version: 1.0.1
Release: 0
Summary: Qt-based Multimedia Player
License: GPL-2.0+
@ -36,12 +36,14 @@ BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libmpcdec-devel
BuildRequires: pkgconfig(QtCore)
BuildRequires: pkgconfig(QtDBus)
BuildRequires: pkgconfig(QtGui)
BuildRequires: pkgconfig(QtNetwork)
BuildRequires: pkgconfig(QtOpenGL)
BuildRequires: pkgconfig(QtXml)
BuildRequires: libqt5-qttools-devel >= 5.4
BuildRequires: pkgconfig(Qt5Core) >= 5.4
BuildRequires: pkgconfig(Qt5DBus) >= 5.4
BuildRequires: pkgconfig(Qt5Network) >= 5.4
BuildRequires: pkgconfig(Qt5OpenGL) >= 5.4
BuildRequires: pkgconfig(Qt5Widgets) >= 5.4
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.4
BuildRequires: pkgconfig(Qt5Xml) >= 5.4
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(enca) >= 1.9
BuildRequires: pkgconfig(flac)
@ -71,7 +73,7 @@ BuildRequires: pkgconfig(wavpack)
Requires: %{name}(%{sover})(Input)
Requires: %{name}(%{sover})(Output)
Requires: %{name}(%{sover})(Ui)
%if %{with rectricted}
%if %{with restricted}
BuildRequires: libfaad-devel
BuildRequires: pkgconfig(mad)
%endif
@ -135,28 +137,20 @@ Development files for libqmmp.
%patch1 -p1
%build
mkdir build
pushd build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
%cmake \
-DCMAKE_MODULE_LINKER_FLAGS="" \
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
-DLIB_DIR=%{_lib} \
-DUSE_HAL=OFF \
-DUSE_OSS=OFF \
-DUSE_OSS4=OFF \
%if %{without restricted}
-DUSE_MPLAYER=OFF \
%endif
..
-DUSE_HAL=OFF \
-DUSE_OSS=OFF \
-DUSE_OSS4=OFF
make %{?_smp_mflags}
popd
%install
%make_install -C build
%cmake_install
%post
%icon_theme_cache_post