flameshot: 13.0.1 -> 13.1.0

+28 -41
+17 -24
pkgs/by-name/fl/flameshot/load-missing-deps.patch
··· 1 - --- a/CMakeLists.txt 2025-08-15 11:37:20 2 - +++ b/CMakeLists.txt 2025-08-15 11:40:06 3 - @@ -29,21 +29,7 @@ 4 - if(EXISTS "${CMAKE_SOURCE_DIR}/external/Qt-Color-Widgets/CMakeLists.txt") 5 - add_subdirectory("${CMAKE_SOURCE_DIR}/external/Qt-Color-Widgets" EXCLUDE_FROM_ALL) 6 - else() 7 - FetchContent_Declare( 8 - qtColorWidgets 9 - GIT_REPOSITORY https://gitlab.com/mattbas/Qt-Color-Widgets.git ··· 19 - else() 20 - FetchContent_MakeAvailable(qtColorWidgets) 21 - endif() 22 - + find_package(QtColorWidgets REQUIRED) 23 - endif() 24 - 25 # This can be read from ${PROJECT_NAME} after project() is called 26 - @@ -115,12 +101,7 @@ 27 - if(EXISTS "${CMAKE_SOURCE_DIR}/external/KDSingleApplication/CMakeLists.txt") 28 - add_subdirectory("${CMAKE_SOURCE_DIR}/external/KDSingleApplication") 29 - else() 30 - - FetchContent_Declare( 31 - - kdsingleApplication 32 - - GIT_REPOSITORY https://github.com/KDAB/KDSingleApplication.git 33 - - GIT_TAG v1.2.0 34 - - ) 35 - - FetchContent_MakeAvailable(KDSingleApplication) 36 - + find_package(KDSingleApplication-qt6 REQUIRED) 37 - endif() 38 - endif() 39 - 40 - @@ -128,12 +109,7 @@ 41 option(BUILD_STATIC_LIBS ON) 42 43 if (APPLE)
··· 1 + --- a/CMakeLists.txt 2025-08-21 13:12:55 2 + +++ b/CMakeLists.txt 2025-08-21 13:16:26 3 + @@ -24,28 +24,8 @@ 4 + #Needed due to linker error with QtColorWidget 5 + set(CMAKE_POSITION_INDEPENDENT_CODE ON) 6 + 7 + +find_package(QtColorWidgets REQUIRED) 8 + 9 + -# Dependency can be fetched via flatpak builder 10 + -if(EXISTS "${CMAKE_SOURCE_DIR}/external/Qt-Color-Widgets/CMakeLists.txt") 11 + - add_subdirectory("${CMAKE_SOURCE_DIR}/external/Qt-Color-Widgets" EXCLUDE_FROM_ALL) 12 + -else() 13 - FetchContent_Declare( 14 - qtColorWidgets 15 - GIT_REPOSITORY https://gitlab.com/mattbas/Qt-Color-Widgets.git ··· 25 - else() 26 - FetchContent_MakeAvailable(qtColorWidgets) 27 - endif() 28 + -endif() 29 + - 30 # This can be read from ${PROJECT_NAME} after project() is called 31 + if (APPLE) 32 + set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version") 33 + @@ -133,12 +113,7 @@ 34 option(BUILD_STATIC_LIBS ON) 35 36 if (APPLE)
+8 -15
pkgs/by-name/fl/flameshot/macos-build.patch
··· 1 - --- a/src/CMakeLists.txt 2025-08-12 16:34:27 2 - +++ b/src/CMakeLists.txt 2025-08-15 11:45:56 3 - @@ -220,7 +220,7 @@ 4 - 5 - target_link_libraries( 6 - flameshot 7 - - kdsingleapplication 8 - + kdsingleapplication-qt6 9 - ) 10 - endif() 11 - 12 - @@ -447,64 +447,3 @@ 13 endif () 14 - endif () 15 - 16 -# macdeployqt 17 -if (APPLE) 18 -# Code signing settings - optional, set to empty string to skip signing ··· 73 - endif() 74 - 75 - 76 - -endif ()
··· 1 + --- a/src/CMakeLists.txt 2025-08-21 13:12:55 2 + +++ b/src/CMakeLists.txt 2025-08-21 13:18:55 3 + @@ -449,66 +449,4 @@ 4 + else () 5 + message(WARNING "Unable to find executable windeployqt.") 6 endif () 7 + -endif () 8 + - 9 -# macdeployqt 10 -if (APPLE) 11 -# Code signing settings - optional, set to empty string to skip signing ··· 66 - endif() 67 - 68 - 69 + endif ()
+3 -2
pkgs/by-name/fl/flameshot/package.nix
··· 18 19 stdenv.mkDerivation (finalAttrs: { 20 pname = "flameshot"; 21 - version = "13.0.1"; 22 23 src = fetchFromGitHub { 24 owner = "flameshot-org"; 25 repo = "flameshot"; 26 tag = "v${finalAttrs.version}"; 27 - hash = "sha256-Zo+rhvpwhcYqgn8PZ0b48sCb/YWqGSormFnY6pbY8Qc="; 28 }; 29 30 cmakeFlags = [ 31 "-DCMAKE_CXX_FLAGS=-I${kdsingleapplication}/include/kdsingleapplication-qt6" 32 (lib.cmakeBool "DISABLE_UPDATE_CHECKER" true) 33 (lib.cmakeBool "USE_MONOCHROME_ICON" enableMonochromeIcon) 34 ]
··· 18 19 stdenv.mkDerivation (finalAttrs: { 20 pname = "flameshot"; 21 + version = "13.1.0"; 22 23 src = fetchFromGitHub { 24 owner = "flameshot-org"; 25 repo = "flameshot"; 26 tag = "v${finalAttrs.version}"; 27 + hash = "sha256-Wg0jc1AqgetaESmTyhzAHx3zal/5DMDum7fzhClqeck="; 28 }; 29 30 cmakeFlags = [ 31 "-DCMAKE_CXX_FLAGS=-I${kdsingleapplication}/include/kdsingleapplication-qt6" 32 + (lib.cmakeBool "USE_BUNDLED_KDSINGLEAPPLICATION" false) 33 (lib.cmakeBool "DISABLE_UPDATE_CHECKER" true) 34 (lib.cmakeBool "USE_MONOCHROME_ICON" enableMonochromeIcon) 35 ]