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