mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-text/sioyek: new package, add 9999
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
12
app-text/sioyek/files/sioyek.desktop
Normal file
12
app-text/sioyek/files/sioyek.desktop
Normal file
@@ -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;
|
||||
7
app-text/sioyek/metadata.xml
Normal file
7
app-text/sioyek/metadata.xml
Normal file
@@ -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>
|
||||
42
app-text/sioyek/sioyek-9999.ebuild
Normal file
42
app-text/sioyek/sioyek-9999.ebuild
Normal file
@@ -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
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user