podofo{,0}: add changelog, use lib.cmakeBool, strictDeps, __structuredAttrs

This commit is contained in:
kuflierl
2026-05-08 16:34:54 +02:00
parent 2676cc1218
commit bdcc71f661
+6 -2
View File
@@ -47,13 +47,17 @@ stdenv.mkDerivation (finalAttrs: {
];
cmakeFlags = [
"-DPODOFO_BUILD_STATIC=${if stdenv.hostPlatform.isStatic then "ON" else "OFF"}"
"-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON"
(lib.cmakeBool "PODOFO_BUILD_STATIC" stdenv.hostPlatform.isStatic)
(lib.cmakeBool "CMAKE_BUILD_WITH_INSTALL_NAME_DIR" true)
];
strictDeps = true;
__structuredAttrs = true;
meta = {
homepage = "https://github.com/podofo/podofo";
description = "Library to work with the PDF file format";
changelog = "https://github.com/podofo/podofo/blob/${finalAttrs.version}/CHANGELOG.md";
platforms = lib.platforms.all;
license = with lib.licenses; [
gpl2Plus