- Update to 1.0.1.
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/qmmp?expand=0&rev=70
This commit is contained in:
committed by
Git OBS Bridge
parent
c968cfc0ae
commit
4aa9803edd
40
qmmp.spec
40
qmmp.spec
@@ -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
|
||||
|
Reference in New Issue
Block a user