--- qt5-qtsvg-5.15.2.orig/debian/changelog
+++ qt5-qtsvg-5.15.2/debian/changelog
@@ -0,0 +1,37 @@
+qt5-qtsvg (5.15.2-1) stable; urgency=medium
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Tue, 25 Oct 2022 20:15:37 +0000
+
+qt5-qtsvg (5.12.2-1) stable; urgency=medium
+
+  * updated to 5.12.1
+
+ -- Juergen Weigert <jw@owncloud.com>  Thu, 21 Mar 2019 17:18:35 +0100
+
+qt5-qtsvg (5.12.1-3) stable; urgency=medium
+
+  * updated to 5.12.1
+
+ -- Juergen Weigert <jw@owncloud.com>  Thu, 31 Jan 2019 17:18:34 +0100
+
+qt5-qtsvg (5.10.1-2) stable; urgency=medium
+
+  * added libqsvg for https://github.com/owncloud/client/issues/6659
+
+ -- Juergen Weigert <jw@owncloud.com>  Thu, 19 Jul 2018 17:18:34 +0100
+
+qt5-qtsvg (5.10.1-1) stable; urgency=medium
+
+  * qt5-qtsvg update to 5.10.1
+  * qt5-qtsvg update to 5.10.0
+
+ -- Juergen Weigert <jw@owncloud.com>  Sun, 04 Feb 2018 10:18:34 +0100
+
+qt5-qtsvg (5.6.2-0) stable; urgency=medium
+
+  * qt5-qtsvg initial attempt.
+
+ -- Juergen Weigert <jw@owncloud.com>  Fri, 02 Feb 2017 19:18:34 +0100
+
--- qt5-qtsvg-5.15.2.orig/debian/compat
+++ qt5-qtsvg-5.15.2/debian/compat
@@ -0,0 +1 @@
+9
--- qt5-qtsvg-5.15.2.orig/debian/control
+++ qt5-qtsvg-5.15.2/debian/control
@@ -0,0 +1,63 @@
+Source: qt5-qtsvg
+Section: libs
+Priority: optional
+Maintainer: Juergen Weigert <jw@owncloud.com>
+Build-Depends: debhelper (>= 9), lintian-obs-permissive,
+        pkg-config,
+        pkg-kde-tools,
+	ocqt5152-qt5-qmake,
+	ocqt5152-libqt5core5a,
+	ocqt5152-qtbase5-private-dev, 
+	zlib1g-dev
+Standards-Version: 3.9.5
+Homepage: http://qt-project.org/
+
+Package: ocqt5152-qtsvg5-dev
+Architecture: any
+Section: libdevel
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends},
+         ocqt5152-qtsvg5 (= ${binary:Version}),
+         ocqt5152-qtbase5-dev (>= 5),
+Description: Qt 5 svg examples
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains examples of the Qt 5 svg module.
+
+Package: ocqt5152-qtsvg5-examples
+Architecture: any
+Multi-Arch: same
+Section: x11
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Qt 5 svg examples
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains examples of the Qt 5 svg module.
+
+Package: ocqt5152-qtsvg5
+Architecture: any
+Multi-Arch: same
+Pre-Depends: dpkg (>= 1.15.6~), ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Qt 5 svg library
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the Qt 5 svg module.
+
+Package: ocqt5152-qtsvg5-dbg
+Architecture: any
+Multi-Arch: same
+Priority: optional
+Section: debug
+Depends: ${misc:Depends}
+Description: Qt 5 svg library
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the development files needed to build Qt 5 applications
+ using Qt 5 svg.
+
--- qt5-qtsvg-5.15.2.orig/debian/copyright
+++ qt5-qtsvg-5.15.2/debian/copyright
@@ -0,0 +1,48 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: qtsvg-opensource-src
+Source: https://download.qt.io/official_releases/qt/*/submodules/
+Files: *
+Copyright: 2012-2015 The Qt Company Ltd.
+License: LGPL-2.1-or-3 with Qt-1.1 exception
+
+License: LGPL-2.1-or-3 with Qt-1.1 exception
+ GNU Lesser General Public License:
+ This file may be used under the terms of the GNU Lesser General Public
+ License version 2.1 or version 3 as published by the Free Software
+ Foundation and appearing in the file LICENSE.LGPLv21 and LICENSE.LGPLv3
+ included in the packaging of this file. Please review the following
+ information to ensure the GNU Lesser General Public License requirements
+ will be met: https://www.gnu.org/licenses/lgpl.html.
+ .
+ In addition, as a special exception, The Qt Company gives you certain
+ additional rights. These rights are described in The Qt Company Qt LGPL
+ Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this
+ package.
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1`.
+ The complete text of the GNU Lesser General Public License version 3 can be
+ found in `/usr/share/common-licenses/LGPL-3`.
+ .
+ The Qt Company LGPL Exception version 1.1:
+ As an additional permission to the GNU Lesser General Public License version
+ 2.1, the object code form of a "work that uses the Library" may incorporate
+ material from a header file that is part of the Library.  You may distribute
+ such object code under terms of your choice, provided that:
+     (i)   the header files of the Library have not been modified; and
+     (ii)  the incorporated material is limited to numerical parameters, data
+           structure layouts, accessors, macros, inline functions and
+           templates; and
+     (iii) you comply with the terms of Section 6 of the GNU Lesser General
+           Public License version 2.1.
+ .
+ Moreover, you may apply this exception to a modified version of the Library,
+ provided that such modification does not involve copying material from the
+ Library into the modified Library's header files unless such material is
+ limited to (i) numerical parameters; (ii) data structure layouts;
+ (iii) accessors; and (iv) small macros, templates and inline functions of
+ five lines or less in length.
+ .
+ Furthermore, you are not required to apply this additional permission to a
+ modified version of the Library.
+
--- qt5-qtsvg-5.15.2.orig/debian/qtsvg5-dev.install
+++ qt5-qtsvg-5.15.2/debian/qtsvg5-dev.install
@@ -0,0 +1,4 @@
+/opt/ownCloud/qt-5.15.2/include/*
+/opt/ownCloud/qt-5.15.2/lib/*
+/opt/ownCloud/qt-5.15.2/lib/*/pkgconfig/*
+/opt/ownCloud/qt-5.15.2/lib/*/qt5/mkspecs/modules/*
--- qt5-qtsvg-5.15.2.orig/debian/qtsvg5-examples.install
+++ qt5-qtsvg-5.15.2/debian/qtsvg5-examples.install
@@ -0,0 +1 @@
+/opt/ownCloud/qt-5.15.2/lib/*/qt5/examples/*
--- qt5-qtsvg-5.15.2.orig/debian/qtsvg5.install
+++ qt5-qtsvg-5.15.2/debian/qtsvg5.install
@@ -0,0 +1,3 @@
+/opt/ownCloud/qt-5.15.2/lib/*/lib*.so*
+/opt/ownCloud/qt-5.15.2/lib/*/qt5/plugins/imageformats/libqsvg.so*
+/opt/ownCloud/qt-5.15.2/lib/*/qt5/plugins/iconengines/libqsvgicon.so*
--- qt5-qtsvg-5.15.2.orig/debian/rules
+++ qt5-qtsvg-5.15.2/debian/rules
@@ -0,0 +1,80 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
+export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
+export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
+export QT_SELECT := qt5
+export PATH := /opt/ownCloud/qt-5.15.2/bin:/opt/ownCloud/qt-5.15.2/lib/$(DEB_HOST_MULTIARCH)/qt5/bin:$(PATH)
+export LD_LIBRARY_PATH := /opt/ownCloud/qt-5.15.2/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 = qtsvg5 qtsvg5-dev qtsvg5-examples qtsvg5-dbg
+lintian_overrides = dir-or-file-in-opt package-name-doesnt-match-sonames debian-changelog-line-too-long
+#license-problem-non-free-RFC privacy-breach-facebook privacy-breach-google-adsense privacy-breach-logo
+
+%:
+	dh $@ --with pkgkde_symbolshelper --parallel
+
+# We override qmake until https://bugreports.qt-project.org/browse/QTBUG-30735
+# gets solved (FTBFS with -nocache).
+override_dh_auto_configure:
+	qmake
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -fv .qmake.cache
+
+override_dh_auto_build-indep:
+	cd src; qmake
+	dh_auto_build -- -Csrc sub-qdoc
+	cd src/assistant; qmake
+	dh_auto_build -- -Csrc/assistant sub-qhelpgenerator
+	cd src/qdoc; qmake
+	cd src/assistant/help; qmake
+	# dh_auto_build -- docs
+
+override_dh_auto_install-arch:
+	dh_auto_install
+	
+	# Remove libtool-like files
+	rm -f debian/tmp//opt/ownCloud/qt-5.15.2/lib/$(DEB_HOST_MULTIARCH)/*.la
+
+	# Remove CMake files for plugins.
+	rm -fv debian/tmp//opt/ownCloud/qt-5.15.2/lib/$(DEB_HOST_MULTIARCH)/cmake/Qt5Designer/*Plugin.cmake
+
+override_dh_auto_install-indep:
+	dh_auto_build -- INSTALL_ROOT=$(CURDIR)/debian/tmp install_docs
+
+override_dh_install:
+	touch debian/lintian-overrides
+	ls -la debian/lintian-overrides
+	find debian/
+	for pkg in $(pkgs_oc_pkg_prefix); do \
+		( cd debian; for f in $$pkg.*; do test -f $$f && cp $$f ocqt5152-$$f ; done ); \
+		for tag in $(lintian_overrides); do \
+		  echo "ocqt5152-$$pkg: $$tag" >>  debian/lintian-overrides; \
+		  echo "ocqt5152-$$pkg: $$tag" >>  debian/ocqt5152-$$pkg.lintian-overrides; \
+		done; \
+	done
+	pwd
+	ls -la debian/lintian-overrides
+	cat debian/lintian-overrides
+	ls -lah debian
+
+	# Call dh_install normally. It will process .install, .install.ARCH
+	# and/or .install.OS files.
+	dh_install --list-missing
+
+override_dh_strip:
+	dh_strip --remaining-packages --dbg-package=ocqt5152-qtsvg5-dbg
+
+override_dh_auto_test-indep:
+
+override_dh_shlibdeps:
+	dh_shlibdeps -O--parallel -l"/opt/ownCloud/qt-5.15.2/lib/$(DEB_HOST_MULTIARCH)"
--- qt5-qtsvg-5.15.2.orig/debian/watch
+++ qt5-qtsvg-5.15.2/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://download.qt.io/official_releases/qt/([\d\.]*)/([\d\.]*)/submodules/qtsvg-opensource-src-([^-]*)\.tar\.xz
