summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2024-06-02 12:32:30 +0300
committerGleb Popov <arrowd@FreeBSD.org>2024-06-02 12:32:56 +0300
commit953513c131ba987d096fa51d0f1d656b81a9aaa3 (patch)
tree1db5c23ddb01d57a084607b731ed1cb63f555749
parentcad/opencascade: upgrade to 7.8.1 (diff)
databases/sqlitebrowser: Update to 3.12.2 and unbreak the build
-rw-r--r--databases/sqlitebrowser/Makefile6
-rw-r--r--databases/sqlitebrowser/distinfo6
-rw-r--r--databases/sqlitebrowser/files/patch-src_version.h13
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