mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-25 02:15:17 +00:00
Chris Josten
1e80ceb697
I finally got deserializing lists working. Exposing them to QML was not a trivial task either. Note that I didn't do it the clean way. Nested lists are not supported. But it works! Because I got so frustarted at one point trying to implement things the right way, I restructured the project to seperate the Sailfish code from the Qt code and created a new, empty desktop project. The Qt code has been transformed into a happy little library, to which the Sailfish OS application links. Note that QMake doesn't seem to strip the library for some reason.
52 lines
1.5 KiB
YAML
52 lines
1.5 KiB
YAML
Name: harbour-sailfin
|
|
Summary: Sailfin
|
|
Version: 0.2.1
|
|
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.0-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 player on your Sailfish device
|
|
Builder: qmake5
|
|
|
|
# This section specifies build dependencies that are resolved using pkgconfig.
|
|
# This is the preferred way of specifying build dependencies for your package.
|
|
PkgConfigBR:
|
|
- sailfishapp >= 1.0.2
|
|
- Qt5Core
|
|
- Qt5Qml
|
|
- Qt5Quick
|
|
- Qt5WebSockets
|
|
|
|
# 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; ^libjellyfin-qt.*$'
|
|
|
|
QMakeOptions:
|
|
- OS_SAILFISHOS=1
|
|
- SAILFIN_VERSION='%{version}-%{release}'
|
|
|
|
# For more information about yaml and what's supported in Sailfish OS
|
|
# build system, please see https://wiki.merproject.org/wiki/Spectacle
|