Skip to content
Open
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
6 changes: 3 additions & 3 deletions srcpkgs/darktable/patches/cmake-build-type-none.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ Index: src/external/rawspeed/cmake/build-type.cmake
===================================================================
--- a/src/external/rawspeed/cmake/build-type.cmake
+++ b/src/external/rawspeed/cmake/build-type.cmake
@@ -19,9 +19,6 @@

@@ -27,9 +27,6 @@ string(TOUPPER "${RAWSPEED_SPECIAL_BUILD
# is this one of the known build types?
list (FIND CMAKE_CONFIGURATION_TYPES_UPPERCASE ${CMAKE_BUILD_TYPE_UPPERCASE} BUILD_TYPE_IS_KNOWN)
-if (${BUILD_TYPE_IS_KNOWN} EQUAL -1)
- message(SEND_ERROR "Unknown build type: ${CMAKE_BUILD_TYPE_UPPERCASE}. Please specify one of: ${CMAKE_CONFIGURATION_TYPES}")
-endif()

# is this a special build?
list (FIND RAWSPEED_SPECIAL_BUILD_TYPES_UPPERCASE ${CMAKE_BUILD_TYPE_UPPERCASE} IS_SPECIAL_BUILD)
129 changes: 0 additions & 129 deletions srcpkgs/darktable/patches/no-intltool.patch

This file was deleted.

17 changes: 6 additions & 11 deletions srcpkgs/darktable/template
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Template file for 'darktable'
pkgname=darktable
version=5.2.1
version=5.4.0
revision=1
# upstream only supports these archs:
archs="x86_64* aarch64* ppc64le*"
build_style=cmake
# this makes sure to use -march=generic and -msse3
configure_args="-DBINARY_PACKAGE_BUILD=ON -DBUILD_NOISE_TOOLS=ON
-DRAWSPEED_ENABLE_LTO=ON"
hostmakedepends="pkg-config gettext libxslt-devel desktop-file-utils perl"
hostmakedepends="pkg-config intltool libxslt-devel desktop-file-utils"
makedepends="gtk+3-devel glib-devel exiv2-devel libxslt-devel
dbus-glib-devel libcurl-devel libgphoto2-devel libwebp-devel
lensfun-devel sqlite-devel librsvg-devel lua54-devel json-glib-devel
Expand All @@ -23,7 +23,7 @@ license="GPL-3.0-or-later"
homepage="https://www.darktable.org/"
changelog="https://github.com/darktable-org/darktable/releases"
distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz"
checksum=02f1aa9ae93949e7bc54c34eeb5ff92c2b87f95d2547865df55c60467564ee11
checksum=2bf0baea78d27945cf09c33d8804f179e03a83ee19d2e927fd660ea46aca3b16

build_options="avif gmic sdl2"
build_options_default="avif sdl2"
Expand All @@ -33,11 +33,6 @@ case "${XBPS_TARGET_MACHINE}" in
*) build_options_default+=" gmic" ;;
esac

if [ "$XBPS_TARGET_LIBC" = musl ]; then
configure_args+=" -DUSE_OPENMP=OFF"
fi

post_patch() {
cd po
printf '%s\n' *.po | sed 's/[.]po$//' >LINGUAS
}
case "${XBPS_TARGET_MACHINE}" in
*-musl) configure_args+=" -DUSE_OPENMP=OFF";;
esac