mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
databases/sqlitebrowser: 3.6.0 -> 3.7.0
Changes: https://github.com/sqlitebrowser/sqlitebrowser/releases/tag/v3.7.0 PR: 204300 Submitted by: yuri@rawbw.com Approved by: coder@tuxfamily.org (maintainer)
This commit is contained in:
parent
b9f199ab5d
commit
25a6494c9f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402132
@ -2,8 +2,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sqlitebrowser
|
||||
PORTVERSION= 3.6.0
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 3.7.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= databases
|
||||
|
||||
MAINTAINER= coder@tuxfamily.org
|
||||
@ -13,8 +13,6 @@ LICENSE= MPL GPLv3
|
||||
LICENSE_COMB= dual
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= sqlitebrowser
|
||||
GH_TAGNAME= e703344
|
||||
|
||||
USES= cmake desktop-file-utils
|
||||
USE_QT4= corelib network gui qmake_build linguisttools_build \
|
||||
@ -30,8 +28,4 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
|
||||
${WRKSRC}/src/Application.cpp
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${LOCALBASE}/share/${PORTNAME}/translations
|
||||
(cd ${WRKSRC}/translations && ${COPYTREE_SHARE} . ${STAGEDIR}${LOCALBASE}/share/${PORTNAME}/translations)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (sqlitebrowser-sqlitebrowser-3.6.0-e703344_GH0.tar.gz) = 3bc136d79ce18a15c2e4319236cefa28eff740f7e28762bde0d388c6b396d170
|
||||
SIZE (sqlitebrowser-sqlitebrowser-3.6.0-e703344_GH0.tar.gz) = 1452710
|
||||
SHA256 (sqlitebrowser-sqlitebrowser-v3.7.0_GH0.tar.gz) = 3093a1dcf5b3138c1adf29857d62249ab2b068e70b001869a31151763e28cc3a
|
||||
SIZE (sqlitebrowser-sqlitebrowser-v3.7.0_GH0.tar.gz) = 1509766
|
||||
|
@ -1,4 +1,4 @@
|
||||
--- src/Application.cpp.orig 2015-04-27 09:31:47 UTC
|
||||
--- src/Application.cpp.orig 2015-06-14 10:13:37 UTC
|
||||
+++ src/Application.cpp
|
||||
@@ -30,8 +30,15 @@ Application::Application(int& argc, char
|
||||
|
||||
@ -13,10 +13,10 @@
|
||||
ok = m_translatorApp->load("sqlb_" + name,
|
||||
QCoreApplication::applicationDirPath() + "/translations");
|
||||
+#endif
|
||||
|
||||
if (ok == true) {
|
||||
PreferencesDialog::setSettingsValue("General", "language", name);
|
||||
@@ -47,7 +54,9 @@ Application::Application(int& argc, char
|
||||
// If failed then try to load .qm file from resources
|
||||
if (ok == false) {
|
||||
ok = m_translatorApp->load("sqlb_" + name, ":/translations");
|
||||
@@ -51,7 +58,9 @@ Application::Application(int& argc, char
|
||||
ok = m_translatorQt->load("qt_" + name,
|
||||
QLibraryInfo::location(QLibraryInfo::TranslationsPath));
|
||||
if (ok == false)
|
||||
|
@ -2,7 +2,3 @@
|
||||
share/appdata/sqlitebrowser.desktop.appdata.xml
|
||||
share/applications/sqlitebrowser.desktop
|
||||
share/icons/hicolor/256x256/apps/sqlitebrowser.png
|
||||
%%DATADIR%%/translations/sqlb_de.qm
|
||||
%%DATADIR%%/translations/sqlb_fr.qm
|
||||
%%DATADIR%%/translations/sqlb_ru.qm
|
||||
%%DATADIR%%/translations/sqlb_zh.qm
|
||||
|
Loading…
Reference in New Issue
Block a user