From 3bb5efb45ea703154162906aa4846227d0f2cad1 Mon Sep 17 00:00:00 2001 From: dkwo Date: Thu, 10 Nov 2022 17:53:27 -0500 Subject: [PATCH] sioyek: add .desktop file, restore arch --- srcpkgs/sioyek/patches/desktop.patch | 22 ++++++++++++++++++++++ srcpkgs/sioyek/template | 4 +++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/sioyek/patches/desktop.patch diff --git a/srcpkgs/sioyek/patches/desktop.patch b/srcpkgs/sioyek/patches/desktop.patch new file mode 100644 index 000000000000..bf42608b3baa --- /dev/null +++ b/srcpkgs/sioyek/patches/desktop.patch @@ -0,0 +1,22 @@ +diff --git a/resources/sioyek.desktop b/resources/sioyek.desktop +index cf8b6b2..917fd62 100644 +--- a/resources/sioyek.desktop ++++ b/resources/sioyek.desktop +@@ -1,8 +1,12 @@ + [Desktop Entry] +-Version=1.0 +-Type=Application +-MimeType=application/pdf; + Name=Sioyek +-Exec=sioyek ++Comment=PDF viewer for reading research papers and technical books ++Keywords=pdf;viewer;reader;research; ++TryExec=sioyek ++Exec=sioyek %U ++StartupNotify=true ++Terminal=false ++Type=Application + Icon=sioyek-icon-linux +-Categories=Development; ++Categories=Development;Viewer; ++MimeType=application/pdf; diff --git a/srcpkgs/sioyek/template b/srcpkgs/sioyek/template index ef5c44f9096d..dab5c744f830 100644 --- a/srcpkgs/sioyek/template +++ b/srcpkgs/sioyek/template @@ -1,7 +1,8 @@ # Template file for 'sioyek' pkgname=sioyek version=1.5.0 -revision=1 +revision=2 +archs="~aarch64* ~arm*" build_style=qmake hostmakedepends="qt5-qmake qt5-host-tools qt5-opengl qt5-gui qt5-widgets qt5-network" @@ -30,5 +31,6 @@ do_install() { vmkdir usr/share/sioyek/shaders vcopy pdf_viewer/shaders/* usr/share/sioyek/shaders vinstall tutorial.pdf 644 usr/share/sioyek + vinstall resources/sioyek.desktop 644 usr/share/applications vman resources/sioyek.1 }