Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cross/gdk-pixbuf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DEPENDS = cross/glib cross/libpng cross/libjpeg cross/libtiff

HOMEPAGE = https://docs.gtk.org/gdk-pixbuf/
COMMENT = gdk-pixbuf is an image loading library which is used by GTK.
LICENSE =
LICENSE = GPLv2.1+

GNU_CONFIGURE = 1
CONFIGURE_ARGS = -Dtests=false -Dinstalled_tests=false
Expand Down
22 changes: 22 additions & 0 deletions cross/highway/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
PKG_NAME = highway
PKG_VERS = 1.3.0
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/google/highway/releases/download/$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS =

# Minimum GCC version required is 7
REQUIRED_MIN_DSM = 7.0
UNSUPPORTED_ARCHS = comcerto2k

HOMEPAGE = https://google.github.io/highway/
COMMENT = Performance-portable, length-agnostic SIMD with runtime dispatch.
LICENSE = Apache 2.0 / 3-Clause BSD

CMAKE_ARGS += -DBUILD_SHARED_LIBS=ON
CMAKE_ARGS += -DHWY_ENABLE_TESTS=OFF
CMAKE_ARGS += -DHWY_ENABLE_EXAMPLES=OFF

include ../../mk/spksrc.cross-cmake.mk
6 changes: 6 additions & 0 deletions cross/highway/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
lnk:lib/libhwy.so
lnk:lib/libhwy.so.1
lib:lib/libhwy.so.1.3.0
lnk:lib/libhwy_contrib.so
lnk:lib/libhwy_contrib.so.1
lib:lib/libhwy_contrib.so.1.3.0
3 changes: 3 additions & 0 deletions cross/highway/digests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
highway-1.3.0.tar.gz SHA1 eca6dc64a4fa9a8d39de5f147c234a31c15011d4
highway-1.3.0.tar.gz SHA256 e8d696900b45f4123be8a9d6866f4e7b6831bf599f4b9c178964d968e6a58a69
highway-1.3.0.tar.gz MD5 b2926ccf7fa63b351ac79d2f814e3f31
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# avoid use of PERF_COUNT_HW_REF_CPU_CYCLES if not defined
# fixes build for arch-evansport-7.1
#
--- hwy/perf_counters.cc.orig 2025-08-14 07:25:53.000000000 +0000
+++ hwy/perf_counters.cc 2025-09-12 12:51:28.710862219 +0000
@@ -58,7 +58,11 @@
// because the latter is not supported and returns 0, see
// https://lwn.net/Articles/967791/.
uint64_t RefCyclesOrCycles() {
+#if defined(PERF_COUNT_HW_REF_CPU_CYCLES)
const uint32_t ref_cycles = PERF_COUNT_HW_REF_CPU_CYCLES;
+#else
+ const uint32_t ref_cycles = PERF_COUNT_HW_CPU_CYCLES;
+#endif

utsname buf;
if (uname(&buf) != 0) return ref_cycles;
25 changes: 20 additions & 5 deletions cross/imagemagick/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
PKG_NAME = ImageMagick
PKG_VERS = 7.1.1-33
PKG_VERS = 7.1.2-3
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/ImageMagick/ImageMagick/archive
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

OPTIONAL_DEPENDS = cross/libheif cross/libraw cross/openexr cross/libraqm cross/librsvg
OPTIONAL_DEPENDS += cross/jemalloc cross/jemalloc_5.2
OPTIONAL_DEPENDS += cross/libjxl cross/libultrahdr cross/sjpeg

DEPENDS = cross/jemalloc
DEPENDS += cross/bzip2
DEPENDS = cross/bzip2
DEPENDS += cross/xz
DEPENDS += cross/zstd
DEPENDS += cross/libxml2
Expand Down Expand Up @@ -39,8 +40,7 @@ include ../../mk/spksrc.common.mk
SUPPORT_CPP11 = 1
ifeq ($(findstring $(ARCH),$(ARMv5_ARCHS) $(OLD_PPC_ARCHS)),$(ARCH))
SUPPORT_CPP11 = 0
endif
ifeq ($(call version_lt, $(TCVERSION), 6.0)$(call version_ge, $(TCVERSION), 3.0),11)
else ifeq ($(call version_lt, $(TCVERSION), 6.0)$(call version_ge, $(TCVERSION), 3.0),11)
SUPPORT_CPP11 = 0
endif

Expand All @@ -53,6 +53,10 @@ DEPENDS += cross/librsvg
CONFIGURE_ARGS += --with-rsvg
endif

ifneq ($(findstring $(ARCH),$(ARMv5_ARCHS) $(OLD_PPC_ARCHS)),$(ARCH))
DEPENDS += cross/sjpeg
endif

HOMEPAGE = https://www.imagemagick.org/
COMMENT = ImageMagick is a software suite to create, edit, compose, or convert bitmap images.
LICENSE = Apache 2.0
Expand All @@ -61,6 +65,11 @@ GNU_CONFIGURE = 1

CONFIGURE_ARGS += --with-fpx
CONFIGURE_ARGS += --with-fftw
ifeq ($(findstring $(ARCH),$(OLD_PPC_ARCHS)),$(ARCH))
DEPENDS += cross/jemalloc_5.2
else
DEPENDS += cross/jemalloc
endif
CONFIGURE_ARGS += --with-jemalloc
CONFIGURE_ARGS += --with-modules
CONFIGURE_ARGS += --with-dejavu-font-dir=$(INSTALL_PREFIX)/share/dejavu/fonts
Expand All @@ -76,3 +85,9 @@ endif
ADDITIONAL_CFLAGS = -O2

include ../../mk/spksrc.cross-cc.mk

ifeq ($(call version_gt, $(TC_GCC), 5),1)
DEPENDS += cross/libjxl
DEPENDS += cross/libultrahdr
CONFIGURE_ARGS += --with-uhdr
endif
14 changes: 7 additions & 7 deletions cross/imagemagick/PLIST
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ lnk:bin/mogrify
lnk:bin/montage
lnk:bin/stream
rsc:etc/ImageMagick-7/
rsc:lib/ImageMagick-7.1.1/config-Q16HDRI/configure.xml
lib:lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/*.so
rsc:lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/*.la
lib:lib/ImageMagick-7.1.1/modules-Q16HDRI/filters/*.so
rsc:lib/ImageMagick-7.1.1/modules-Q16HDRI/filters/*.la
rsc:lib/ImageMagick-7.1.2/config-Q16HDRI/configure.xml
lib:lib/ImageMagick-7.1.2/modules-Q16HDRI/coders/*.so
rsc:lib/ImageMagick-7.1.2/modules-Q16HDRI/coders/*.la
lib:lib/ImageMagick-7.1.2/modules-Q16HDRI/filters/*.so
rsc:lib/ImageMagick-7.1.2/modules-Q16HDRI/filters/*.la
lnk:lib/libMagickCore-7.Q16HDRI.so
lnk:lib/libMagickCore-7.Q16HDRI.so.10
lib:lib/libMagickCore-7.Q16HDRI.so.10.0.1
lib:lib/libMagickCore-7.Q16HDRI.so.10.0.2
lnk:lib/libMagickWand-7.Q16HDRI.so
lnk:lib/libMagickWand-7.Q16HDRI.so.10
lib:lib/libMagickWand-7.Q16HDRI.so.10.0.1
lib:lib/libMagickWand-7.Q16HDRI.so.10.0.2
6 changes: 3 additions & 3 deletions cross/imagemagick/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ImageMagick-7.1.1-33.tar.gz SHA1 649d2f89635ad54adbc1fc2a24294c50b3a752a3
ImageMagick-7.1.1-33.tar.gz SHA256 3fe527ce04ee5485dc6f7726eccd05c962add5c5d91843c5abf6c608e4f55330
ImageMagick-7.1.1-33.tar.gz MD5 e36a8eaab88e1ff51d1e6c305170f5eb
ImageMagick-7.1.2-3.tar.gz SHA1 04c12c191c722870daff38716aba499b64358cec
ImageMagick-7.1.2-3.tar.gz SHA256 b16415e8694a2e15e5282d64fc7b358f309ff3a514a90eb5da268676c772de3d
ImageMagick-7.1.2-3.tar.gz MD5 a782af96816b24692f5f760146112f42
13 changes: 6 additions & 7 deletions cross/jasper/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME = jasper
PKG_VERS = 3.0.6
PKG_VERS = 4.2.8
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/jasper-software/jasper/releases/download/version-$(PKG_VERS)
Expand All @@ -18,11 +18,10 @@ CMAKE_ARGS += -DJAS_ENABLE_PROGRAMS=OFF
CMAKE_ARGS += -DJAS_STDC_VERSION=199901L
CMAKE_ARGS += -DCMAKE_C_FLAGS_RELEASE="-O"

PRE_CONFIGURE_TARGET = jasper_pre_configure

include ../../mk/spksrc.cross-cmake.mk

.PHONY: jasper_pre_configure
# avoid error as build wants to create $(CMAKE_BUILD_DIR)/build folder
jasper_pre_configure:
mv $(CMAKE_BUILD_DIR)/build $(CMAKE_BUILD_DIR)/build.sh
# Avoid build dir within source:
# The useof an in-source build is not officially supported and is
# therefore disallowed by default.
CMAKE_BUILD_DIR = $(CMAKE_BASE_DIR)/../jasper.build
CMAKE_ARGS += -B$(CMAKE_BUILD_DIR)
4 changes: 2 additions & 2 deletions cross/jasper/PLIST
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
lnk:lib/libjasper.so
lnk:lib/libjasper.so.6
lib:lib/libjasper.so.6.0.0
lnk:lib/libjasper.so.7
lib:lib/libjasper.so.7.0.0
6 changes: 3 additions & 3 deletions cross/jasper/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
jasper-3.0.6.tar.gz SHA1 81888166b8d499e9b7331cc55ea4bc0923c11bf6
jasper-3.0.6.tar.gz SHA256 169be004d91f6940c649a4f854ada2755d4f35f62b0555ce9e1219c778cffc09
jasper-3.0.6.tar.gz MD5 f9388d52a6220303141a42d4c2c81e62
jasper-4.2.8.tar.gz SHA1 4b343d63360e68b774a455873499c7bcf7c6f6d5
jasper-4.2.8.tar.gz SHA256 98058a94fbff57ec6e31dcaec37290589de0ba6f47c966f92654681a56c71fae
jasper-4.2.8.tar.gz MD5 418bccc49963b8bbaecf61473e83553f
24 changes: 24 additions & 0 deletions cross/jemalloc_5.2/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
PKG_NAME = jemalloc
PKG_VERS = 5.2.1
PKG_EXT = tar.bz2
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/jemalloc/jemalloc/releases/download/$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

# This is the latest version that builds for OLD_PPC_ARCHS

DEPENDS =

# jemalloc is a development tool, replacing standard allocator to diagnose memory leaks.
# It is not included in any package, except to produce test packages for troubleshooting.

HOMEPAGE = https://jemalloc.net/
COMMENT = General-purpose scalable concurrent malloc(3) implementation.
LICENSE = 2-Clause BSD

GNU_CONFIGURE = 1
CONFIGURE_ARGS = --disable-doc --disable-static
CONFIGURE_ARGS += je_cv_static_page_shift=12
ADDITIONAL_CFLAGS = -O

include ../../mk/spksrc.cross-cc.mk
2 changes: 2 additions & 0 deletions cross/jemalloc_5.2/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lnk:lib/libjemalloc.so
lib:lib/libjemalloc.so.2
3 changes: 3 additions & 0 deletions cross/jemalloc_5.2/digests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
jemalloc-5.2.1.tar.bz2 SHA1 9e06b5cc57fd185379d007696da153893cf73e30
jemalloc-5.2.1.tar.bz2 SHA256 34330e5ce276099e2e8950d9335db5a875689a4c6a56751ef3b1d8c537f887f6
jemalloc-5.2.1.tar.bz2 MD5 3d41fbf006e6ebffd489bdb304d009ae
5 changes: 3 additions & 2 deletions cross/libde265/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
PKG_NAME = libde265
PKG_VERS = 1.0.8
PKG_VERS = 1.0.16
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/strukturag/libde265/releases/download/v$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS =

# A compiler with support for C++11 language features is required.
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(OLD_PPC_ARCHS)

HOMEPAGE = http://www.libheif.org
HOMEPAGE = http://www.libde265.org/
COMMENT = Open h.265 video codec implementation.
LICENSE = LGPLv3

Expand Down
2 changes: 1 addition & 1 deletion cross/libde265/PLIST
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
lnk:lib/libde265.so
lnk:lib/libde265.so.0
lib:lib/libde265.so.0.1.1
lib:lib/libde265.so.0.1.9
6 changes: 3 additions & 3 deletions cross/libde265/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
libde265-1.0.8.tar.gz SHA1 db8fa137a4681ec092e7546d9155bbaa95938e5e
libde265-1.0.8.tar.gz SHA256 24c791dd334fa521762320ff54f0febfd3c09fc978880a8c5fbc40a88f21d905
libde265-1.0.8.tar.gz MD5 e5a8c91c533ae5926e5118087f78930f
libde265-1.0.16.tar.gz SHA1 3f554502a1dd5ce7b275caecae341d578e92707d
libde265-1.0.16.tar.gz SHA256 b92beb6b53c346db9a8fae968d686ab706240099cdd5aff87777362d668b0de7
libde265-1.0.16.tar.gz MD5 f3173ff6fa273e139de19e6e77bec9b6
39 changes: 39 additions & 0 deletions cross/libjxl/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
PKG_NAME = libjxl
PKG_VERS = 0.7.2
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/libjxl/libjxl/archive/
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

# Minimum GCC version required is 7, please update.
# initial version on Dec 27, 2019 requires gcc >= 6
REQUIRED_MIN_DSM = 7.0
UNSUPPORTED_ARCHS = comcerto2k
REQUIRED_MIN_SRM = 1.3

DEPENDS = cross/libpng cross/brotli cross/lcms2 cross/openexr cross/highway cross/sjpeg-source

HOMEPAGE = https://jpeg.org/jpegxl/
COMMENT = JPEG XL image format reference implementation.
LICENSE = 3-Clause BSD

PRE_CONFIGURE_TARGET = libjxl_pre_configure

CMAKE_ARGS += -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF
CMAKE_ARGS += -DBUILD_TESTING=OFF
CMAKE_ARGS += -DJPEGXL_ENABLE_TOOLS=FALSE
CMAKE_ARGS += -DJPEGXL_ENABLE_SKCMS=FALSE
CMAKE_ARGS += -DJPEGXL_ENABLE_DOXYGEN=FALSE
CMAKE_ARGS += -DJPEGXL_ENABLE_MANPAGES=FALSE
CMAKE_ARGS += -DJPEGXL_ENABLE_BENCHMARK=FALSE
CMAKE_ARGS += -DJPEGXL_ENABLE_EXAMPLES=FALSE

include ../../mk/spksrc.cross-cmake.mk

.PHONY: libjxl_pre_configure
# libjxl requires sjpeg as submodule in third_party folder (doesn't search for, doesn't use cross/sjpeg):
libjxl_pre_configure:
@$(MSG) "Link sjpeg source into third_party folder"
@rm -rf $(WORK_DIR)/$(PKG_DIR)/third_party/sjpeg
@ln -sf $(WORK_DIR)/sjpeg-source $(WORK_DIR)/$(PKG_DIR)/third_party/sjpeg
6 changes: 6 additions & 0 deletions cross/libjxl/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
lnk:lib/libjxl.so
lnk:lib/libjxl.so.0.7
lib:lib/libjxl.so.0.7.2
lnk:lib/libjxl_threads.so
lnk:lib/libjxl_threads.so.0.7
lib:lib/libjxl_threads.so.0.7.2
3 changes: 3 additions & 0 deletions cross/libjxl/digests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
libjxl-0.7.2.tar.gz SHA1 3cb38ef93778f725ce4324c74957ab52072348e6
libjxl-0.7.2.tar.gz SHA256 2564ddb891681fde7171da7c545c6cc9215f6b0f15093fb661fd2e9cb86bb640
libjxl-0.7.2.tar.gz MD5 54fd150848a16659bcfc7a88777b393d
17 changes: 17 additions & 0 deletions cross/libjxl/patches/001-fix_std_round_for_aarch64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# include cmath to resolve std:round in neon specific code
# fixes: .../libjxl-0.7.2/lib/jxl/fast_dct-inl.h:176:21: error: ‘round’ is not a member of ‘std’
#
--- lib/jxl/fast_dct-inl.h.orig 2024-11-27 17:45:37.000000000 +0000
+++ lib/jxl/fast_dct-inl.h 2025-09-12 12:18:02.444828689 +0000
@@ -15,6 +15,11 @@

#include "lib/jxl/base/status.h"

+#if HWY_TARGET == HWY_NEON
+#include <cmath>
+using std::round;
+#endif
+
HWY_BEFORE_NAMESPACE();
namespace jxl {
namespace HWY_NAMESPACE {
2 changes: 1 addition & 1 deletion cross/libraqm/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME = libraqm
PKG_VERS = 0.10.2
PKG_VERS = 0.10.3
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/HOST-Oman/libraqm/archive
Expand Down
2 changes: 1 addition & 1 deletion cross/libraqm/PLIST
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
lnk:lib/libraqm.so
lnk:lib/libraqm.so.0
lib:lib/libraqm.so.0.10.2
lib:lib/libraqm.so.0.10.3
6 changes: 3 additions & 3 deletions cross/libraqm/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
libraqm-0.10.2.tar.gz SHA1 a4718093e74d21e7f1aa85a0458d6c3a8c79e05b
libraqm-0.10.2.tar.gz SHA256 db68fd9f034fc40ece103e511ffdf941d69f5e935c48ded8a31590468e42ba72
libraqm-0.10.2.tar.gz MD5 18d104e6e536a1b0fa16bc33b80f537b
libraqm-0.10.3.tar.gz SHA1 b429e55ca00f4807f02bbcdf09d0cd47e517ed71
libraqm-0.10.3.tar.gz SHA256 fe1fe28b32f97ef97b325ca5d2defb0704da1ef048372ec20e85e1f587e20965
libraqm-0.10.3.tar.gz MD5 08d1ccd6b621e05a521b7cc1ddddfdc4
5 changes: 3 additions & 2 deletions cross/libraw/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
PKG_NAME = LibRaw
PKG_VERS = 0.21.2
PKG_VERS = 0.21.4
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://www.libraw.org/data
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/lcms2 cross/jasper

# Toolchains lacking c++11 compiler ar not supported
# Toolchains lacking c++11 compiler are not supported
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(OLD_PPC_ARCHS)
UNSUPPORTED_ARCHS_TCVERSION = x86-5.2

HOMEPAGE = https://www.libraw.org/
COMMENT = The LibRaw library provides a simple and unified interface for extracting out of RAW files generated by digital photo cameras.
Expand Down
6 changes: 3 additions & 3 deletions cross/libraw/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
LibRaw-0.21.2.tar.gz SHA1 02e700e85fa432be199c273f5893bd2f6d60b4e2
LibRaw-0.21.2.tar.gz SHA256 fe7288013206854baf6e4417d0fb63ba4ed7227bf36fff021992671c2dd34b03
LibRaw-0.21.2.tar.gz MD5 0533724bad17c0fde22e642e4594e45d
LibRaw-0.21.4.tar.gz SHA1 650bed87c0050ea9c7eebf9b875acbc30fb354c3
LibRaw-0.21.4.tar.gz SHA256 6be43f19397e43214ff56aab056bf3ff4925ca14012ce5a1538a172406a09e63
LibRaw-0.21.4.tar.gz MD5 26e046621c38c10f56c195dfd29a5661
4 changes: 4 additions & 0 deletions cross/librsvg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/pango cross/libcroco cross/libxml2 cross/gdk-pixbuf

# pango
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(OLD_PPC_ARCHS)
UNSUPPORTED_ARCHS_TCVERSION = x86-5.2

HOMEPAGE = https://wiki.gnome.org/Projects/LibRsvg
COMMENT = A library to render SVG images to Cairo surfaces.
LICENSE = LGPLv2.1
Expand Down
21 changes: 21 additions & 0 deletions cross/libultrahdr/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
PKG_NAME = libultrahdr
PKG_VERS = 1.4.0
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/google/libultrahdr/archive
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/libjpeg

# Requires C++ compiler, supporting at least C++17.
REQUIRED_MIN_DSM = 7.0
UNSUPPORTED_ARCHS = comcerto2k

HOMEPAGE = https://developer.android.com/media/platform/hdr-image-format
COMMENT = Ultra HDR is a true HDR image format, and is backcompatible. libultrahdr is the reference codec for the Ultra HDR format. The codecs that support the format can render the HDR intent of the image on HDR displays; other codecs can still decode and display the SDR intent of the image.
LICENSE = Apache 2.0

CMAKE_ARGS += -DUHDR_BUILD_EXAMPLES=OFF

include ../../mk/spksrc.cross-cmake.mk
Loading