mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 16:02:55 +02:00
dooble: update to 2025.02.28.
This commit is contained in:
parent
e2ef42cafd
commit
837b29cfd7
2 changed files with 5 additions and 6 deletions
|
@ -1,12 +1,11 @@
|
||||||
--- a/Source/dooble_application.cc
|
--- a/Source/dooble_application.cc
|
||||||
+++ b/Source/dooble_application.cc
|
+++ b/Source/dooble_application.cc
|
||||||
@@ -75,16 +75,13 @@ void dooble_application::install_translator(void)
|
@@ -75,15 +75,12 @@ void dooble_application::install_translator(void)
|
||||||
|
|
||||||
if(dooble_settings::setting("language_index").toInt() == 1) // System
|
if(dooble_settings::setting("language_index").toInt() == 1) // System
|
||||||
{
|
{
|
||||||
- QString path("");
|
- QString path("");
|
||||||
+ QString path("/usr/share/translations/");
|
+ QString path("/usr/share/translations/");
|
||||||
auto const name(QLocale::system().name());
|
|
||||||
auto const variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed());
|
auto const variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed());
|
||||||
|
|
||||||
if(!variable.isEmpty())
|
if(!variable.isEmpty())
|
||||||
|
@ -17,4 +16,4 @@
|
||||||
-
|
-
|
||||||
m_translator = new QTranslator(this);
|
m_translator = new QTranslator(this);
|
||||||
|
|
||||||
if(m_translator->load("dooble_" + name, path))
|
if(m_translator->load(QLocale(), "dooble", "_", path, ".qm"))
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dooble'
|
# Template file for 'dooble'
|
||||||
pkgname=dooble
|
pkgname=dooble
|
||||||
version=2024.08.20
|
version=2025.02.28
|
||||||
revision=2
|
revision=1
|
||||||
archs="x86_64* aarch64*"
|
archs="x86_64* aarch64*"
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
configure_args="dooble.pro"
|
configure_args="dooble.pro"
|
||||||
|
@ -15,7 +15,7 @@ maintainer="Eloi Torrents <eloitor@duck.com>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://textbrowser.github.io/dooble/"
|
homepage="https://textbrowser.github.io/dooble/"
|
||||||
distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz"
|
distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz"
|
||||||
checksum=dbacd6adf762964983a1943496cd435ea9e4cf269568141d85a3c12d67acbc1e
|
checksum=89b549e11ac12e1ade14672bffc1d144d1146e4afcdd019daef99616b109ce5c
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
vsed -i -e 's/Wzero-as-null-pointer-constant/Wno-zero-as-null-pointer-constant/' \
|
vsed -i -e 's/Wzero-as-null-pointer-constant/Wno-zero-as-null-pointer-constant/' \
|
||||||
|
|
Loading…
Add table
Reference in a new issue