Skip to content

Instantly share code, notes, and snippets.

@tanghus
Created August 19, 2019 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tanghus/840ce2ad46ea691f2b932e796dade0d8 to your computer and use it in GitHub Desktop.
Save tanghus/840ce2ad46ea691f2b932e796dade0d8 to your computer and use it in GitHub Desktop.
#harbour-currencyconverter.pro
TARGET = harbour-currencyconverter
DEPLOYMENT_PATH = /usr/share/$${TARGET}
DISTFILES += qml/cover/CoverPage.qml \
qml/harbour-currencyconverter.qml \
qml/pages/FrontPage.qml \
qml/pages/SettingsDialog.qml \
qml/pages/SearchPage.qml \
qml/pages/AboutPage.qml \
qml/components/Settings.qml \
qml/components/JSONListModel.qml \
qml/components/CurrencyModel.qml \
qml/components/CurrencyItem.qml \
qml/components/CurrencyCombo.qml \
qml/components/Notification.qml \
qml/components/Storage.qml
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
CONFIG += sailfishapp_i18n
# TRANSLATION
#lupdate_only{
# Add .qml files here
#}
TRANSLATIONS += translations/*.ts
INSTALLS += flags
flags.files = flags
flags.path = $${DEPLOYMENT_PATH}
# The build for the app is in src.pro and there's a subproject fileproxy
TEMPLATE = subdirs
SUBDIRS += src/fileproxy src
# harbour-currencyconverter.yaml
Name: harbour-currencyconverter
Summary: Currency Converter
Version: 0.3
Release: 1
Group: Qt/Qt
URL: http://example.org/
License: LICENSE
Sources:
- '%{name}-%{version}.tar.bz2'
Description: |
Short description of my Sailfish OS Application
Configure: none
Builder: qmake5
PkgConfigBR:
- sailfishapp >= 1.0.2
- Qt5Core
- Qt5Qml
- Qt5Quick
Requires:
- sailfishsilica-qt5 >= 0.10.9
# All installed files
Files:
- '%{_bindir}'
- '%{_datadir}/%{name}'
- '%{_datadir}/%{name}/icons'
- '%{_datadir}/applications/%{name}.desktop'
- '%{_datadir}/icons/hicolor/*/apps/%{name}.png'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment