public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-text/sioyek/
@ 2023-07-05 15:10 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 10+ messages in thread
From: Gonçalo Negrier Duarte @ 2023-07-05 15:10 UTC (permalink / raw
  To: gentoo-commits

commit:     1961404c8c643b97e5fa35bebecfe42788ccdadf
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Wed Jul  5 15:02:24 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Wed Jul  5 15:09:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1961404c

app-text/sioyek: unkeyword 9999 for ~amd64~x86

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 app-text/sioyek/sioyek-9999.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/app-text/sioyek/sioyek-9999.ebuild b/app-text/sioyek/sioyek-9999.ebuild
index 9c0dc1bcf..2da14543a 100644
--- a/app-text/sioyek/sioyek-9999.ebuild
+++ b/app-text/sioyek/sioyek-9999.ebuild
@@ -13,9 +13,8 @@ SLOT="0"
 
 BDEPEND="media-libs/harfbuzz
     dev-qt/qtbase
-    dev-qt/qt3d"
-
-KEYWORDS="~amd64~x86"
+    dev-qt/qt3d
+"
 
 src_prepare() {
     #Make Mupdf specific for build


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/sioyek/
@ 2023-07-07 10:38 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 10+ messages in thread
From: Gonçalo Negrier Duarte @ 2023-07-07 10:38 UTC (permalink / raw
  To: gentoo-commits

commit:     fb901d3985fc25981f0555f6a0fce8084254dec4
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Fri Jul  7 10:33:47 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Fri Jul  7 10:33:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fb901d39

app-text/sioyek: fix spacing and some unneded white lines

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 app-text/sioyek/sioyek-9999.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app-text/sioyek/sioyek-9999.ebuild b/app-text/sioyek/sioyek-9999.ebuild
index 2da14543a..b2ea83dde 100644
--- a/app-text/sioyek/sioyek-9999.ebuild
+++ b/app-text/sioyek/sioyek-9999.ebuild
@@ -32,10 +32,9 @@ src_install() {
     fperms +x /opt/sioyek/sioyek
     insinto /opt/sioyek/shaders
     doins pdf_viewer/shaders/*
-
+    #Add Desktop file and icon
     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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/sioyek/
@ 2023-07-07 11:16 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 10+ messages in thread
From: Gonçalo Negrier Duarte @ 2023-07-07 11:16 UTC (permalink / raw
  To: gentoo-commits

commit:     9cb0fc927d7250ca6a12775c3bb1c60bec3206e1
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Fri Jul  7 11:15:45 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Fri Jul  7 11:16:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9cb0fc92

app-text/sioyek: change to src_compile

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 app-text/sioyek/sioyek-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/sioyek/sioyek-9999.ebuild b/app-text/sioyek/sioyek-9999.ebuild
index b2ea83dde..d94394edf 100644
--- a/app-text/sioyek/sioyek-9999.ebuild
+++ b/app-text/sioyek/sioyek-9999.ebuild
@@ -16,7 +16,7 @@ BDEPEND="media-libs/harfbuzz
     dev-qt/qt3d
 "
 
-src_prepare() {
+src_compile() {
     #Make Mupdf specific for build
     pushd mupdf || die
     emake USE_SYSTEM_HARFBUZZ=yes


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/sioyek/
@ 2023-07-07 22:47 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 10+ messages in thread
From: Gonçalo Negrier Duarte @ 2023-07-07 22:47 UTC (permalink / raw
  To: gentoo-commits

commit:     ca77a88fbcf87532b9e3647f6b94608022be4367
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Fri Jul  7 22:35:36 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Fri Jul  7 22:47:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ca77a88f

app-text/sioyek: improve ebuild

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 app-text/sioyek/sioyek-9999.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-text/sioyek/sioyek-9999.ebuild b/app-text/sioyek/sioyek-9999.ebuild
index d94394edf..976d9aa63 100644
--- a/app-text/sioyek/sioyek-9999.ebuild
+++ b/app-text/sioyek/sioyek-9999.ebuild
@@ -32,9 +32,10 @@ src_install() {
     fperms +x /opt/sioyek/sioyek
     insinto /opt/sioyek/shaders
     doins pdf_viewer/shaders/*
-    #Add Desktop file and icon
+
     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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/sioyek/
@ 2023-07-08 12:52 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 10+ messages in thread
From: Gonçalo Negrier Duarte @ 2023-07-08 12:52 UTC (permalink / raw
  To: gentoo-commits

commit:     25b46f5cbb12247ab93ec5dc0fe90f793064ed21
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Sat Jul  8 12:50:06 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Sat Jul  8 12:52:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=25b46f5c

app-text/sioyek: fix indentation tabs instead of spaces

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 app-text/sioyek/sioyek-9999.ebuild | 40 +++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/app-text/sioyek/sioyek-9999.ebuild b/app-text/sioyek/sioyek-9999.ebuild
index 976d9aa63..8d1c0d105 100644
--- a/app-text/sioyek/sioyek-9999.ebuild
+++ b/app-text/sioyek/sioyek-9999.ebuild
@@ -11,31 +11,31 @@ HOMEPAGE="https://github.com/ahrm/sioyek"
 LICENSE="GPL-3"
 SLOT="0"
 
-BDEPEND="media-libs/harfbuzz
-    dev-qt/qtbase
-    dev-qt/qt3d
+BDEPEND="media-libs/harfbuzz 
+	dev-qt/qtbase 
+	dev-qt/qt3d
 "
 
 src_compile() {
-    #Make Mupdf specific for build
-    pushd mupdf || die
-    emake USE_SYSTEM_HARFBUZZ=yes
-    popd || die
+	#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
+	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
+	#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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/sioyek/
@ 2023-07-11 17:14 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 10+ messages in thread
From: Gonçalo Negrier Duarte @ 2023-07-11 17:14 UTC (permalink / raw
  To: gentoo-commits

commit:     17a58ed04debb889dad644dbe903dc985c71421b
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue Jul 11 17:12:17 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Tue Jul 11 17:14:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17a58ed0

app-text/sioyek: fix ebuild

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 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 8d1c0d105..1c53974a1 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
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/sioyek/
@ 2023-07-26 13:03 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 10+ messages in thread
From: Gonçalo Negrier Duarte @ 2023-07-26 13:03 UTC (permalink / raw
  To: gentoo-commits

commit:     d419f92227112b9dc40f3a59acd98385105f9ef9
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Wed Jul 26 11:30:33 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Wed Jul 26 13:02:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d419f922

app-text/sioyek: add myself as a maintainer

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 app-text/sioyek/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/app-text/sioyek/metadata.xml b/app-text/sioyek/metadata.xml
index f85aa3197..3e093267c 100644
--- a/app-text/sioyek/metadata.xml
+++ b/app-text/sioyek/metadata.xml
@@ -1,6 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
+	<maintainer type="person">
+		<email>gonegrier.duarte@gmail.com</email>
+		<name>Gonçalo Negrier Duarte</name>
+	</maintainer>
 	<upstream>
 		<remote-id type="github">ahrm/sioyek</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/sioyek/
@ 2024-02-06 20:59 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 10+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-02-06 20:59 UTC (permalink / raw
  To: gentoo-commits

commit:     d080b413ea693ccae98f9716aa4d46ef63406fb5
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue Feb  6 20:25:50 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Tue Feb  6 20:59:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d080b413

app-text/sioyek: add 2.0.0

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 app-text/sioyek/Manifest                                    |  1 +
 app-text/sioyek/{sioyek-9999.ebuild => sioyek-2.0.0.ebuild} | 11 +++++++++--
 app-text/sioyek/sioyek-9999.ebuild                          | 11 +++++++++--
 3 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/app-text/sioyek/Manifest b/app-text/sioyek/Manifest
new file mode 100644
index 0000000000..35939db608
--- /dev/null
+++ b/app-text/sioyek/Manifest
@@ -0,0 +1 @@
+DIST sioyek-2.0.0.tar.gz 4900368 BLAKE2B 47361713265360cb291f39cccdbb2ecb4e0ec7db64e4ed02029b8d1ac8ecf06a90cd2f61ecd0d2dffc89638c82a16ac6e62f536290f614318fb3b92f2690f612 SHA512 3ed9959ddbc133b9c7bb241f8076da886b74790a475646911dc6d38724160ae8335020db308e405c60fce49b9260536861e8946199f1670dc8c2331e9fbd2e00

diff --git a/app-text/sioyek/sioyek-9999.ebuild b/app-text/sioyek/sioyek-2.0.0.ebuild
similarity index 79%
copy from app-text/sioyek/sioyek-9999.ebuild
copy to app-text/sioyek/sioyek-2.0.0.ebuild
index 1c53974a1b..55d22022e8 100644
--- a/app-text/sioyek/sioyek-9999.ebuild
+++ b/app-text/sioyek/sioyek-2.0.0.ebuild
@@ -3,8 +3,15 @@
 
 EAPI=8
 
-inherit git-r3 qmake-utils desktop xdg
-EGIT_REPO_URI="https://github.com/ahrm/sioyek.git"
+inherit qmake-utils desktop xdg
+
+if [[ ${PV} != 9999 ]]; then
+	SRC_URI="https://github.com/ahrm/sioyek/archive/refs/tags/v${PV}.tar.gz -> sioyek-2.0.0.tar.gz"
+else
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/ahrm/sioyek.git"
+fi
+
 DESCRIPTION="Sioyek is a PDF viewer with a focus on textbooks and research papers"
 HOMEPAGE="https://github.com/ahrm/sioyek"
 

diff --git a/app-text/sioyek/sioyek-9999.ebuild b/app-text/sioyek/sioyek-9999.ebuild
index 1c53974a1b..55d22022e8 100644
--- a/app-text/sioyek/sioyek-9999.ebuild
+++ b/app-text/sioyek/sioyek-9999.ebuild
@@ -3,8 +3,15 @@
 
 EAPI=8
 
-inherit git-r3 qmake-utils desktop xdg
-EGIT_REPO_URI="https://github.com/ahrm/sioyek.git"
+inherit qmake-utils desktop xdg
+
+if [[ ${PV} != 9999 ]]; then
+	SRC_URI="https://github.com/ahrm/sioyek/archive/refs/tags/v${PV}.tar.gz -> sioyek-2.0.0.tar.gz"
+else
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/ahrm/sioyek.git"
+fi
+
 DESCRIPTION="Sioyek is a PDF viewer with a focus on textbooks and research papers"
 HOMEPAGE="https://github.com/ahrm/sioyek"
 


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/sioyek/
@ 2024-02-19 12:39 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 10+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-02-19 12:39 UTC (permalink / raw
  To: gentoo-commits

commit:     e145d1eb03c30baeb19afe72efd92999066ef48e
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Mon Feb 19 10:38:21 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Mon Feb 19 12:39:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e145d1eb

app-text/sioyek: give a lack of qt6 support upstream
* (aslo qt3d, qtbase qt5 support drop on gentoo)
* and large number of mupdf dependencies
* the tag version will be removed for now

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 app-text/sioyek/Manifest            |  1 -
 app-text/sioyek/sioyek-2.0.0.ebuild | 52 -------------------------------------
 app-text/sioyek/sioyek-9999.ebuild  | 22 ++++++++++++++--
 3 files changed, 20 insertions(+), 55 deletions(-)

diff --git a/app-text/sioyek/Manifest b/app-text/sioyek/Manifest
deleted file mode 100644
index 35939db608..0000000000
--- a/app-text/sioyek/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST sioyek-2.0.0.tar.gz 4900368 BLAKE2B 47361713265360cb291f39cccdbb2ecb4e0ec7db64e4ed02029b8d1ac8ecf06a90cd2f61ecd0d2dffc89638c82a16ac6e62f536290f614318fb3b92f2690f612 SHA512 3ed9959ddbc133b9c7bb241f8076da886b74790a475646911dc6d38724160ae8335020db308e405c60fce49b9260536861e8946199f1670dc8c2331e9fbd2e00

diff --git a/app-text/sioyek/sioyek-2.0.0.ebuild b/app-text/sioyek/sioyek-2.0.0.ebuild
deleted file mode 100644
index 5a60a5fd18..0000000000
--- a/app-text/sioyek/sioyek-2.0.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit qmake-utils desktop xdg
-
-if [[ ${PV} != 9999 ]]; then
-	SRC_URI="https://github.com/ahrm/sioyek/archive/refs/tags/v${PV}.tar.gz -> sioyek-2.0.0.tar.gz"
-	KEYWORDS="~amd64"
-else
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/ahrm/sioyek.git"
-fi
-
-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:6
-	dev-qt/qt3d:6
-"
-
-src_compile() {
-	#Make Mupdf specific for build
-	pushd mupdf || die
-	emake USE_SYSTEM_HARFBUZZ=yes
-	popd || die
-
-	eqmake6 "CONFIG+=linux_app_image" pdf_viewer_build_config.pro
-	emake
-}
-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
-}
-
-pkg_postinst() {
-	xdg_desktop_database_update
-}

diff --git a/app-text/sioyek/sioyek-9999.ebuild b/app-text/sioyek/sioyek-9999.ebuild
index 5a60a5fd18..8e5fcaaaf3 100644
--- a/app-text/sioyek/sioyek-9999.ebuild
+++ b/app-text/sioyek/sioyek-9999.ebuild
@@ -2,11 +2,17 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
+MUPDF_PV=1.23.10
+ZLIB_PV=1.3.1
 
 inherit qmake-utils desktop xdg
 
 if [[ ${PV} != 9999 ]]; then
-	SRC_URI="https://github.com/ahrm/sioyek/archive/refs/tags/v${PV}.tar.gz -> sioyek-2.0.0.tar.gz"
+	SRC_URI="
+		https://github.com/ahrm/sioyek/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+		https://github.com/ArtifexSoftware/mupdf/archive/refs/tags/${MUPDF_PV}.tar.gz -> mupdf-${MUPDF_PV}.tar.gz
+		https://github.com/madler/zlib/archive/refs/tags/v${ZLIB_PV}.tar.gz -> zlib-${ZLIB_PV}.tar.gz
+		"
 	KEYWORDS="~amd64"
 else
 	inherit git-r3
@@ -19,11 +25,22 @@ HOMEPAGE="https://github.com/ahrm/sioyek"
 LICENSE="GPL-3"
 SLOT="0"
 
-BDEPEND="media-libs/harfbuzz
+BDEPEND="
+	media-libs/harfbuzz
 	dev-qt/qtbase:6
 	dev-qt/qt3d:6
 "
 
+src_prepare() {
+	default
+
+	if [[ ${PV} != 9999 ]]; then
+		rm -r "${S}/mupdf" "${S}/zlib" || die
+		mv "${WORKDIR}/mupdf-${MUPDF_PV}" "${S}/mupdf" || die
+		mv "${WORKDIR}/zlib-${ZLIB_PV}" "${S}/zlib" || die
+	fi
+}
+
 src_compile() {
 	#Make Mupdf specific for build
 	pushd mupdf || die
@@ -33,6 +50,7 @@ src_compile() {
 	eqmake6 "CONFIG+=linux_app_image" pdf_viewer_build_config.pro
 	emake
 }
+
 src_install() {
 	#intall bin and shaders
 	insinto /opt/sioyek


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/sioyek/
@ 2024-02-19 12:39 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 10+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-02-19 12:39 UTC (permalink / raw
  To: gentoo-commits

commit:     8024b2ea0526fa96897a49150c69865ab5ab61c0
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Mon Feb 19 10:16:32 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Mon Feb 19 12:39:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8024b2ea

app-text/sioyek: update to qt6

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 app-text/sioyek/sioyek-2.0.0.ebuild | 7 ++++---
 app-text/sioyek/sioyek-9999.ebuild  | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/app-text/sioyek/sioyek-2.0.0.ebuild b/app-text/sioyek/sioyek-2.0.0.ebuild
index 55d22022e8..5a60a5fd18 100644
--- a/app-text/sioyek/sioyek-2.0.0.ebuild
+++ b/app-text/sioyek/sioyek-2.0.0.ebuild
@@ -7,6 +7,7 @@ inherit qmake-utils desktop xdg
 
 if [[ ${PV} != 9999 ]]; then
 	SRC_URI="https://github.com/ahrm/sioyek/archive/refs/tags/v${PV}.tar.gz -> sioyek-2.0.0.tar.gz"
+	KEYWORDS="~amd64"
 else
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/ahrm/sioyek.git"
@@ -19,8 +20,8 @@ LICENSE="GPL-3"
 SLOT="0"
 
 BDEPEND="media-libs/harfbuzz
-	dev-qt/qtbase
-	dev-qt/qt3d
+	dev-qt/qtbase:6
+	dev-qt/qt3d:6
 "
 
 src_compile() {
@@ -29,7 +30,7 @@ src_compile() {
 	emake USE_SYSTEM_HARFBUZZ=yes
 	popd || die
 
-	eqmake5 "CONFIG+=linux_app_image" pdf_viewer_build_config.pro
+	eqmake6 "CONFIG+=linux_app_image" pdf_viewer_build_config.pro
 	emake
 }
 src_install() {

diff --git a/app-text/sioyek/sioyek-9999.ebuild b/app-text/sioyek/sioyek-9999.ebuild
index 55d22022e8..5a60a5fd18 100644
--- a/app-text/sioyek/sioyek-9999.ebuild
+++ b/app-text/sioyek/sioyek-9999.ebuild
@@ -7,6 +7,7 @@ inherit qmake-utils desktop xdg
 
 if [[ ${PV} != 9999 ]]; then
 	SRC_URI="https://github.com/ahrm/sioyek/archive/refs/tags/v${PV}.tar.gz -> sioyek-2.0.0.tar.gz"
+	KEYWORDS="~amd64"
 else
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/ahrm/sioyek.git"
@@ -19,8 +20,8 @@ LICENSE="GPL-3"
 SLOT="0"
 
 BDEPEND="media-libs/harfbuzz
-	dev-qt/qtbase
-	dev-qt/qt3d
+	dev-qt/qtbase:6
+	dev-qt/qt3d:6
 "
 
 src_compile() {
@@ -29,7 +30,7 @@ src_compile() {
 	emake USE_SYSTEM_HARFBUZZ=yes
 	popd || die
 
-	eqmake5 "CONFIG+=linux_app_image" pdf_viewer_build_config.pro
+	eqmake6 "CONFIG+=linux_app_image" pdf_viewer_build_config.pro
 	emake
 }
 src_install() {


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-02-19 12:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-19 12:39 [gentoo-commits] repo/proj/guru:dev commit in: app-text/sioyek/ Gonçalo Negrier Duarte
  -- strict thread matches above, loose matches on Subject: below --
2024-02-19 12:39 Gonçalo Negrier Duarte
2024-02-06 20:59 Gonçalo Negrier Duarte
2023-07-26 13:03 Gonçalo Negrier Duarte
2023-07-11 17:14 Gonçalo Negrier Duarte
2023-07-08 12:52 Gonçalo Negrier Duarte
2023-07-07 22:47 Gonçalo Negrier Duarte
2023-07-07 11:16 Gonçalo Negrier Duarte
2023-07-07 10:38 Gonçalo Negrier Duarte
2023-07-05 15:10 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