#1 Fix flatpak build
Merged 7 months ago by hobbes1069. Opened 7 months ago by yselkowitz.
rpms/ yselkowitz/OpenImageIO rawhide  into  rawhide

file modified
+1 -1
@@ -156,7 +156,7 @@ 

         -DINSTALL_FONTS:BOOL=FALSE \

         -DUSE_EXTERNAL_PUGIXML:BOOL=TRUE \

         -DSTOP_ON_WARNING:BOOL=FALSE \

-        -DJPEG_INCLUDE_DIR=%{_includedir} \

+        -DJPEG_INCLUDE_DIR=$(pkgconf --variable=includedir libjpeg) \

         -DOPENJPEG_INCLUDE_DIR=$(pkgconf --variable=includedir libopenjp2) \

         -DOpenGL_GL_PREFERENCE=GLVND \

         -DVERBOSE=TRUE

Installation path macros cannot be used to refer to the location of dependencies. When building this package for flatpaks in /app, libjpeg is still in /usr as part of the runtime.

Pull-Request has been merged by hobbes1069

7 months ago
Metadata