From 17a58ed04debb889dad644dbe903dc985c71421b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?= Date: Tue, 11 Jul 2023 18:12:17 +0100 Subject: [PATCH] app-text/sioyek: fix ebuild MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gonçalo Negrier Duarte --- app-text/sioyek/sioyek-9999.ebuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/app-text/sioyek/sioyek-9999.ebuild b/app-text/sioyek/sioyek-9999.ebuild index 8d1c0d105a..1c53974a1b 100644 --- a/app-text/sioyek/sioyek-9999.ebuild +++ b/app-text/sioyek/sioyek-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit git-r3 qmake-utils desktop +inherit git-r3 qmake-utils desktop xdg 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" @@ -11,8 +11,8 @@ HOMEPAGE="https://github.com/ahrm/sioyek" LICENSE="GPL-3" SLOT="0" -BDEPEND="media-libs/harfbuzz - dev-qt/qtbase +BDEPEND="media-libs/harfbuzz + dev-qt/qtbase dev-qt/qt3d " @@ -22,8 +22,8 @@ src_compile() { emake USE_SYSTEM_HARFBUZZ=yes popd || die - eapply_user eqmake5 "CONFIG+=linux_app_image" pdf_viewer_build_config.pro + emake } src_install() { #intall bin and shaders @@ -37,5 +37,8 @@ src_install() { 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 +pkg_postinst() { + xdg_desktop_database_update +}