2020-09-15 14:53:13 +00:00
|
|
|
Name: harbour-sailfin
|
|
|
|
Summary: Sailfin
|
2020-10-10 16:05:57 +00:00
|
|
|
Version: 0.3.0
|
2020-09-15 14:53:13 +00:00
|
|
|
Release: 1
|
|
|
|
# The contents of the Group field should be one of the groups listed here:
|
|
|
|
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
|
|
|
|
Group: Qt/Qt
|
|
|
|
URL: https://chris.netsoj.nl/projects/harbour-sailfin
|
2020-09-26 00:51:37 +00:00
|
|
|
License: LGPL-2.0-or-later
|
2020-10-08 01:00:08 +00:00
|
|
|
# This must be generated before uploading a package to a remote build service. Usually this line does not need to be modified.
|
2020-09-15 14:53:13 +00:00
|
|
|
Sources:
|
|
|
|
- '%{name}-%{version}.tar.bz2'
|
|
|
|
Description: |
|
|
|
|
Play video's and music from your Jellyfin media player on your Sailfish device
|
2020-10-25 18:58:02 +00:00
|
|
|
Builder: cmake
|
2020-09-15 14:53:13 +00:00
|
|
|
|
|
|
|
# This section specifies build dependencies that are resolved using pkgconfig.
|
|
|
|
# This is the preferred way of specifying build dependencies for your package.
|
2020-10-27 15:31:34 +00:00
|
|
|
PkgBR:
|
|
|
|
- git
|
2020-09-15 14:53:13 +00:00
|
|
|
PkgConfigBR:
|
|
|
|
- sailfishapp >= 1.0.2
|
|
|
|
- Qt5Core
|
|
|
|
- Qt5Qml
|
|
|
|
- Qt5Quick
|
2020-10-02 10:20:54 +00:00
|
|
|
- Qt5WebSockets
|
2020-09-15 14:53:13 +00:00
|
|
|
|
|
|
|
# Build dependencies without a pkgconfig setup can be listed here
|
|
|
|
# PkgBR:
|
|
|
|
# - package-needed-to-build
|
|
|
|
|
|
|
|
# Runtime dependencies which are not automatically detected
|
|
|
|
Requires:
|
|
|
|
- sailfishsilica-qt5 >= 0.10.9
|
2020-10-02 10:20:54 +00:00
|
|
|
- qt5-qtdeclarative-import-xmllistmodel
|
2020-09-15 14:53:13 +00:00
|
|
|
|
|
|
|
# All installed files
|
|
|
|
Files:
|
|
|
|
- '%{_bindir}'
|
|
|
|
- '%{_datadir}/%{name}'
|
|
|
|
- '%{_datadir}/applications/%{name}.desktop'
|
|
|
|
- '%{_datadir}/icons/hicolor/*/apps/%{name}.png'
|
2020-10-08 01:00:08 +00:00
|
|
|
|
|
|
|
Macros:
|
|
|
|
- '__provides_exclude_from; ^%{_datadir}/.*$'
|
|
|
|
- '__requires_exclude; ^libjellyfin-qt.*$'
|
2021-01-14 16:43:42 +00:00
|
|
|
# Turn off facist build policy
|
|
|
|
- '_unpackaged_files_terminate_build; 0 '
|
2020-09-15 14:53:13 +00:00
|
|
|
|
2020-10-25 18:58:02 +00:00
|
|
|
ConfigOptions:
|
2020-10-25 23:14:46 +00:00
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
2020-10-25 18:58:02 +00:00
|
|
|
- -DSAILFISHOS=1
|
|
|
|
- -DSAILFIN_VERSION='%{version}-%{release}'
|
2021-01-14 16:43:42 +00:00
|
|
|
|
|
|
|
# ExtraInstall: |
|
|
|
|
# mv /home/deploy/installroot/home/deploy/installroot/usr/share/harbour-sailfin/plugins /home/deploy/installroot/usr/share/harbour-sailfin/plugins
|
2020-09-27 20:41:35 +00:00
|
|
|
|
2020-09-15 14:53:13 +00:00
|
|
|
# For more information about yaml and what's supported in Sailfish OS
|
|
|
|
# build system, please see https://wiki.merproject.org/wiki/Spectacle
|