summaryrefslogtreecommitdiff
path: root/dev-db/sqlitebrowser
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-20 14:08:57 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-20 14:08:57 +0000
commit6aa0d33a65c735f3148967b62316c2e71f43589a (patch)
tree4ddfb479a93b928f4ad0507a58e779e6de3eb403 /dev-db/sqlitebrowser
parenta332b8e207ac6a51fa349c699b486d870c9cdc70 (diff)
gentoo auto-resync : 20:01:2024 - 14:08:56
Diffstat (limited to 'dev-db/sqlitebrowser')
-rw-r--r--dev-db/sqlitebrowser/Manifest5
-rw-r--r--dev-db/sqlitebrowser/metadata.xml6
-rw-r--r--dev-db/sqlitebrowser/sqlitebrowser-3.12.2-r1.ebuild73
-rw-r--r--dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild14
4 files changed, 92 insertions, 6 deletions
diff --git a/dev-db/sqlitebrowser/Manifest b/dev-db/sqlitebrowser/Manifest
index 9b5bc3d1906c..bb2b850bf819 100644
--- a/dev-db/sqlitebrowser/Manifest
+++ b/dev-db/sqlitebrowser/Manifest
@@ -1,4 +1,5 @@
DIST sqlitebrowser-3.12.2.tar.gz 3990817 BLAKE2B a0c1495814a814638428fa50e55d5afeb2d3f5c80c9aafbdea3cc444e8c681c48acd1f24126945a89d7284c3f0a23979f2b3541fae7c7a70803f7e7ad69be6f4 SHA512 a6afc0a4286f07adb7038f3a010c93e14204b477bde27b1599c9bfe3390422d3edfaa2a9381b1f13e63a7aaf90e931ee85358eb8b2c15b6ea55818d29c59395f
+EBUILD sqlitebrowser-3.12.2-r1.ebuild 1473 BLAKE2B 00abd85c9555252c8ade5030423ca23057fc22949e1ced2da09fb65fa00bc737a1c7aa8c1fbd761f8a4162c551cf4ff665b465540b5af98bf477e14900a91100 SHA512 03cd2a872b4dc330a9bf9866f666ca2224c0d8a66ee89397c89b705a8f575c9179d1f055d36e824281447052cc174a54e299cd41e59f68411db3c91832ffc46b
EBUILD sqlitebrowser-3.12.2.ebuild 1301 BLAKE2B bedc37ffe74d907f6a6e0a9e0ea98dfb7af3a533f00de9a62977f15c1409efb99608c627f999c04619379f29187741336b54aee15fa89ae41682350bdcd91360 SHA512 1cf29aa2984418c8c982cb722e06d47e01c0247f4655332167c9f83537b3a698f496ffab9ed2869d7bee1bb731b23fff22181e0f9791b6071e6cfd0d51ad653c
-EBUILD sqlitebrowser-9999.ebuild 1303 BLAKE2B 9c1f5eaa7fc2fcf8a73a53aa3b452d266ee5171e8597f23f0265c94e4b05ca84cc6dfed45ad971f0bcb81ebf5a7c3faad765fcda3721c1ccc271d4ba8c9251e4 SHA512 0eed5940ea60d165662c6770dc3a22ca4f82ca3d89b98ddcd92d77ea7c9baa5faba0e7d6dd23b65fd39e330422147c65f1cac4518f12f12336c532089634653a
-MISC metadata.xml 1506 BLAKE2B e52a311da6408b28b570e975745f05607d88a7b0fd2e6144ef008664ddaed062b67f355a141f61d926448829694907e2474d0d0b39088a7c7c8f8a509934d344 SHA512 a4ed70e46b0e86e266ce4a30f401517ab83dcef51fd048047e2dcd13b9c5cc7d9e985e69de5df73f670eaf969a86f835b65035e7093f9c195464dcb4ea09de7b
+EBUILD sqlitebrowser-9999.ebuild 1473 BLAKE2B 00abd85c9555252c8ade5030423ca23057fc22949e1ced2da09fb65fa00bc737a1c7aa8c1fbd761f8a4162c551cf4ff665b465540b5af98bf477e14900a91100 SHA512 03cd2a872b4dc330a9bf9866f666ca2224c0d8a66ee89397c89b705a8f575c9179d1f055d36e824281447052cc174a54e299cd41e59f68411db3c91832ffc46b
+MISC metadata.xml 1796 BLAKE2B 988ec79d4d043ecbf8802aa3d761868479fc0a398a00035c387aa4b362e2c6c59afbbd04d648d2084aa0d9d35972336cd312c4b596e663e5142ce72671e70a55 SHA512 6b0e05517590c7c56cabc1bfecfafed155be78ccff4d159fd810b3c8e6555559c45fba3ea3bdf0aef73d1c1a1d8fcabc7005c2e7dbb3b6377d14505c819355d7
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-3.12.2-r1.ebuild b/dev-db/sqlitebrowser/sqlitebrowser-3.12.2-r1.ebuild
new file mode 100644
index 000000000000..cea98af250c9
--- /dev/null
+++ b/dev-db/sqlitebrowser/sqlitebrowser-3.12.2-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic xdg
+
+DESCRIPTION="A light GUI editor for SQLite databases"
+HOMEPAGE="https://sqlitebrowser.org/"
+
+if [[ "${PV}" = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+ MPL-2.0"
+SLOT="0"
+IUSE="sqlcipher test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ app-editors/qhexedit2
+ dev-db/sqlite:3
+ dev-libs/qcustomplot
+ >=dev-qt/qtconcurrent-5.5:5
+ >=dev-qt/qtcore-5.5:5
+ >=dev-qt/qtgui-5.5:5
+ >=dev-qt/qtnetwork-5.5:5[ssl]
+ >=dev-qt/qtprintsupport-5.5:5
+ >=dev-qt/qtwidgets-5.5:5
+ >=dev-qt/qtxml-5.5:5
+ >=x11-libs/qscintilla-2.8.10:=
+ sqlcipher? ( dev-db/sqlcipher )
+"
+
+BDEPEND="
+ >=dev-qt/linguist-tools-5.5:5
+ test? ( >=dev-qt/qttest-5.5:5 )
+"
+
+RDEPEND="
+ ${DEPEND}
+ >=dev-qt/qtsvg-5.5:5
+"
+
+src_prepare() {
+ cmake_src_prepare
+
+ if ! use test; then
+ sed -i CMakeLists.txt \
+ -e "/find_package/ s/ Test//" \
+ -e "/set/ s/ Qt5::Test//" \
+ || die "Cannot remove Qt Test from CMake dependencies"
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -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
}