harbour-sailfin/rpm/harbour-sailfin.yaml

60 lines
1.8 KiB
YAML

Name: harbour-sailfin
Summary: Sailfin
Version: 0.4.0
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
License: LGPL-2.1-or-later
# This must be generated before uploading a package to a remote build service. Usually this line does not need to be modified.
Sources:
- '%{name}-%{version}.tar.bz2'
Description: |
Play video's and music from your Jellyfin media server on your Sailfish device
Builder: cmake
# This section specifies build dependencies that are resolved using pkgconfig.
# This is the preferred way of specifying build dependencies for your package.
PkgBR:
- git
PkgConfigBR:
- sailfishapp >= 1.0.2
- Qt5Core
- Qt5Qml
- Qt5Quick
- Qt5WebSockets
- mlite5
# 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
- qt5-qtdeclarative-import-xmllistmodel
# All installed files
Files:
- '%{_bindir}'
- '%{_datadir}/%{name}'
- '%{_datadir}/applications/%{name}.desktop'
- '%{_datadir}/icons/hicolor/*/apps/%{name}.png'
Macros:
- '__provides_exclude_from; ^%{_datadir}/.*$'
- '__requires_exclude; ^libJellyfinQt.*$'
# Turn off facist build policy
- '_unpackaged_files_terminate_build; 0 '
ConfigOptions:
- -DPLATFORM_SAILFISHOS=1
- -DSAILFIN_VERSION='%{version}-%{release}'
# ExtraInstall: |
# mv /home/deploy/installroot/home/deploy/installroot/usr/share/harbour-sailfin/plugins /home/deploy/installroot/usr/share/harbour-sailfin/plugins
# For more information about yaml and what's supported in Sailfish OS
# build system, please see https://wiki.merproject.org/wiki/Spectacle