Changeset 179 for smplayer/vendor/current/smplayer.spec
- Timestamp:
- Aug 31, 2016, 5:19:25 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/smplayer.spec
r175 r179 1 1 Name: smplayer 2 Version: 16. 4.03 %global smplayer_themes_ver 1 5.12.02 Version: 16.8.0 3 %global smplayer_themes_ver 16.6.0 4 4 %global smplayer_skins_ver 15.2.0 5 5 Release: 1%{?dist} … … 14 14 15 15 %if 0%{?suse_version} 16 BuildRequires: libqt4-devel17 16 BuildRequires: hicolor-icon-theme 17 BuildRequires: libqt5-qttools-devel 18 BuildRequires: libQt5Gui-private-headers-devel 18 19 %else 19 BuildRequires: qt 4-devel20 #BuildRequires: qtwebkit-devel20 BuildRequires: qt5-qtbase-devel 21 BuildRequires: qt5-qttools-devel 21 22 %endif 22 23 BuildRequires: desktop-file-utils 23 24 BuildRequires: gcc-c++ 24 25 Requires: mplayer 25 BuildRequires: pkgconfig(Qt5Concurrent) 26 BuildRequires: pkgconfig(Qt5Core) 27 BuildRequires: pkgconfig(Qt5DBus) 28 BuildRequires: pkgconfig(Qt5Gui) 29 BuildRequires: pkgconfig(Qt5Network) 30 BuildRequires: pkgconfig(Qt5PrintSupport) 31 BuildRequires: pkgconfig(Qt5Script) 32 BuildRequires: pkgconfig(Qt5Sql) 33 BuildRequires: pkgconfig(Qt5WebKitWidgets) 34 BuildRequires: pkgconfig(Qt5Widgets) 35 BuildRequires: pkgconfig(Qt5Xml) 36 37 Requires: mpv 26 38 %{?_qt4_version:Requires: qt4%{?_isa} >= %{_qt4_version}} 27 39 … … 41 53 %{__sed} -i 's/\r//' *.txt 42 54 # fix files which are not UTF-8 43 iconv -f Latin1 -t UTF-8 -o Changelog.utf8 Changelog 55 iconv -f Latin1 -t UTF-8 -o Changelog.utf8 Changelog 44 56 mv Changelog.utf8 Changelog 57 58 # change rcc binary 59 %{__sed} -e 's/rcc -binary/rcc-qt5 -binary/' -i smplayer-themes-%{smplayer_themes_ver}/themes/Makefile 60 %{__sed} -e 's/rcc -binary/rcc-qt5 -binary/' -i smplayer-skins-%{smplayer_skins_ver}/themes/Makefile 45 61 46 62 %build 47 63 make \ 48 %if !0%{?suse_version} 49 QMAKE=%{_qt4_qmake} \ 50 LRELEASE=%{_bindir}/lrelease-qt4 \ 51 %endif 64 QMAKE=%{_bindir}/qmake-qt5 \ 65 LRELEASE=%{_bindir}/lrelease-qt5 \ 52 66 PREFIX=%{_prefix} \ 53 67 DOC_PATH="\\\"%{_docdir}/%{name}/\\\"" \
Note:
See TracChangeset
for help on using the changeset viewer.