stirling-pdf: 0.33.1 -> 1.0.2

https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v1.0.2
This commit is contained in:
gileri 2025-07-08 21:22:54 +02:00
parent 1662129284
commit 8b62040496
No known key found for this signature in database
GPG Key ID: B1A65E9E07AF4FF2
3 changed files with 1538 additions and 1061 deletions

File diff suppressed because it is too large Load Diff

View File

@ -12,13 +12,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "stirling-pdf";
version = "0.33.1";
version = "1.0.2";
src = fetchFromGitHub {
owner = "Stirling-Tools";
repo = "Stirling-PDF";
rev = "v${finalAttrs.version}";
hash = "sha256-Cl2IbFfw6TH904Y63YQnXS/mDEuUB6AdCoRT4G+W0hU=";
hash = "sha256-mO1fOmkLDUFz46/d1+TF24pDBRNoteQ+hlrwgIRV8EQ=";
};
patches = [
@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
installPhase = ''
runHook preInstall
install -Dm644 build/libs/Stirling-PDF-*.jar $out/share/stirling-pdf/Stirling-PDF.jar
install -Dm644 ./stirling-pdf/build/libs/stirling-pdf-*.jar $out/share/stirling-pdf/Stirling-PDF.jar
makeWrapper ${jre}/bin/java $out/bin/Stirling-PDF \
--add-flags "-jar $out/share/stirling-pdf/Stirling-PDF.jar"

View File

@ -1,12 +1,12 @@
diff --git a/build.gradle b/build.gradle
index e12cbd3..094a219 100644
index 3dba68da..fde06f16 100644
--- a/build.gradle
+++ b/build.gradle
@@ -173,6 +173,7 @@ task writeVersion {
def props = new Properties()
props.setProperty('version', version)
props.store(propsFile.newWriter(), null)
+ propsFile.text = propsFile.readLines().tail().join('\n')
@@ -75,6 +75,7 @@ tasks.register('writeVersion') {
def props = new Properties()
props.setProperty("version", version)
props.store(propsFile.newWriter(), null)
+ propsFile.text = propsFile.readLines().tail().join('\n')
}
}
swaggerhubUpload {