summaryrefslogtreecommitdiff
path: root/dev-db/sqlitebrowser
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-02 02:07:07 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-02 02:07:07 +0000
commitd4f65848c7ecabb56e2f93889cbd20078cd347f7 (patch)
tree180032f5afeb689db6a270d612f3e3364ed8fd2b /dev-db/sqlitebrowser
parentc635a4b7ddb6105bfc6fef130b188a087726677b (diff)
gentoo auto-resync : 02:12:2024 - 02:07:07
Diffstat (limited to 'dev-db/sqlitebrowser')
-rw-r--r--dev-db/sqlitebrowser/Manifest4
-rw-r--r--dev-db/sqlitebrowser/sqlitebrowser-3.13.1.ebuild83
-rw-r--r--dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild24
3 files changed, 93 insertions, 18 deletions
diff --git a/dev-db/sqlitebrowser/Manifest b/dev-db/sqlitebrowser/Manifest
index 74aafa33ab7e..858061858c69 100644
--- a/dev-db/sqlitebrowser/Manifest
+++ b/dev-db/sqlitebrowser/Manifest
@@ -1,4 +1,6 @@
DIST sqlitebrowser-3.13.0.tar.gz 4901507 BLAKE2B 4430944fb6f02a3e33aa6d3e5720faa8e43351314a0c21803fe8bed6d2241ca92830de7be33deb18294f0cad808c96d6c913bd9ddcd64d41a34db32349d44d88 SHA512 6261043cee7bc5c525b162e0b5d1ac38d380228ffd752e086fecb49c7f50b463a993a6128547d99addb0480ba71e4f6dd3a0c1e412a692ae86b0b183b7379610
+DIST sqlitebrowser-3.13.1.tar.gz 4923092 BLAKE2B 894790cc30b802b4aab19a8e7834aef1bf68b027bcd66b63901269d6d44b706ce5ddca1ae4ca4743d14f9a8d2a5cc6005711b6ee25cef068c55e0b01c56f8b5c SHA512 7482094823293a216e4df20105d1351a23fcc706fd9e64bca58cd1c6a46dcf639a945f919613f1a9550d0a15e60a4c2827ee5eee4f89a7b11046d8eefbf375ee
EBUILD sqlitebrowser-3.13.0.ebuild 1902 BLAKE2B daab9e0b566e3fee7e1188ab8266a7ad961874a39f8265c3b82fc0ba193ad3748a2f7239a10e65a3b1613a4ec92d0224cad58762216f7861e257b821500ea387 SHA512 fca418cc6dd2544d97c3c9b3bd1fbb54106f26b6e2a30505bfec37410273cd86ca7ec23e93ed5a552fa1bb3c1b12988567dcbb382881ce270cb2a51d18885196
-EBUILD sqlitebrowser-9999.ebuild 1904 BLAKE2B 43238842a291a9b87269a2bfffa41255b69cd60d645b39be3a9d42ea11a70c9ae850c791dea05903ca91a66ecb69a95164dc7ee2237471f62ca31cf63a02a733 SHA512 5d3295bb31b2f60e622c84d3f35832a8837b22be937460d5a696fce868f801499689e6564e025e443d033fbe9cdd8d0fec415fe5e789da510ae75039f11de4d2
+EBUILD sqlitebrowser-3.13.1.ebuild 1654 BLAKE2B 0ab4021710c5c25e1ed1fc66beb34ce7c579e9f60a8692552e68c7380f64a8f0d2abab9b0dcccea4dac1e2a950fa29c951d9ef569bd24ad5bb2ecf4341302dd0 SHA512 a9e22e522b6285a8b6af40a62ea89bf52efe1a562c8219d478e277cbda6e3fb4559b7316de557d8263301037e141af1d8015e977a6b1e5ee14f632f92f66b950
+EBUILD sqlitebrowser-9999.ebuild 1654 BLAKE2B 0ab4021710c5c25e1ed1fc66beb34ce7c579e9f60a8692552e68c7380f64a8f0d2abab9b0dcccea4dac1e2a950fa29c951d9ef569bd24ad5bb2ecf4341302dd0 SHA512 a9e22e522b6285a8b6af40a62ea89bf52efe1a562c8219d478e277cbda6e3fb4559b7316de557d8263301037e141af1d8015e977a6b1e5ee14f632f92f66b950
MISC metadata.xml 1796 BLAKE2B 988ec79d4d043ecbf8802aa3d761868479fc0a398a00035c387aa4b362e2c6c59afbbd04d648d2084aa0d9d35972336cd312c4b596e663e5142ce72671e70a55 SHA512 6b0e05517590c7c56cabc1bfecfafed155be78ccff4d159fd810b3c8e6555559c45fba3ea3bdf0aef73d1c1a1d8fcabc7005c2e7dbb3b6377d14505c819355d7
diff --git a/dev-db/sqlitebrowser/sqlitebrowser-3.13.1.ebuild b/dev-db/sqlitebrowser/sqlitebrowser-3.13.1.ebuild
new file mode 100644
index 000000000000..2570150a6735
--- /dev/null
+++ b/dev-db/sqlitebrowser/sqlitebrowser-3.13.1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2024 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/sqlitebrowser/sqlitebrowser.git"
+else
+ SRC_URI="https://github.com/sqlitebrowser/sqlitebrowser/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/qtcore-5.15.9:5
+ >=dev-qt/qtgui-5.15.9:5
+ >=dev-qt/qtnetwork-5.15.9:5[ssl]
+ >=dev-qt/qtprintsupport-5.15.9:5
+ >=dev-qt/qtwidgets-5.15.9:5
+ >=dev-qt/qtxml-5.15.9:5
+ >=x11-libs/qscintilla-2.8.10:=[qt5(+)]
+ sqlcipher? ( dev-db/sqlcipher )
+"
+
+BDEPEND="
+ >=dev-qt/linguist-tools-5.15.9:5
+ test? ( >=dev-qt/qttest-5.15.9:5 )
+"
+
+RDEPEND="${DEPEND}"
+
+DOCS=(
+ images/
+ BUILDING.md
+ CHANGELOG.md
+ README.md
+)
+
+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_QSCINTILLA=OFF
+ -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
+}
+
+src_install() {
+ cmake_src_install
+
+ [[ "${PV}" = 9999 ]] && dodoc SECURITY.md
+}
diff --git a/dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild b/dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild
index 2918a95b0493..2570150a6735 100644
--- a/dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild
+++ b/dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild
@@ -8,7 +8,7 @@ inherit cmake flag-o-matic xdg
DESCRIPTION="A light GUI editor for SQLite databases"
HOMEPAGE="https://sqlitebrowser.org/"
-if [[ "${PV}" = *9999* ]]; then
+if [[ "${PV}" = 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/sqlitebrowser/sqlitebrowser.git"
else
@@ -24,28 +24,13 @@ RESTRICT="!test? ( test )"
DEPEND="
app-editors/qhexedit2
dev-db/sqlite:3
- dev-libs/double-conversion:=
- dev-libs/icu:=
- dev-libs/libpcre2:=
- dev-libs/openssl:=
dev-libs/qcustomplot
- >=dev-qt/qtconcurrent-5.15.9:5
>=dev-qt/qtcore-5.15.9:5
>=dev-qt/qtgui-5.15.9:5
>=dev-qt/qtnetwork-5.15.9:5[ssl]
>=dev-qt/qtprintsupport-5.15.9:5
>=dev-qt/qtwidgets-5.15.9:5
>=dev-qt/qtxml-5.15.9:5
- media-gfx/graphite2
- media-libs/freetype:2
- media-libs/harfbuzz:=
- media-libs/libglvnd
- media-libs/libpng:=
- sys-libs/zlib:=
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libxcb:=
- x11-libs/libXdmcp
>=x11-libs/qscintilla-2.8.10:=[qt5(+)]
sqlcipher? ( dev-db/sqlcipher )
"
@@ -62,7 +47,6 @@ DOCS=(
BUILDING.md
CHANGELOG.md
README.md
- SECURITY.md
)
src_prepare() {
@@ -91,3 +75,9 @@ src_configure() {
cmake_src_configure
}
+
+src_install() {
+ cmake_src_install
+
+ [[ "${PV}" = 9999 ]] && dodoc SECURITY.md
+}