From 4461abf799b522a3a2bc693d7261f9567e660893 Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Fri, 11 Feb 2022 20:12:09 +0100 Subject: [PATCH] New package: sqlitestudio-3.3.3 --- common/shlibs | 2 + .../sqlitestudio/files/sqlitestudio.desktop | 9 ++++ srcpkgs/sqlitestudio/template | 49 +++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 srcpkgs/sqlitestudio/files/sqlitestudio.desktop create mode 100644 srcpkgs/sqlitestudio/template diff --git a/common/shlibs b/common/shlibs index 5096ab5dad6b..6c4b21152e5a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4117,3 +4117,5 @@ libspatialite.so.7 libspatialite-5.0.1_1 mod_spatialite.so.7 libspatialite-5.0.1_1 libSvtAv1Enc.so.0 libsvt-av1-0.9.0_1 libSvtAv1Dec.so.0 libsvt-av1-0.9.0_1 +libcoreSQLiteStudio.so.1 sqlitestudio-3.3.3_1 +libguiSQLiteStudio.so.1 sqlitestudio-3.3.3_1 diff --git a/srcpkgs/sqlitestudio/files/sqlitestudio.desktop b/srcpkgs/sqlitestudio/files/sqlitestudio.desktop new file mode 100644 index 000000000000..690363741a80 --- /dev/null +++ b/srcpkgs/sqlitestudio/files/sqlitestudio.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=SQLiteStudio +Comment=Database manager to create, edit, and browse SQLite databases +Icon=/usr/share/icons/hicolor/scalable/apps/sqlitestudio.svg +Exec=sqlitestudio %f +Terminal=false +Categories=Database;Development;Utility; +MimeType=application/vnd.sqlite3;application/x-sqlite3; diff --git a/srcpkgs/sqlitestudio/template b/srcpkgs/sqlitestudio/template new file mode 100644 index 000000000000..5a1e3cc7d36b --- /dev/null +++ b/srcpkgs/sqlitestudio/template @@ -0,0 +1,49 @@ +# Template file for 'sqlitestudio' +pkgname=sqlitestudio +version=3.3.3 +revision=1 +archs="~aarch* ~armv*" +build_style=qmake +hostmakedepends="qt5-qmake qt5-host-tools" +makedepends="qt5-devel + qt5-script-devel + qt5-svg-devel + qt5-tools-devel + readline-devel + sqlite-devel + tcl-devel" +depends="sqlite" +short_desc="Free, open source, multi-platform SQLite database manager" +maintainer="Arjan Mossel " +license="custom:GPL-3.0-only-with-OpenSSL-exception" +homepage="https://sqlitestudio.pl/" +distfiles="https://github.com/pawelsalawa/sqlitestudio/archive/$version.tar.gz" +checksum=f234e1ea87d27e80a1794f86d32116ebd8919d51be63d35a7d0816a77115ce31 + +do_configure() { + mkdir -p ${wrksrc}/output/build/Plugins + cd ${wrksrc}/output/build + qmake ${wrksrc}/SQLiteStudio3 + cd ${wrksrc}/output/build/Plugins + qmake ${wrksrc}/Plugins +} + +do_build() { + cd ${wrksrc}/output/build + make + cd ${wrksrc}/output/build/Plugins + make +} + +do_install() { + cd ${wrksrc}/output/build + make INSTALL_ROOT=${DESTDIR} install + cd ${wrksrc}/output/build/Plugins + make INSTALL_ROOT=${DESTDIR} install + vinstall ${wrksrc}/SQLiteStudio3/guiSQLiteStudio/img/sqlitestudio.svg 644 usr/share/icons/hicolor/scalable/apps + vinstall ${FILESDIR}/sqlitestudio.desktop 644 usr/share/applications +} + +post_install() { + vlicense LICENSE +}