aboutsummaryrefslogtreecommitdiff
path: root/databases/sqlitebrowser
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2015-05-11 13:00:52 +0000
committerFrederic Culot <culot@FreeBSD.org>2015-05-11 13:00:52 +0000
commit1330eae4fec52ad2cc53810aa57e91e0396e1b18 (patch)
treefb0bcb2355ca23eab327e4060115cd3bc69eaa8d /databases/sqlitebrowser
parent7c09f86835c15de75b57771d5f3a80472a4492d3 (diff)
downloadports-1330eae4fec52ad2cc53810aa57e91e0396e1b18.tar.gz
ports-1330eae4fec52ad2cc53810aa57e91e0396e1b18.zip
- Update to 3.6.0
PR: 199795 Submitted by: Jungleboogie0@gmail.com, coder@tuxfamily.org Approved by: coder@tuxfamily.org (maintainer) Changes: https://github.com/sqlitebrowser/sqlitebrowser/releases/tag/v3.6.0
Notes
Notes: svn path=/head/; revision=386078
Diffstat (limited to 'databases/sqlitebrowser')
-rw-r--r--databases/sqlitebrowser/Makefile4
-rw-r--r--databases/sqlitebrowser/distinfo4
-rw-r--r--databases/sqlitebrowser/files/patch-src-PreferencesDialog.cpp22
-rw-r--r--databases/sqlitebrowser/pkg-plist1
4 files changed, 17 insertions, 14 deletions
diff --git a/databases/sqlitebrowser/Makefile b/databases/sqlitebrowser/Makefile
index 6076ad151ad8..6aba7fd1516c 100644
--- a/databases/sqlitebrowser/Makefile
+++ b/databases/sqlitebrowser/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= sqlitebrowser
-PORTVERSION= 3.5.1
+PORTVERSION= 3.6.0
CATEGORIES= databases
MAINTAINER= coder@tuxfamily.org
@@ -13,7 +13,7 @@ LICENSE_COMB= dual
USE_GITHUB= yes
GH_ACCOUNT= sqlitebrowser
-GH_TAGNAME= 1d12977
+GH_TAGNAME= e703344
USES= cmake desktop-file-utils
USE_QT4= gui qmake_build linguist_build moc_build uic_build rcc_build
diff --git a/databases/sqlitebrowser/distinfo b/databases/sqlitebrowser/distinfo
index 65fe73b3d871..e84f5655114d 100644
--- a/databases/sqlitebrowser/distinfo
+++ b/databases/sqlitebrowser/distinfo
@@ -1,2 +1,2 @@
-SHA256 (sqlitebrowser-sqlitebrowser-3.5.1-1d12977_GH0.tar.gz) = ba417db4e6fbf9f05d11ad77f83081b05b30591a4b0a8796d64b03836869bf35
-SIZE (sqlitebrowser-sqlitebrowser-3.5.1-1d12977_GH0.tar.gz) = 874558
+SHA256 (sqlitebrowser-sqlitebrowser-3.6.0-e703344_GH0.tar.gz) = 3bc136d79ce18a15c2e4319236cefa28eff740f7e28762bde0d388c6b396d170
+SIZE (sqlitebrowser-sqlitebrowser-3.6.0-e703344_GH0.tar.gz) = 1452710
diff --git a/databases/sqlitebrowser/files/patch-src-PreferencesDialog.cpp b/databases/sqlitebrowser/files/patch-src-PreferencesDialog.cpp
index c88f834ada60..14f2e9074f67 100644
--- a/databases/sqlitebrowser/files/patch-src-PreferencesDialog.cpp
+++ b/databases/sqlitebrowser/files/patch-src-PreferencesDialog.cpp
@@ -1,17 +1,19 @@
---- src/PreferencesDialog.cpp.orig 2015-02-01 15:27:53.407669984 +0100
-+++ src/PreferencesDialog.cpp 2015-02-01 15:30:51.885904399 +0100
-@@ -266,9 +266,13 @@
+--- src/PreferencesDialog.cpp.orig 2015-05-09 08:19:49.920343024 +0200
++++ src/PreferencesDialog.cpp 2015-05-09 08:20:57.913337598 +0200
+@@ -356,8 +356,15 @@
+
void PreferencesDialog::fillLanguageBox()
{
- // Use the path relative to the main executable
+- QDir translationsDir(QCoreApplication::applicationDirPath() + "/translations",
++
+#ifdef Q_OS_FREEBSD
+ QDir translationsDir("%%DATADIR%%/translations",
-+ "sqlb_*.qm");
-+#else
- QDir translationsDir(QCoreApplication::applicationDirPath() + "/translations",
"sqlb_*.qm");
--
++#else
++ QDir translationsDir(QCoreApplication::applicationDirPath() + "/translations",
++ "sqlb_*.qm");
++
+#endif
- // Add default language
- ui->languageComboBox->addItem("English (United States)", "en_US");
+
+ QLocale systemLocale = QLocale::system();
diff --git a/databases/sqlitebrowser/pkg-plist b/databases/sqlitebrowser/pkg-plist
index 67f4ea11a802..00598db25bcd 100644
--- a/databases/sqlitebrowser/pkg-plist
+++ b/databases/sqlitebrowser/pkg-plist
@@ -1,4 +1,5 @@
%%QT_BINDIR%%/sqlitebrowser
+share/appdata/sqlitebrowser.desktop.appdata.xml
share/applications/sqlitebrowser.desktop
share/icons/hicolor/256x256/apps/sqlitebrowser.png
%%DATADIR%%/translations/sqlb_de.qm