* [gentoo-commits] repo/proj/guru:dev commit in: app-text/sioyek/, app-text/sioyek/files/
@ 2023-07-05 7:44 Gonçalo Negrier Duarte
0 siblings, 0 replies; only message in thread
From: Gonçalo Negrier Duarte @ 2023-07-05 7:44 UTC (permalink / raw
To: gentoo-commits
commit: d7a00602ec7e25d3472d4060b58388c79d7b98ed
Author: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Wed Jul 5 07:41:22 2023 +0000
Commit: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Wed Jul 5 07:41:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d7a00602
app-text/sioyek: new package, add 9999
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>
app-text/sioyek/files/sioyek.desktop | 12 +++++++++++
app-text/sioyek/metadata.xml | 7 ++++++
app-text/sioyek/sioyek-9999.ebuild | 42 ++++++++++++++++++++++++++++++++++++
3 files changed, 61 insertions(+)
diff --git a/app-text/sioyek/files/sioyek.desktop b/app-text/sioyek/files/sioyek.desktop
new file mode 100644
index 000000000..f1afd70c8
--- /dev/null
+++ b/app-text/sioyek/files/sioyek.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=Sioyek
+Comment=PDF viewer for reading research papers and technical books
+Keywords=pdf;viewer;reader;research;
+TryExec=/opt/sioyek/sioyek
+Exec=/opt/sioyek/sioyek %f
+StartupNotify=true
+Terminal=false
+Type=Application
+Icon=sioyek-icon-linux
+Categories=Development;Viewer;
+MimeType=application/pdf;
\ No newline at end of file
diff --git a/app-text/sioyek/metadata.xml b/app-text/sioyek/metadata.xml
new file mode 100644
index 000000000..f85aa3197
--- /dev/null
+++ b/app-text/sioyek/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">ahrm/sioyek</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/sioyek/sioyek-9999.ebuild b/app-text/sioyek/sioyek-9999.ebuild
new file mode 100644
index 000000000..9c0dc1bcf
--- /dev/null
+++ b/app-text/sioyek/sioyek-9999.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit git-r3 qmake-utils desktop
+EGIT_REPO_URI="https://github.com/ahrm/sioyek.git"
+DESCRIPTION="Sioyek is a PDF viewer with a focus on textbooks and research papers"
+HOMEPAGE="https://github.com/ahrm/sioyek"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+BDEPEND="media-libs/harfbuzz
+ dev-qt/qtbase
+ dev-qt/qt3d"
+
+KEYWORDS="~amd64~x86"
+
+src_prepare() {
+ #Make Mupdf specific for build
+ pushd mupdf || die
+ emake USE_SYSTEM_HARFBUZZ=yes
+ popd || die
+
+ eapply_user
+ eqmake5 "CONFIG+=linux_app_image" pdf_viewer_build_config.pro
+}
+src_install() {
+ #intall bin and shaders
+ insinto /opt/sioyek
+ doins sioyek
+ fperms +x /opt/sioyek/sioyek
+ insinto /opt/sioyek/shaders
+ doins pdf_viewer/shaders/*
+
+ domenu "${FILESDIR}/sioyek.desktop"
+ doicon resources/sioyek-icon-linux.png
+ insinto /usr/share/sioyek && doins tutorial.pdf pdf_viewer/keys.config pdf_viewer/prefs.config
+ doman resources/sioyek.1
+
+}
\ No newline at end of file
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-05 7:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-05 7:44 [gentoo-commits] repo/proj/guru:dev commit in: app-text/sioyek/, app-text/sioyek/files/ Gonçalo Negrier Duarte
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox