allow build for auroraos

This commit is contained in:
Denis Fedoseev 2023-05-23 18:58:15 +03:00
parent b7d9d3b18d
commit 48f54dc802
4 changed files with 26 additions and 2 deletions

View file

@ -3,7 +3,7 @@ Type=Application
Icon=harbour-sailtuner Icon=harbour-sailtuner
Exec=harbour-sailtuner Exec=harbour-sailtuner
X-Nemo-Application-Type=silica-qt5 X-Nemo-Application-Type=silica-qt5
Name=SailTuner Name=Tuner
# translation example: # translation example:
# your app name in German locale (de) # your app name in German locale (de)
# #
@ -11,3 +11,9 @@ Name=SailTuner
# a different app name in German locale (de). # a different app name in German locale (de).
Name[fr]=Accordeur Name[fr]=Accordeur
Name[en]=Tuner Name[en]=Tuner
[X-Sailjail]
OrganizationName=de.whataco
ApplicationName=harbour-sailtuner
Permissions=Microphone

View file

@ -9,7 +9,7 @@ DEFINES += TARGET=\""$(TARGET")\"
PKGCONFIG += libpulse-simple audioresource PKGCONFIG += libpulse-simple audioresource
SAILFISHAPP_ICONS = 86x86 108x108 128x128 256x256 SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172 256x256
RESOURCES += \ RESOURCES += \
qml/sailfish.qrc \ qml/sailfish.qrc \

View file

@ -50,6 +50,17 @@ Page {
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
} }
Label {
anchors.horizontalCenter: parent.horizontalCenter
font.pixelSize: Theme.fontSizeSmall
text: "Denis Fedoseev"
}
Label {
anchors.horizontalCenter: parent.horizontalCenter
font.pixelSize: Theme.fontSizeSmall
text: "2023"
}
Label { Label {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeSmall

View file

@ -21,11 +21,17 @@ URL: http://legolas.vefblog.net/
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
#Source100: harbour-saildbmeter.yaml #Source100: harbour-saildbmeter.yaml
Requires: sailfishsilica-qt5 >= 0.10.9 Requires: sailfishsilica-qt5 >= 0.10.9
Requires: nemo-qml-plugin-configuration-qt5
Requires: qt5-qtmultimedia-plugin-audio-pulseaudio
BuildRequires: pkgconfig(sailfishapp) >= 1.0.2 BuildRequires: pkgconfig(sailfishapp) >= 1.0.2
BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: pulseaudio-devel
BuildRequires: libaudioresource-devel
%description %description
Instrumental multi-temperament chromatic tuner Instrumental multi-temperament chromatic tuner
@ -68,6 +74,7 @@ desktop-file-install --delete-original \
%attr(644,-,-) %{_datadir}/icons/hicolor/86x86/apps/%{name}.png %attr(644,-,-) %{_datadir}/icons/hicolor/86x86/apps/%{name}.png
%attr(644,-,-) %{_datadir}/icons/hicolor/108x108/apps/%{name}.png %attr(644,-,-) %{_datadir}/icons/hicolor/108x108/apps/%{name}.png
%attr(644,-,-) %{_datadir}/icons/hicolor/128x128/apps/%{name}.png %attr(644,-,-) %{_datadir}/icons/hicolor/128x128/apps/%{name}.png
%attr(644,-,-) %{_datadir}/icons/hicolor/172x172/apps/%{name}.png
%attr(644,-,-) %{_datadir}/icons/hicolor/256x256/apps/%{name}.png %attr(644,-,-) %{_datadir}/icons/hicolor/256x256/apps/%{name}.png
# >> files # >> files
# << files # << files