# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= sqlitebrowser VERSION= 3.12.2 REVISION= 1 KEYWORDS= databases VARIANTS= standard SDESC[standard]= Visual tool to manage SQLite databases HOMEPAGE= https://sqlitebrowser.org/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= GITHUB/sqlitebrowser:sqlitebrowser:v3.12.2 DISTFILE[1]= generated:main DF_INDEX= 1 SPKGS[standard]= single OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= qt5-qttools:complete:standard qscintilla:dev:qt5 BUILDRUN_DEPENDS= qscintilla:primary:qt5 USES= cmake sqlite desktop-utils:single gnome-icons:single LICENSE= MPL:single GPLv3+:single LICENSE_TERMS= single:{{WRKDIR}}/TERMS LICENSE_FILE= MPL:stock GPLv3+:stock LICENSE_AWK= TERMS:"^----" LICENSE_SOURCE= TERMS:{{WRKSRC}}/LICENSE LICENSE_SCHEME= dual FPC_EQUIVALENT= databases/sqlitebrowser CMAKE_ARGS= -DFORCE_INTERNAL_ANTLR:BOOL=ON -DQT_INCLUDE_DIR:PATH="{{PREFIX}}/include/qt5" -DQT_LIBRARY_DIR:PATH="{{PREFIX}}/lib/qt5" -DCMAKE_PREFIX_PATH:PATH="{{PREFIX}}/lib/qt5/cmake/" post-patch: ${REINPLACE_CMD} -e 's|%%DATADIR%%|${PREFIX}/share/${NAMEBASE}|' \ ${WRKSRC}/src/PreferencesDialog.cpp \ ${WRKSRC}/src/Application.cpp post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sqlitebrowser [FILE:911:descriptions/desc.single] DB Browser for SQLite is a high quality, visual, open source tool to create, design, and edit database files compatible with SQLite. It is for users and developers wanting to create databases, search, and edit data. It uses a familiar spreadsheet-like interface, and you don't need to learn complicated SQL commands. Controls and wizards are available for users to: * Create and compact database files * Create, define, modify and delete tables * Create, define and delete indexes * Browse, edit, add and delete records * Search records * Import and export records as text * Import and export tables from/to CSV files * Import and export databases from/to SQL dump files * Issue SQL queries and inspect the results * Examine a log of all SQL commands issued by the application This program is not a visual shell for the sqlite command line tool. It does not require familiarity with SQL commands. [FILE:120:distinfo] 645f98d38e5d128a449e93cebf03c8070f9eacd2d16b10e433a781d54a9d478a 3990817 sqlitebrowser-sqlitebrowser-3.12.2.tar.gz [FILE:159:manifests/plist.single] bin/sqlitebrowser share/applications/sqlitebrowser.desktop share/icons/hicolor/256x256/apps/sqlitebrowser.png share/metainfo/sqlitebrowser.desktop.appdata.xml [FILE:360:patches/patch-libs_qcustomplot-source_CMakeLists.txt] --- libs/qcustomplot-source/CMakeLists.txt.orig 2021-05-02 14:08:53 UTC +++ libs/qcustomplot-source/CMakeLists.txt @@ -18,4 +18,4 @@ set(QCUSTOMPLOT_MOC_HDR add_library(qcustomplot ${QCUSTOMPLOT_SRC} ${QCUSTOMPLOT_HDR} ${QCUSTOMPLOT_MOC}) -target_link_libraries(qcustomplot Qt5::Widgets Qt5::PrintSupport) +target_link_libraries(qcustomplot Qt5::Widgets) [FILE:657:patches/patch-src_Application.cpp] --- src/Application.cpp.orig 2021-05-02 14:08:53 UTC +++ src/Application.cpp @@ -31,8 +31,8 @@ Application::Application(int& argc, char // First of all try to load the application translation file. m_translatorApp = new QTranslator(this); - ok = m_translatorApp->load("sqlb_" + name, - QCoreApplication::applicationDirPath() + "/translations"); + QString trans_dir = "%%DATADIR%%/translations"; + ok = m_translatorApp->load("sqlb_" + name, trans_dir); // If failed then try to load .qm file from resources if (ok == false) { ok = m_translatorApp->load("sqlb_" + name, ":/translations"); [FILE:441:patches/patch-src_PreferencesDialog.cpp] --- src/PreferencesDialog.cpp.orig 2021-05-02 14:08:53 UTC +++ src/PreferencesDialog.cpp @@ -411,8 +411,7 @@ void PreferencesDialog::removeExtension( void PreferencesDialog::fillLanguageBox() { - QDir translationsDir(QCoreApplication::applicationDirPath() + "/translations", - "sqlb_*.qm"); + QDir translationsDir("%%DATADIR%%/translations", "sqlb_*.qm"); QLocale systemLocale = QLocale::system();