commit:     13571ae4a9fde0367adae99890c7bb37a9efc467
Author:     Alexander Golubev <fatzer2 <AT> gmail <DOT> com>
AuthorDate: Fri Mar  6 16:30:40 2026 +0000
Commit:     David Roman <stkw0 <AT> disroot <DOT> org>
CommitDate: Fri Mar  6 17:35:56 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=13571ae4

media-gfx/pdf4qt: add 1.5.3.1

Also:
- add USE=debug
- revbump 1.5.3.1 {=>-r1} (should have been done in cdb4b8754)

Signed-off-by: Alexander Golubev <fatzer2 <AT> gmail.com>

 media-gfx/pdf4qt/Manifest                                          | 1 +
 .../pdf4qt/{pdf4qt-1.5.1.0.ebuild => pdf4qt-1.5.1.0-r1.ebuild}     | 0
 media-gfx/pdf4qt/{pdf4qt-9999.ebuild => pdf4qt-1.5.3.1.ebuild}     | 7 +++++--
 media-gfx/pdf4qt/pdf4qt-9999.ebuild                                | 7 +++++--
 4 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/media-gfx/pdf4qt/Manifest b/media-gfx/pdf4qt/Manifest
index 700ff35c23..5e71be57e5 100644
--- a/media-gfx/pdf4qt/Manifest
+++ b/media-gfx/pdf4qt/Manifest
@@ -1 +1,2 @@
 DIST PDF4QT-1.5.1.0.tar.gz 4560158 BLAKE2B 
ac479bae1dbae3e3b065ded2e9991c5cd4c2a86f172110c50adf2dd3c04e3cc55b963764a569e8e3770172e6a5c3a1d5cead4b288db4a7dbe4bc009bf67bcbd9
 SHA512 
483980223e1dd365cb850ac09de10deb8a9ef676a642028ce55bd2c4f315619eb0b4721ad217476c8ff95ab53bbbe49bb7db2c2aae1e8ac4d8f3bfbac9519abc
+DIST PDF4QT-1.5.3.1.tar.gz 7346956 BLAKE2B 
1ac79d545e505105431b74978d60ff77d09f81db91a1514136225de19121b8d78e331b83bd0cd3c463f9a1e30c3c04b27427ab8d55960de049ab31aa3a41000a
 SHA512 
efbebf031104aced080624f59bc42c1a2d53f32a2d69d1e031015c51dca22dd85e84692a8dee7fbacc87a413e20fb572a9e51e26afcc77c13af2fd1d0a609e33

diff --git a/media-gfx/pdf4qt/pdf4qt-1.5.1.0.ebuild 
b/media-gfx/pdf4qt/pdf4qt-1.5.1.0-r1.ebuild
similarity index 100%
rename from media-gfx/pdf4qt/pdf4qt-1.5.1.0.ebuild
rename to media-gfx/pdf4qt/pdf4qt-1.5.1.0-r1.ebuild

diff --git a/media-gfx/pdf4qt/pdf4qt-9999.ebuild 
b/media-gfx/pdf4qt/pdf4qt-1.5.3.1.ebuild
similarity index 89%
copy from media-gfx/pdf4qt/pdf4qt-9999.ebuild
copy to media-gfx/pdf4qt/pdf4qt-1.5.3.1.ebuild
index 4737372d57..d28db56a64 100644
--- a/media-gfx/pdf4qt/pdf4qt-9999.ebuild
+++ b/media-gfx/pdf4qt/pdf4qt-1.5.3.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-inherit cmake xdg
+inherit cmake flag-o-matic xdg
 
 DESCRIPTION="Open source PDF WYSIWYG editor based on Qt"
 HOMEPAGE="https://jakubmelka.github.io/";
@@ -20,7 +20,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="test"
+IUSE="debug test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -48,6 +48,9 @@ PATCHES=(
 )
 
 src_configure() {
+       # without NDEBUG it shows annoying warning about keyboard accelerators 
reuse
+       use debug || append-cxxflags -DNDEBUG
+
        local mycmakeargs=(
                -DPDF4QT_INSTALL_DEPENDENCIES=OFF
                -DPDF4QT_INSTALL_TO_USR=OFF

diff --git a/media-gfx/pdf4qt/pdf4qt-9999.ebuild 
b/media-gfx/pdf4qt/pdf4qt-9999.ebuild
index 4737372d57..d28db56a64 100644
--- a/media-gfx/pdf4qt/pdf4qt-9999.ebuild
+++ b/media-gfx/pdf4qt/pdf4qt-9999.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-inherit cmake xdg
+inherit cmake flag-o-matic xdg
 
 DESCRIPTION="Open source PDF WYSIWYG editor based on Qt"
 HOMEPAGE="https://jakubmelka.github.io/";
@@ -20,7 +20,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="test"
+IUSE="debug test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -48,6 +48,9 @@ PATCHES=(
 )
 
 src_configure() {
+       # without NDEBUG it shows annoying warning about keyboard accelerators 
reuse
+       use debug || append-cxxflags -DNDEBUG
+
        local mycmakeargs=(
                -DPDF4QT_INSTALL_DEPENDENCIES=OFF
                -DPDF4QT_INSTALL_TO_USR=OFF

Reply via email to