databases/sqlitebrowser: modernize, fix dependencies

- Replace USE_QT4=linguist_build with USE_QT4=linguisttools_build.
- Add missed corelib and network components into USE_QT4.
- Regenerate patches.
- Bump PORTREVISION

PR:                  201648
Submitted by:        s3erios@gmail.com
Approved by:         maintainer timeout (coder@tuxfamily.org ; 25 days)
This commit is contained in:
Philip M. Gollucci 2015-08-12 00:10:35 +00:00
parent 279e35637e
commit e86c459a92
3 changed files with 10 additions and 8 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= sqlitebrowser
PORTVERSION= 3.6.0
PORTREVISION= 1
CATEGORIES= databases
MAINTAINER= coder@tuxfamily.org
@ -16,7 +17,8 @@ GH_ACCOUNT= sqlitebrowser
GH_TAGNAME= e703344
USES= cmake desktop-file-utils
USE_QT4= gui qmake_build linguist_build moc_build uic_build rcc_build
USE_QT4= corelib network gui qmake_build linguisttools_build \
moc_build uic_build rcc_build
USE_SQLITE= yes
INSTALLS_ICONS= yes

View file

@ -1,6 +1,6 @@
--- src/Application.cpp.orig 2015-01-30 19:48:06.000000000 +0100
+++ src/Application.cpp 2015-02-01 15:40:02.790619098 +0100
@@ -30,8 +30,15 @@
--- src/Application.cpp.orig 2015-04-27 09:31:47 UTC
+++ src/Application.cpp
@@ -30,8 +30,15 @@ Application::Application(int& argc, char
// First of all try to load the application translation file.
m_translatorApp = new QTranslator(this);
@ -16,7 +16,7 @@
if (ok == true) {
PreferencesDialog::setSettingsValue("General", "language", name);
@@ -47,7 +54,9 @@
@@ -47,7 +54,9 @@ Application::Application(int& argc, char
ok = m_translatorQt->load("qt_" + name,
QLibraryInfo::location(QLibraryInfo::TranslationsPath));
if (ok == false)

View file

@ -1,6 +1,6 @@
--- 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 @@
--- src/PreferencesDialog.cpp.orig 2015-04-27 09:31:47 UTC
+++ src/PreferencesDialog.cpp
@@ -356,8 +356,15 @@ void PreferencesDialog::removeExtension(
void PreferencesDialog::fillLanguageBox()
{