Loading pkgs/applications/audio/easyaudiosync/0001-fix-project-name.patch +2 −2 Original line number Diff line number Diff line diff --git a/CMakeLists.txt b/CMakeLists.txt index 7065538..b2716e1 100644 index 34f3094..b161ba8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ if (VCPKG) Loading @@ -8,6 +8,6 @@ index 7065538..b2716e1 100644 -project("Easy Audio Sync" +project("easyaudiosync" VERSION 1.1.1 VERSION 1.1.2 DESCRIPTION "Audio library syncing and conversion utility" HOMEPAGE_URL "https://github.com/complexlogic/EasyAudioSync" pkgs/applications/audio/easyaudiosync/0002-fix-qt67-deprecated-methods.patchdeleted 100644 → 0 +0 −21 Original line number Diff line number Diff line diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e7befae..8689f13 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -43,11 +43,14 @@ configure_file("${PROJECT_SOURCE_DIR}/translations/languages.hpp.in" "${PROJECT_ # Make lupdate target for Qt 6 if (${QT_VERSION} VERSION_GREATER_EQUAL "6") - qt_add_lupdate(${EXECUTABLE_NAME} + qt_add_lupdate( TS_FILES ${TS_FILES} "${PROJECT_SOURCE_DIR}/translations/source.ts" + SOURCE_TARGETS ${EXECUTABLE_NAME} ) endif () -qt_add_translation(QM_FILES "${TS_FILES}") +qt_add_translations( + ${EXECUTABLE_NAME} +) foreach (FILE ${QM_FILES}) get_filename_component(BASENAME ${FILE} NAME) string(APPEND TRANSLATION_FILES " <file>${BASENAME}</file>\n") pkgs/applications/audio/easyaudiosync/default.nix +2 −3 Original line number Diff line number Diff line Loading @@ -15,18 +15,17 @@ stdenv.mkDerivation rec { pname = "easyaudiosync"; version = "1.1.1"; version = "1.1.2"; src = fetchFromGitHub { owner = "complexlogic"; repo = "EasyAudioSync"; rev = "v${version}"; hash = "sha256-w98tj9BuixPhuDgwn74EYY0gvKH6kbfQmtg030RWRU0="; hash = "sha256-UCOL4DzynKjNDvS0HZ4/K+Wn5lOqHZ0bNop0zqJl5kc="; }; patches = [ ./0001-fix-project-name.patch ./0002-fix-qt67-deprecated-methods.patch ./0003-fix-darwin-app.patch ./0004-force-qt6.patch ]; Loading Loading
pkgs/applications/audio/easyaudiosync/0001-fix-project-name.patch +2 −2 Original line number Diff line number Diff line diff --git a/CMakeLists.txt b/CMakeLists.txt index 7065538..b2716e1 100644 index 34f3094..b161ba8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ if (VCPKG) Loading @@ -8,6 +8,6 @@ index 7065538..b2716e1 100644 -project("Easy Audio Sync" +project("easyaudiosync" VERSION 1.1.1 VERSION 1.1.2 DESCRIPTION "Audio library syncing and conversion utility" HOMEPAGE_URL "https://github.com/complexlogic/EasyAudioSync"
pkgs/applications/audio/easyaudiosync/0002-fix-qt67-deprecated-methods.patchdeleted 100644 → 0 +0 −21 Original line number Diff line number Diff line diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e7befae..8689f13 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -43,11 +43,14 @@ configure_file("${PROJECT_SOURCE_DIR}/translations/languages.hpp.in" "${PROJECT_ # Make lupdate target for Qt 6 if (${QT_VERSION} VERSION_GREATER_EQUAL "6") - qt_add_lupdate(${EXECUTABLE_NAME} + qt_add_lupdate( TS_FILES ${TS_FILES} "${PROJECT_SOURCE_DIR}/translations/source.ts" + SOURCE_TARGETS ${EXECUTABLE_NAME} ) endif () -qt_add_translation(QM_FILES "${TS_FILES}") +qt_add_translations( + ${EXECUTABLE_NAME} +) foreach (FILE ${QM_FILES}) get_filename_component(BASENAME ${FILE} NAME) string(APPEND TRANSLATION_FILES " <file>${BASENAME}</file>\n")
pkgs/applications/audio/easyaudiosync/default.nix +2 −3 Original line number Diff line number Diff line Loading @@ -15,18 +15,17 @@ stdenv.mkDerivation rec { pname = "easyaudiosync"; version = "1.1.1"; version = "1.1.2"; src = fetchFromGitHub { owner = "complexlogic"; repo = "EasyAudioSync"; rev = "v${version}"; hash = "sha256-w98tj9BuixPhuDgwn74EYY0gvKH6kbfQmtg030RWRU0="; hash = "sha256-UCOL4DzynKjNDvS0HZ4/K+Wn5lOqHZ0bNop0zqJl5kc="; }; patches = [ ./0001-fix-project-name.patch ./0002-fix-qt67-deprecated-methods.patch ./0003-fix-darwin-app.patch ./0004-force-qt6.patch ]; Loading