commit:     f0c715b72c40a0cce096ebcb98315de5cba1b59a
Author:     Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
AuthorDate: Fri Dec 22 13:02:18 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 12:22:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0c715b7

dev-db/sqlitebrowser: revbump

Closes: https://bugs.gentoo.org/855254
Closes: https://bugs.gentoo.org/913047
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34420
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/sqlitebrowser/metadata.xml                          |  6 ++++++
 ...ebrowser-9999.ebuild => sqlitebrowser-3.12.2-r1.ebuild} | 14 ++++++++++----
 dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild             | 14 ++++++++++----
 3 files changed, 26 insertions(+), 8 deletions(-)

diff --git a/dev-db/sqlitebrowser/metadata.xml 
b/dev-db/sqlitebrowser/metadata.xml
index ed00998feb6b..1347829179ac 100644
--- a/dev-db/sqlitebrowser/metadata.xml
+++ b/dev-db/sqlitebrowser/metadata.xml
@@ -26,6 +26,12 @@
                d'un tableur, et, de ce fait, ne pas être contraint à apprendre 
des
                commandes SQL complexes.
        </longdescription>
+       <use>
+               <flag name="sqlcipher">Allow to open and to edit databases 
encrypted using <pkg>dev-db/sqlcipher</pkg></flag>
+       </use>
+       <use lang="fr">
+               <flag name="sqlcipher">Permettre d'ouvrir et d'éditer des bases 
de données chiffrées en utilisant <pkg>dev-db/sqlcipher</pkg></flag>
+       </use>
        <upstream>
                
<bugs-to>https://github.com/sqlitebrowser/sqlitebrowser/issues/</bugs-to>
                <remote-id type="github">sqlitebrowser/sqlitebrowser</remote-id>

diff --git a/dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild 
b/dev-db/sqlitebrowser/sqlitebrowser-3.12.2-r1.ebuild
similarity index 83%
copy from dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild
copy to dev-db/sqlitebrowser/sqlitebrowser-3.12.2-r1.ebuild
index d094723adf0a..cea98af250c9 100644
--- a/dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild
+++ b/dev-db/sqlitebrowser/sqlitebrowser-3.12.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit cmake xdg
+inherit cmake flag-o-matic xdg
 
 DESCRIPTION="A light GUI editor for SQLite databases"
 HOMEPAGE="https://sqlitebrowser.org/";
@@ -18,7 +18,7 @@ fi
 
 LICENSE="GPL-3+ MPL-2.0"
 SLOT="0"
-IUSE="test"
+IUSE="sqlcipher test"
 RESTRICT="!test? ( test )"
 
 DEPEND="
@@ -33,6 +33,7 @@ DEPEND="
        >=dev-qt/qtwidgets-5.5:5
        >=dev-qt/qtxml-5.5:5
        >=x11-libs/qscintilla-2.8.10:=
+       sqlcipher? ( dev-db/sqlcipher )
 "
 
 BDEPEND="
@@ -61,7 +62,12 @@ src_configure() {
                -DENABLE_TESTING=$(usex test)
                -DFORCE_INTERNAL_QCUSTOMPLOT=OFF
                -DFORCE_INTERNAL_QHEXEDIT=OFF
+               -Dsqlcipher=$(usex sqlcipher)
        )
 
+       # https://bugs.gentoo.org/855254
+       append-flags -fno-strict-aliasing
+       filter-lto
+
        cmake_src_configure
 }

diff --git a/dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild 
b/dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild
index d094723adf0a..cea98af250c9 100644
--- a/dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild
+++ b/dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit cmake xdg
+inherit cmake flag-o-matic xdg
 
 DESCRIPTION="A light GUI editor for SQLite databases"
 HOMEPAGE="https://sqlitebrowser.org/";
@@ -18,7 +18,7 @@ fi
 
 LICENSE="GPL-3+ MPL-2.0"
 SLOT="0"
-IUSE="test"
+IUSE="sqlcipher test"
 RESTRICT="!test? ( test )"
 
 DEPEND="
@@ -33,6 +33,7 @@ DEPEND="
        >=dev-qt/qtwidgets-5.5:5
        >=dev-qt/qtxml-5.5:5
        >=x11-libs/qscintilla-2.8.10:=
+       sqlcipher? ( dev-db/sqlcipher )
 "
 
 BDEPEND="
@@ -61,7 +62,12 @@ src_configure() {
                -DENABLE_TESTING=$(usex test)
                -DFORCE_INTERNAL_QCUSTOMPLOT=OFF
                -DFORCE_INTERNAL_QHEXEDIT=OFF
+               -Dsqlcipher=$(usex sqlcipher)
        )
 
+       # https://bugs.gentoo.org/855254
+       append-flags -fno-strict-aliasing
+       filter-lto
+
        cmake_src_configure
 }

Reply via email to