--- ocqt5127-sqlite3-3.31.1.orig/debian/changelog
+++ ocqt5127-sqlite3-3.31.1/debian/changelog
@@ -0,0 +1,37 @@
+ocqt5127-sqlite3 (3.31.1-1+1.650) UNRELEASED; urgency=medium
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Tue, 26 May 2026 00:10:19 +0000
+
+ocqt5127-sqlite3 (3.29.0-1) UNRELEASED; urgency=medium
+
+  * renamed ocqt5127-sqlite3
+
+ -- Juergen Weigert <jw@owncloud.com>  Fri, 31 Jan 2020 14:00:47 +0100
+
+ocqt5125-sqlite3 (3.29.0-1) UNRELEASED; urgency=medium
+
+  * renamed ocqt5125-sqlite3
+
+ -- Juergen Weigert <jw@owncloud.com>  Thu, 19 Sep 2019 20:00:47 +0100
+
+ocqt5124-sqlite3 (3.29.0-1) UNRELEASED; urgency=medium
+
+  * renamed ocqt5124-sqlite3
+  * updated to 3.29.0
+
+ -- Juergen Weigert <jw@owncloud.com>  Mon, 22 Jul 2019 20:07:47 +0100
+
+ocqt5122-sqlite3 (3.26.0-1) UNRELEASED; urgency=medium
+
+  * renamed from ocqt5121-sqlite3 to ocqt5122-sqlite3
+
+ -- Juergen Weigert <jw@owncloud.com>  Thu, 21 Mar 2019 19:30:42 +0100
+
+ocqt5121-sqlite3 (3.26.0-1) UNRELEASED; urgency=medium
+
+  * new version of sqlite for systems that do nothave 3.9.0 or later
+
+ -- Juergen Weigert <jw@oncloud.com>  Wed, 12 Feb 2019 19:30:41 +0100
+
--- ocqt5127-sqlite3-3.31.1.orig/debian/compat
+++ ocqt5127-sqlite3-3.31.1/debian/compat
@@ -0,0 +1 @@
+9
--- ocqt5127-sqlite3-3.31.1.orig/debian/control
+++ ocqt5127-sqlite3-3.31.1/debian/control
@@ -0,0 +1,39 @@
+Source: ocqt5127-sqlite3
+Section: devel
+Priority: optional
+Maintainer: Juergen Weigert <jw@owncloud.com>
+Build-Depends: debhelper (>= 7), tclsh, libz-dev, tcl-dev, unzip
+Standards-Version: 3.9.5
+
+Package: ocqt5127-sqlite3
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, ocqt5127-libsqlite0
+Description: sqlite3 for old systems
+ .
+ Authors
+ =======
+ Juergen Weigert <jw@owncoud.com>
+
+Package: ocqt5127-libsqlite0
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: sqlite3 for old systems
+ .
+ Authors
+ =======
+ Juergen Weigert <jw@owncoud.com>
+
+Package: ocqt5127-libsqlite0-dev
+Architecture: any
+Section: libdevel
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}, ocqt5127-libsqlite0
+Description: sqlite3 for old systems
+ .
+ Authors
+ =======
+ Juergen Weigert <jw@owncoud.com>
--- ocqt5127-sqlite3-3.31.1.orig/debian/ocqt5127-libsqlite0-dev.install
+++ ocqt5127-sqlite3-3.31.1/debian/ocqt5127-libsqlite0-dev.install
@@ -0,0 +1,3 @@
+/opt/ownCloud/qt-5.12.7/include/
+/opt/ownCloud/qt-5.12.7/lib/*/pkgconfig/*
+# /usr/share/doc/ocqt5127-libsqlite0-dev/*
--- ocqt5127-sqlite3-3.31.1.orig/debian/ocqt5127-libsqlite0.install
+++ ocqt5127-sqlite3-3.31.1/debian/ocqt5127-libsqlite0.install
@@ -0,0 +1,2 @@
+/opt/ownCloud/qt-5.12.7/lib/*/lib*.so*
+#/usr/share/doc/ocqt5127-libsqlite0/*
--- ocqt5127-sqlite3-3.31.1.orig/debian/rules
+++ ocqt5127-sqlite3-3.31.1/debian/rules
@@ -0,0 +1,34 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+export PATH := /opt/ownCloud/qt-5.12.7/lib/$(DEB_HOST_MULTIARCH)/qt5/bin:$(PATH)
+export LD_LIBRARY_PATH := /opt/ownCloud/qt-5.12.7/lib/$(DEB_HOST_MULTIARCH):$(LD_LIBRARY_PATH)
+
+# Prefixed packages. All the meta files need to be renamed accordingly.
+# CAUTION: Keep in sync with the Binary: list in the *.dsc.in file.
+pkgs_oc_pkg_prefix = libsqlite3-0
+lintian_overrides = dir-or-file-in-opt package-name-doesnt-match-sonames debian-changelog-line-too-long syntax-error-in-debian-changelog latest-debian-changelog-entry-without-new-version no-copyright-file debian-revision-should-not-be-zero no-debian-copyright
+
+%:
+	dh $@ --buildsystem=autoconf
+
+override_dh_auto_configure:
+	export CFLAGS="-DSQLITE_ENABLE_API_ARMOR -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_HIDDEN_COLUMNS -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RBU -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT -DSQLITE_SOUNDEX -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE"
+	dh_auto_configure -- \
+		--disable-static --disable-static-shell --enable-readline --enable-fts3 --enable-fts4 --enable-fts5 --enable-json1 \
+		--enable-update-limit --enable-rtree --prefix=/opt/ownCloud/qt-5.12.7 \
+		--datadir=/opt/ownCloud/qt-5.12.7/share --libdir=/opt/ownCloud/qt-5.12.7/lib/$(DEB_HOST_MULTIARCH)
+	# tests failed: oserror-1.1.1 oserror-1.1.2 oserror-1.1.3
+	rm -f test/oserror.test
+
+override_dh_auto_install:
+
+	ls -la debian/
+
+	dh_auto_install
+	dh_install --list-missing
+
+override_dh_shlibdeps:
+	dh_shlibdeps -O--parallel -l"/opt/ownCloud/qt-5.12.7/lib/$(DEB_HOST_MULTIARCH)"
