summaryrefslogtreecommitdiff
path: root/dev-db/qt5-sqlcipher
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:47:34 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:47:34 -0500
commitdda948891d3731927b821ce31f9d9a2d03ba20c5 (patch)
tree99cd40be4cbb0606260da212cd81b8ab2db9da9b /dev-db/qt5-sqlcipher
parenta3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (diff)
downloadbaldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.gz
baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.xz
baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.zip
Adding metadata
Diffstat (limited to 'dev-db/qt5-sqlcipher')
-rw-r--r--dev-db/qt5-sqlcipher/Manifest2
-rw-r--r--dev-db/qt5-sqlcipher/files/qt5-sqlcipher-1.1.0-install-path.patch15
-rw-r--r--dev-db/qt5-sqlcipher/metadata.xml8
-rw-r--r--dev-db/qt5-sqlcipher/qt5-sqlcipher-1.1.0-r1.ebuild49
4 files changed, 74 insertions, 0 deletions
diff --git a/dev-db/qt5-sqlcipher/Manifest b/dev-db/qt5-sqlcipher/Manifest
new file mode 100644
index 000000000000..8a6253e1f401
--- /dev/null
+++ b/dev-db/qt5-sqlcipher/Manifest
@@ -0,0 +1,2 @@
+DIST qt5-sqlcipher-1.1.0-qt-6.11.1.tar.xz 8540 BLAKE2B 38aa4815ae7dec7e76c18e0544cbba6c8f210a3ec7cbb0dfe318806d596716a5aa0d9b4e93e41ed3f0c9fb56ec7da21257c09ccde9e30710009732a69ebed2cf SHA512 62eb9feca999d985e92b0a472d04771de8df253386a0003963e93ddb541760d4e296ea5388fd515aa09bd158aca49e3c317afd8c7863683cc777216f7058e033
+DIST qt5-sqlcipher-1.1.0.tar.gz 683201 BLAKE2B c49536398bcf196401fa5889a6a35daa656eb6f63faeef223ded3f15dd64fcaa9d87a69c2ea1f0c1f6a9503a810e23cad5bc86ebcacc2ce1b65a222ec46d9be5 SHA512 6f86a51f71515d4863f17808d794f0162a70043a5cca09fcb0f76cb7a8be84f231fe9866663829cfbd610da7584a0c9a0f4f830356ac56467d1d5e68ede9400f
diff --git a/dev-db/qt5-sqlcipher/files/qt5-sqlcipher-1.1.0-install-path.patch b/dev-db/qt5-sqlcipher/files/qt5-sqlcipher-1.1.0-install-path.patch
new file mode 100644
index 000000000000..9317d4a713e0
--- /dev/null
+++ b/dev-db/qt5-sqlcipher/files/qt5-sqlcipher-1.1.0-install-path.patch
@@ -0,0 +1,15 @@
+--- qt5-sqlcipher-1.1.0/CMakeLists.txt
++++ qt5-sqlcipher-1.1.0/CMakeLists.txt
+@@ -193,11 +193,7 @@
+ INSTALL(TARGETS qsqlcipher-test DESTINATION bin)
+ endif()
+ else()
+- message(WARNING "Packaging is not set up for this platform, either submit a ticket or change/add pathes yourself, if packaging is required.")
+- INSTALL(TARGETS qsqlcipher DESTINATION sqldrivers)
+- if (QSQLCIPHER_BUILD_TESTS)
+- INSTALL(TARGETS qsqlcipher-test DESTINATION bin)
+- endif()
++ INSTALL(TARGETS qsqlcipher DESTINATION @LIBDIR@/qt6/plugins/sqldrivers)
+ endif()
+ else()
+ INSTALL(TARGETS qsqlcipher DESTINATION sqldrivers)
diff --git a/dev-db/qt5-sqlcipher/metadata.xml b/dev-db/qt5-sqlcipher/metadata.xml
new file mode 100644
index 000000000000..4a3cb9fbbafe
--- /dev/null
+++ b/dev-db/qt5-sqlcipher/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ulm@gentoo.org</email>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.1.0-r1.ebuild b/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..3fffc1858a74
--- /dev/null
+++ b/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.1.0-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Qt SQL driver plugin for SQLCipher"
+HOMEPAGE="https://github.com/blizzard4591/qt5-sqlcipher"
+QT6_PV="6.11.1"
+SRC_URI="https://github.com/blizzard4591/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~ulm/distfiles/${PN}-${PV%_*}-qt-6.11.1.tar.xz"
+
+LICENSE="LGPL-2.1" # version 2.1 only
+SLOT="6"
+KEYWORDS="~amd64"
+
+RDEPEND=">=dev-db/sqlcipher-4.6.1
+ >=dev-qt/qtbase-6.9.3:6=[sql,sqlite] <dev-qt/qtbase-6.12:6=[sql,sqlite]"
+DEPEND="${RDEPEND}"
+
+DOCS=(README.md)
+
+src_prepare() {
+ eapply "${FILESDIR}"/${P}-install-path.patch
+ sed -i -e "s:@LIBDIR@:$(get_libdir):" CMakeLists.txt || die
+
+ local v=$(best_version dev-qt/qtbase:6)
+ v=$(ver_cut 1-3 ${v#*/qtbase-})
+ [[ -n ${v} ]] || die "could not determine qtbase version"
+ if ! [[ -d qt-file-cache/${v} ]]; then
+ local vc
+ case $(ver_cut 1-2 ${v}) in
+ 6.9) vc=6.9.3 ;;
+ 6.10) vc=6.10.0 ;;
+ 6.11) vc=6.11.1 ;;
+ *) die "qtbase-${v} not supported" ;;
+ esac
+ elog "qtbase-${v} not in cache, using ${vc} instead"
+ cp -R qt-file-cache/${vc} qt-file-cache/${v} || die
+ fi
+
+ cmake_src_prepare
+}
+
+src_test() {
+ cd "${BUILD_DIR}" || die
+ ./qsqlcipher-test || die
+}