From d84608e2b5bc092be1d8bcfed84141f212cf95d8 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 13 Jun 2026 19:59:19 +0300 Subject: [PATCH] Switch to new package format --- pkg.info => info.yml | 3 ++- source.sh => recipe.sh | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) rename pkg.info => info.yml (97%) rename source.sh => recipe.sh (88%) diff --git a/pkg.info b/info.yml similarity index 97% rename from pkg.info rename to info.yml index b4eccb9..900bc09 100644 --- a/pkg.info +++ b/info.yml @@ -1,7 +1,7 @@ name: ghostscript description: Interpreter for the PostScript language and PDF files version: 10.07.1 -revision: 1 +revision: 2 url: https://www.ghostscript.com/ license: AGPL3-or-later maintainers: @@ -14,6 +14,7 @@ depends: - gdk-pixbuf - glib - glibc + - jbig2dec - lcms2 - libcups - libidn2 diff --git a/source.sh b/recipe.sh similarity index 88% rename from source.sh rename to recipe.sh index 2470810..46fb2d2 100644 --- a/source.sh +++ b/recipe.sh @@ -1,4 +1,4 @@ -# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package +# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT @@ -6,7 +6,7 @@ # This function is used to compile the source code build() { # Prevent linking to bundled libraries - rm -rf cups/libs jpeg lcms2mt leptonica libpng openjpeg tesseract tiff zlib gdpl + rm -rf cups/libs jbig2dec jpeg lcms2mt leptonica libpng openjpeg tesseract tiff zlib gdpl # Remove internal cmaps rm -rf Resource/CMap @@ -20,6 +20,7 @@ build() { --enable-fontconfig \ --enable-freetype \ --enable-openjpeg \ + --with-jbig2dec \ --with-libpaper \ --with-x