summaryrefslogtreecommitdiff
path: root/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1.ebuild
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-02-17 20:21:38 +0100
committerUlrich Müller <ulm@gentoo.org>2018-02-17 21:39:00 +0100
commit20063c69694fd080bb4109b0995bb8d90b8bd429 (patch)
tree5fbc678a8e7817d37d3534e9811be1b4e3a5ef60 /dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1.ebuild
parentce2699ebcf40f43717cf4a9b9b556bb2eacad96e (diff)
downloadgentoo-20063c69694fd080bb4109b0995bb8d90b8bd429.tar.gz
gentoo-20063c69694fd080bb4109b0995bb8d90b8bd429.tar.bz2
gentoo-20063c69694fd080bb4109b0995bb8d90b8bd429.zip
dev-db/qt5-sqlcipher: Version bump.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1.ebuild')
-rw-r--r--dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1.ebuild b/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1.ebuild
new file mode 100644
index 000000000000..fcef1f8e730f
--- /dev/null
+++ b/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Qt SQL driver plugin for SQLCipher"
+HOMEPAGE="https://github.com/blizzard4591/qt5-sqlcipher"
+SRC_URI="https://github.com/blizzard4591/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1" # version 2.1 only
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=">=dev-db/sqlcipher-3.4.1
+ >=dev-qt/qtcore-5.7.1:5=
+ >=dev-qt/qtsql-5.7.1:5=[sqlite] <dev-qt/qtsql-5.9.5:5=[sqlite]"
+RDEPEND="${DEPEND}"
+
+DOCS=(README.md)
+
+src_prepare() {
+ eapply "${FILESDIR}"/${PN}-install-path.patch
+ sed -i -e "s/@LIBDIR@/$(get_libdir)/" CMakeLists.txt || die
+ # workaround for bug 647624 (Qt 5.9.3 and 5.9.4 files are identical)
+ cp -R qt-file-cache/5.9.{3,4} || die
+ cmake-utils_src_prepare
+}
+
+src_test() {
+ cd "${BUILD_DIR}" || die
+ ./qsqlcipher-test || die
+}