Updated versions and dates

This commit is contained in:
redtide 2023-04-15 00:53:47 +02:00
parent 329263178b
commit 5a3d0bdf26
4 changed files with 14 additions and 5 deletions

View file

@ -8,7 +8,7 @@ else()
endif()
endif()
project (sfizz VERSION 1.2.0 LANGUAGES CXX C)
project (sfizz VERSION 1.2.1 LANGUAGES CXX C)
set (PROJECT_DESCRIPTION "A library to load SFZ description files and use them to render music.")
# External configuration CMake scripts

View file

@ -1,6 +1,6 @@
BSD 2-Clause License
Copyright (c) 2021, sfizz contributors (detailed in AUTHORS.md)
Copyright (c) 2021-2023, sfizz contributors (detailed in AUTHORS.md)
All rights reserved.
Redistribution and use in source and binary forms, with or without

View file

@ -4,7 +4,7 @@ option(SFIZZ_LV2_PSA "Enable plugin-side MIDI automations" ON)
# Configuration for this plugin
# TODO: generate version from git
set(LV2PLUGIN_VERSION_MINOR 10)
set(LV2PLUGIN_VERSION_MICRO 0)
set(LV2PLUGIN_VERSION_MICRO 2)
set(LV2PLUGIN_NAME "sfizz")
set(LV2PLUGIN_COMMENT "SFZ sampler")
set(LV2PLUGIN_URI "http://sfztools.github.io/sfizz")

View file

@ -15,7 +15,10 @@
#include "utility/vstgui_after.h"
#include <absl/strings/str_cat.h>
#if 0
#include <absl/time/clock.h>
#include <absl/time/time.h>
#endif
using namespace gui;
SAboutDialog::SAboutDialog(const CRect& bounds)
@ -54,9 +57,15 @@ SAboutDialog::SAboutDialog(const CRect& bounds)
versionBuf = absl::StrCat(SFIZZ_VERSION ".", GitBuildId);
version = versionBuf.c_str();
}
#if 0
absl::TimeZone utc = absl::UTCTimeZone();
absl::Time time = absl::Now();
absl::CivilYear date = absl::ToCivilYear(time, utc);
// u8"Copyright 2019-", date.year(), u8" by SFZTools Team,\n"
#endif
lbl->setText(absl::StrCat(
u8"Version ", version, u8"\n"
u8"Copyright 2019-2021 by SFZTools Team,\n"
u8"Copyright 2019-2023 by SFZTools Team,\n"
u8"licensed under BSD 2-clause license."));
return lbl;
};