Add imagemagick,jbig,lerc,libaom,libde265,libheif,libjxl,libtiff,libwebp,libzip

This commit is contained in:
crazywhalecc
2026-02-05 20:59:23 +08:00
parent 807b90b182
commit 7ae16e5be8
20 changed files with 617 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
imagemagick:
type: library
artifact:
source: {
"type": "ghtar",
"repo": "ImageMagick/ImageMagick"
}
metadata:
license-files: [LICENSE]
lang: cpp
pkg-configs: [
"Magick++-7.Q16HDRI",
"MagickCore-7.Q16HDRI",
"MagickWand-7.Q16HDRI"
]
depends:
- zlib
- libjpeg
- libjxl
- libpng
- libwebp
- freetype
- libtiff
- libheif
- bzip2
suggests:
- zstd
- xz
- libzip
- libxml2

15
config/pkg/lib/jbig.yml Normal file
View File

@@ -0,0 +1,15 @@
jbig:
type: library
artifact:
source: 'https://dl.static-php.dev/static-php-cli/deps/jbig/jbigkit-2.1.tar.gz'
source-mirror: 'https://www.cl.cam.ac.uk/~mgk25/jbigkit/download/jbigkit-2.1.tar.gz'
metadata:
license-files: [COPYING]
license: GPL-2.0-or-later
headers:
- jbig.h
- jbig85.h
- jbig_ar.h
static-libs@unix:
- libjbig.a
- libjbig85.a

12
config/pkg/lib/lerc.yml Normal file
View File

@@ -0,0 +1,12 @@
lerc:
type: library
artifact:
source:
type: ghtar
repo: Esri/lerc
prefer-stable: true
metadata:
license-files: [LICENSE]
lang: cpp
static-libs@unix:
- libLerc.a

12
config/pkg/lib/libaom.yml Normal file
View File

@@ -0,0 +1,12 @@
libaom:
type: library
artifact:
source:
type: git
rev: main
url: 'https://aomedia.googlesource.com/aom'
metadata:
license-files: [LICENSE]
lang: cpp
static-libs@unix:
- libaom.a

View File

@@ -0,0 +1,13 @@
libde265:
type: library
artifact:
source:
type: ghrel
repo: strukturag/libde265
match: libde265-.+\.tar\.gz
prefer-stable: true
metadata:
license-files: [COPYING]
lang: cpp
static-libs@unix:
- libde265.a

View File

@@ -0,0 +1,18 @@
libheif:
type: library
artifact:
source:
type: ghrel
repo: strukturag/libheif
match: libheif-.+\.tar\.gz
prefer-stable: true
metadata:
license-files: [COPYING]
depends:
- libde265
- libwebp
- libaom
- zlib
- brotli
static-libs@unix:
- libheif.a

21
config/pkg/lib/libjxl.yml Normal file
View File

@@ -0,0 +1,21 @@
libjxl:
type: library
artifact:
source:
type: git
url: 'https://github.com/libjxl/libjxl'
rev: main
submodules: [third_party/highway, third_party/libjpeg-turbo, third_party/sjpeg, third_party/skcms]
metadata:
license-files: [LICENSE]
license: BSD-3-Clause
depends:
- brotli
- libjpeg
- libpng
- libwebp
pkg-configs:
- libjxl
- libjxl_cms
- libjxl_threads
- libhwy

View File

@@ -0,0 +1,21 @@
libtiff:
type: library
artifact:
source:
type: filelist
url: 'https://download.osgeo.org/libtiff/'
regex: '/href="(?<file>tiff-(?<version>[^"]+)\.tar\.xz)"/'
metadata:
license-files: [LICENSE.md]
license: libtiff
depends:
- zlib
- libjpeg
suggests@unix:
- lerc
- libwebp
- jbig
- xz
- zstd
static-libs@unix:
- libtiff.a

View File

@@ -0,0 +1,16 @@
libwebp:
type: library
artifact:
source:
type: ghtagtar
repo: webmproject/libwebp
match: v1\.\d+\.\d+$
metadata:
license-files: [COPYING]
license: BSD-3-Clause
pkg-configs:
- libwebp
- libwebpdecoder
- libwebpdemux
- libwebpmux
- libsharpyuv

23
config/pkg/lib/libzip.yml Normal file
View File

@@ -0,0 +1,23 @@
libzip:
type: library
artifact:
source: {
"type": "ghrel",
"repo": "nih-at/libzip",
"match": "libzip.+\\.tar\\.xz",
"prefer-stable": true
}
metadata:
license-files: [LICENSE]
static-libs@unix:
- libzip.a
headers:
- zip.h
- zipconf.h
depends@unix:
- zlib
suggests@unix:
- bzip2
- xz
- zstd
- openssl