graphics/darktable*: reinstate LTO option
reverting change from my commit d8e040b643
This change fixes amd64 12.3, 13.0, 13.1.
Bump PORTREVISION.
This commit is contained in:
parent
4dcc2aab46
commit
d2568da0a5
2 changed files with 8 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= darktable
|
||||
PORTVERSION= 3.8.1
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/
|
||||
|
||||
|
@ -32,14 +32,8 @@ LIB_DEPENDS= libcolord-gtk.so:graphics/colord-gtk \
|
|||
libsoup-2.4.so:devel/libsoup \
|
||||
libtiff.so:graphics/tiff
|
||||
|
||||
# Fix build against cmake-3.21: the ninja generator in 3.21 suffers a
|
||||
# regression (see https://gitlab.kitware.com/cmake/cmake/-/issues/22487)
|
||||
# appending an invalid "-Wl,--no-as-needed" to the linker arguments for static
|
||||
# libraries. Once this regression has been fixed upstream, this can be
|
||||
# switched back to USES=cmake, and LTO can be re-enabled.
|
||||
USES= cmake compiler:c++14-lang desktop-file-utils gl gnome jpeg \
|
||||
perl5 pkgconfig sdl shebangfix sqlite tar:xz xorg
|
||||
OPTIONS_EXCLUDE=LTO
|
||||
USE_GL= gl
|
||||
USE_GNOME= cairo gtk30 intltool librsvg2 libxml2
|
||||
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
|
||||
|
@ -59,7 +53,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/}
|
|||
|
||||
OPTIONS_DEFINE= AVIF DOCS GEO GPHOTO GMIC GRAPHMAGICK HEIF LIBSECRET LTO \
|
||||
LUA NLS OPENEXR OPENJPEG PRINT TOOLS WEBP
|
||||
OPTIONS_DEFAULT= AVIF GEO GPHOTO HEIF LUA OPENEXR OPENJPEG PRINT WEBP
|
||||
OPTIONS_DEFAULT= AVIF GEO GPHOTO HEIF LTO LUA OPENEXR OPENJPEG PRINT WEBP
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
GEO_DESC= Support geotagging
|
||||
|
@ -138,6 +132,8 @@ CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT}
|
|||
LD= ${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT}
|
||||
BINARY_ALIAS+= ld.lld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT}
|
||||
BINARY_ALIAS+= llvm-objcopy=${LOCALBASE}/bin/llvm-objcopy${LLVM_DEFAULT}
|
||||
BINARY_ALIAS+= llvm-ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT}
|
||||
BINARY_ALIAS+= llvm-ranlib=${LOCALBASE}/bin/llvm-ranlib${LLVM_DEFAULT}
|
||||
.endif
|
||||
|
||||
# work around CMAKE/CCACHE flaw (cmake stomps over ccache)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= darktable
|
||||
PORTVERSION= 4.0.0
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/
|
||||
PKGNAMESUFFIX= 40
|
||||
|
@ -56,8 +56,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/}
|
|||
|
||||
OPTIONS_DEFINE= AVIF DOCS GEO GPHOTO GMIC GRAPHMAGICK HEIF LIBSECRET LTO \
|
||||
LUA NLS OPENEXR OPENJPEG PRINT TOOLS WEBP
|
||||
OPTIONS_DEFAULT= AVIF GEO GPHOTO HEIF LUA OPENEXR OPENJPEG PRINT WEBP
|
||||
OPTIONS_EXCLUDE= LTO # it might be OK on 13.1 and later Tier-1, but breaks on 13.0 and 12.x
|
||||
OPTIONS_DEFAULT= AVIF GEO GPHOTO HEIF LTO LUA OPENEXR OPENJPEG PRINT WEBP
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
GEO_DESC= Support geotagging
|
||||
|
@ -136,6 +135,8 @@ CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT}
|
|||
LD= ${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT}
|
||||
BINARY_ALIAS+= ld.lld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT}
|
||||
BINARY_ALIAS+= llvm-objcopy=${LOCALBASE}/bin/llvm-objcopy${LLVM_DEFAULT}
|
||||
BINARY_ALIAS+= llvm-ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT}
|
||||
BINARY_ALIAS+= llvm-ranlib=${LOCALBASE}/bin/llvm-ranlib${LLVM_DEFAULT}
|
||||
.endif
|
||||
|
||||
# work around CMAKE/CCACHE flaw (cmake stomps over ccache)
|
||||
|
|
Loading…
Reference in a new issue