mirror of
https://abf.rosa.ru/djam/clementine.git
synced 2025-02-23 23:12:56 +00:00
1.4.1
This commit is contained in:
parent
23a523839f
commit
ecc15e2309
2 changed files with 23 additions and 11 deletions
1
.abf.yml
1
.abf.yml
|
@ -1,3 +1,4 @@
|
|||
sources:
|
||||
Clementine-1.4.1-11-gcecc1c1b5.tar.gz: 03cc3cf9543d4740475d0a10e9d0502158ec569c
|
||||
Clementine-qt5.zip: 2fd9fd0acc1f33cd9d1d92520e5a86c8a227e44a
|
||||
clementine-20180812.tar.xz: 50180afc9e43c2f9795b8394a4c8bf93e9461401
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
%define shortcommit gcecc1c1b5
|
||||
%define gitrelease 11
|
||||
|
||||
######################
|
||||
# Hardcode PLF build
|
||||
%bcond_with plf
|
||||
|
@ -18,14 +21,15 @@
|
|||
|
||||
Summary: A cross-platform music player based on Amarok 1.4
|
||||
Name: clementine
|
||||
Version: 1.3.1
|
||||
Release: 10%{?extrarelsuffix}
|
||||
Version: 1.4.1
|
||||
Release: 1%{?extrarelsuffix}
|
||||
License: GPLv3+
|
||||
Group: Sound
|
||||
Url: http://www.clementine-player.org/
|
||||
URL: http://www.clementine-player.org/
|
||||
#Source0: https://github.com/clementine-player/Clementine/archive/%%{oname}-%%{version}.tar.gz
|
||||
#Source0: %{name}-%{gitdate}.tar.xz
|
||||
Source0: %{oname}-qt5.zip
|
||||
#Source0: %{oname}-qt5.zip
|
||||
Source0: https://github.com/clementine-player/Clementine/archive/%{version}-%{gitrelease}-%{shortcommit}/%{oname}-%{version}-%{gitrelease}-%{shortcommit}.tar.gz
|
||||
Source1: %{oname}.conf
|
||||
Source100: %{name}.rpmlintrc
|
||||
# The sources version is still 1.3.1: fake a new one...
|
||||
|
@ -47,6 +51,7 @@ Patch7: clementine-1.3.1-sqlite-3.12.patch
|
|||
# Our gxx does not know a thing about no-unknown-warning-option
|
||||
# and no-unused-private-field
|
||||
Patch8: clementine-1.3.2-fix-unkwnon-gcc-commands.patch
|
||||
Patch9: clementine-fix-version.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gettext
|
||||
BuildRequires: qt5-linguist
|
||||
|
@ -89,6 +94,7 @@ BuildRequires: pkgconfig(Qt5DBus)
|
|||
BuildRequires: pkgconfig(Qt5Test)
|
||||
|
||||
BuildRequires: pkgconfig(libprojectM)
|
||||
BuildRequires: git-core
|
||||
|
||||
# For Google Drive and Amazon Cloud integration
|
||||
BuildRequires: pkgconfig(libsparsehash)
|
||||
|
@ -136,26 +142,31 @@ Features:
|
|||
%endif
|
||||
#{_datadir}/kde4/services/%{name}-*.protocol
|
||||
%{_datadir}/kservices5/%{name}-*.protocol
|
||||
#{_datadir}/appdata/%{name}.appdata.xml
|
||||
%{_datadir}/metainfo/%{name}.appdata.xml
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_iconsdir}/hicolor/*/apps/%{name}.*
|
||||
%{_datadir}/metainfo/*.appdata.xml
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_iconsdir}/hicolor/*/apps/*.png
|
||||
%{_iconsdir}/hicolor/scalable/apps/org.clementine_player.Clementine.svg
|
||||
%{_datadir}/%{name}/projectm-presets/*
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
%prep
|
||||
%setup -qn %{oname}-qt5
|
||||
%setup -qn %{oname}-%{version}-%{gitrelease}-%{shortcommit}
|
||||
#apply_patches
|
||||
%patch9 -p1
|
||||
|
||||
# Fix perms
|
||||
find . -name "*.hpp" -o -name "*.h" -o -name ".cpp" |xargs chmod 0644
|
||||
|
||||
#sed -i -e '/INCLUDE_GIT_REVISION/s/\ ON/\ OFF/g' \
|
||||
# -e '/HAS_GIT_REVISION/s/\_ON/\ OFF/g' \
|
||||
# -e '/CLEMENTINE_VERSION_PATCH/s/0/1/' \
|
||||
# -e '/CLEMENTINE_VERSION_PRERELEASE/d' \
|
||||
# cmake/Version.cmake
|
||||
|
||||
%build
|
||||
%cmake_qt5 \
|
||||
-DBUNDLE_PROJECTM_PRESETS=ON \
|
||||
-DBUILD_WERROR=OFF
|
||||
|
||||
%make VERBOSE=1
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue