git: 953513c131ba - main - databases/sqlitebrowser: Update to 3.12.2 and unbreak the build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Jun 2024 09:32:59 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=953513c131ba987d096fa51d0f1d656b81a9aaa3
commit 953513c131ba987d096fa51d0f1d656b81a9aaa3
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-06-02 09:32:30 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-06-02 09:32:56 +0000
databases/sqlitebrowser: Update to 3.12.2 and unbreak the build
---
databases/sqlitebrowser/Makefile | 6 ++----
databases/sqlitebrowser/distinfo | 6 +++---
databases/sqlitebrowser/files/patch-src_version.h | 13 +++++++++++++
3 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/databases/sqlitebrowser/Makefile b/databases/sqlitebrowser/Makefile
index a4a07ac9f409..8b3863d4f98b 100644
--- a/databases/sqlitebrowser/Makefile
+++ b/databases/sqlitebrowser/Makefile
@@ -1,6 +1,5 @@
PORTNAME= sqlitebrowser
-PORTVERSION= 3.12.1
-PORTREVISION= 7
+PORTVERSION= 3.12.2
DISTVERSIONPREFIX= v
CATEGORIES= databases
@@ -15,8 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/lib/libantlr.a:devel/antlr
LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5
-USES= compiler:c++11-lang cmake desktop-file-utils gnome qt:5 sqlite
-CMAKE_ARGS+= -DQT_INCLUDE_DIR=${QT_INCDIR} -DQT_LIBRARY_DIR=${QT_LIBDIR}
+USES= cmake desktop-file-utils gnome qt:5 sqlite
USE_QT= core concurrent gui network printsupport testlib widgets \
buildtools:build linguisttools:build qmake:build xml
USE_GITHUB= yes
diff --git a/databases/sqlitebrowser/distinfo b/databases/sqlitebrowser/distinfo
index 7bfc1de1eae1..eedcffdb91ce 100644
--- a/databases/sqlitebrowser/distinfo
+++ b/databases/sqlitebrowser/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1606715482
-SHA256 (sqlitebrowser-sqlitebrowser-v3.12.1_GH0.tar.gz) = c1f13a7caeab9c36908d7fd6e46718d5f2bb5d116882c5c6392e7c4b0f8dba0f
-SIZE (sqlitebrowser-sqlitebrowser-v3.12.1_GH0.tar.gz) = 3990525
+TIMESTAMP = 1717318544
+SHA256 (sqlitebrowser-sqlitebrowser-v3.12.2_GH0.tar.gz) = 645f98d38e5d128a449e93cebf03c8070f9eacd2d16b10e433a781d54a9d478a
+SIZE (sqlitebrowser-sqlitebrowser-v3.12.2_GH0.tar.gz) = 3990817
diff --git a/databases/sqlitebrowser/files/patch-src_version.h b/databases/sqlitebrowser/files/patch-src_version.h
new file mode 100644
index 000000000000..58e180e8fe72
--- /dev/null
+++ b/databases/sqlitebrowser/files/patch-src_version.h
@@ -0,0 +1,13 @@
+--- src/version.h.orig 2021-05-02 14:08:53 UTC
++++ src/version.h
+@@ -4,9 +4,7 @@
+ #define MINOR_VERSION 12
+ #define PATCH_VERSION 2
+
+-#define str(s) #s
+-#define xstr(s) str(s)
+-#define APP_VERSION xstr(MAJOR_VERSION) "." xstr(MINOR_VERSION) "." xstr(PATCH_VERSION)
++#define APP_VERSION "3.12.2"
+
+ // If it is defined by the compiler, then it is a nightly build, and in the YYYYMMDD format.
+ #ifndef BUILD_VERSION