From 72177dd3643acb5a33517169a41ca844818ce0f6 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Mon, 11 May 2026 09:02:08 -0600 Subject: [PATCH] prison-kf5: restore prisonscanner library and qml module --- helpers/make-prison-kf5 | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 helpers/make-prison-kf5 diff --git a/helpers/make-prison-kf5 b/helpers/make-prison-kf5 new file mode 100644 index 00000000..ead3ad4d --- /dev/null +++ b/helpers/make-prison-kf5 @@ -0,0 +1,41 @@ +#!/bin/sh +# +# Copyright (C) 2026 Luis Guzman +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# + + +VERSION=0 + +. ./config + + +# Restore the base scanner library into the main package +echo "usr/lib/*/libKF5PrisonScanner.so.*" >> debian/libkf5prison5.install +echo "usr/lib/*/libKF5PrisonScanner.so" >> debian/libkf5prison-dev.install + +# Restore the QML camera plugin into the QML package +echo "usr/lib/*/qt5/qml/org/kde/prison/scanner/" >> debian/qml-module-org-kde-prison.install + +# Restore the C++ development headers into the dev package +echo "usr/include/KF5/PrisonScanner/" >> debian/libkf5prison-dev.install + +# Restore the API documentation into the doc package +echo "usr/share/qt5/doc/KF5PrisonScanner.*" >> debian/libkf5prison-doc.install + +changelog "Restore prisonscanner library and QML module from build directory." + +package