2023-09-26 00:44:58 -04:00
|
|
|
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2023-09-23 15:45:38 -04:00
|
|
|
#include "aboutdata.h"
|
|
|
|
|
|
|
|
#include <physis.hpp>
|
|
|
|
|
|
|
|
#include "novus-version.h"
|
|
|
|
|
2023-12-31 12:11:42 -05:00
|
|
|
void customizeAboutData(const QString &componentName, const QString &desktopFilename, const QString &applicationTitle, const QString &applicationDescription)
|
2023-10-12 23:44:54 -04:00
|
|
|
{
|
|
|
|
KAboutData about(componentName,
|
|
|
|
applicationTitle,
|
|
|
|
QStringLiteral(NOVUS_VERSION_STRING),
|
|
|
|
applicationDescription,
|
|
|
|
KAboutLicense::GPL_V3,
|
2024-02-03 10:35:51 -05:00
|
|
|
QStringLiteral("© 2022-2024 Joshua Goins"));
|
2023-09-26 00:42:57 -04:00
|
|
|
about.addAuthor(QStringLiteral("Joshua Goins"),
|
|
|
|
QStringLiteral("Maintainer"),
|
|
|
|
QStringLiteral("josh@redstrate.com"),
|
|
|
|
QStringLiteral("https://redstrate.com/"),
|
|
|
|
QUrl(QStringLiteral("https://redstrate.com/rss-image.png")));
|
2023-10-12 23:44:54 -04:00
|
|
|
about.setHomepage(QStringLiteral("https://xiv.zone/novus"));
|
2023-09-26 00:37:55 -04:00
|
|
|
about.addComponent(QStringLiteral("physis"),
|
|
|
|
QStringLiteral("Library to access FFXIV data"),
|
|
|
|
QLatin1String(physis_get_physis_version()),
|
|
|
|
QStringLiteral("https://xiv.zone/physis"),
|
|
|
|
KAboutLicense::GPL_V3);
|
|
|
|
about.addComponent(QStringLiteral("libphysis"),
|
|
|
|
QStringLiteral("C bindings for physis"),
|
|
|
|
QLatin1String(physis_get_libphysis_version()),
|
2023-10-12 23:44:54 -04:00
|
|
|
QStringLiteral("https://git.sr.ht/~redstrate/libphysis"),
|
2023-09-26 00:37:55 -04:00
|
|
|
KAboutLicense::GPL_V3);
|
2023-09-23 15:45:38 -04:00
|
|
|
about.setBugAddress(QByteArrayLiteral("https://lists.sr.ht/~redstrate/public-inbox"));
|
|
|
|
about.setComponentName(componentName);
|
2023-12-31 12:11:42 -05:00
|
|
|
about.setProgramLogo(desktopFilename);
|
|
|
|
about.setDesktopFileName(desktopFilename);
|
|
|
|
about.setOrganizationDomain(QByteArrayLiteral("xiv.zone"));
|
2023-09-23 15:45:38 -04:00
|
|
|
|
|
|
|
KAboutData::setApplicationData(about);
|
|
|
|
}
|