Search
SailfishOS Open Build Service
>
Projects
>
home:b100dian
:
sfos-hydrogen
>
harbour-hydrogen
> _service:tar_git:harbour-hydrogen.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:harbour-hydrogen.spec of Package harbour-hydrogen
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.32 # Name: harbour-hydrogen # >> macros %define zipversion sfos-0.4.1 # << macros Summary: hydrogen, a matrix client Version: 0.4.1+master.20240311230212.6.g24aa9ee Release: hackathon Group: Qt/Qt License: ASL 2.0 BuildArch: noarch URL: https://github.com/hydrogen-sailfishos/sfos-hydrogen Source0: %{name}-%{version}.tar.bz2 Source1: https://github.com/hydrogen-sailfishos/hydrogen-web/releases/download/%{zipversion}/release-%{zipversion}.zip Requires: sailfishsilica-qt5 >= 0.10.9 Requires: libsailfishapp-launcher Requires: sailfish-components-webview-qt5 BuildRequires: pkgconfig(sailfishapp) >= 1.0.3 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(qt5embedwidget) BuildRequires: pkgconfig(sailfishwebengine) BuildRequires: sailfish-svg2png BuildRequires: desktop-file-utils %description Hydrogen is "A minimal Matrix chat client, focused on performance, offline functionality, and broad browser support" This App packages Hydrogen matrix client in a webview + SailfishOS integration. %if 0%{?_chum} Title: Hydrogen Type: desktop-application Categories: - InstantMessaging - Network Custom: Repo: https://github.com/hydrogen-sailfishos/sfos-hydrogen PackageIcon: https://raw.githubusercontent.com/hydrogen-sailfishos/sfos-hydrogen/hackathon/icons/svgs/harbour-hydrogen.svg Links: Homepage: https://github.com/hydrogen-sailfishos/sfos-hydrogen Bugtracker: https://github.com/hydrogen-sailfishos/sfos-hydrogen/issues Hackathon: https://github.com/orgs/hydrogen-sailfishos/projects/1/ %endif %prep %setup -q -n %{name}-%{version} %if 0%{?sailfishos_version} if [ ! -f %{SOURCE1} ] then echo "Missing %{SOURCE1}" exit 1 fi pushd hydrogen unzip %{SOURCE1} popd %endif # >> setup # << setup %build # >> build pre # << build pre %qmake5 make %{?_smp_mflags} # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre %qmake5_install # >> install post # << install post desktop-file-install --delete-original \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}.desktop desktop-file-install --delete-original \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}-open-url.desktop %files %defattr(-,root,root,-) %defattr(0644,root,root,-) %{_datadir}/%{name} %{_datadir}/applications/%{name}*.desktop %{_datadir}/applications/%{name}-open-url.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg # >> files # << files %changelog