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