146c89a949
reviewed ok Thanks for the update Note for Factory this fixes a crash in shotwell see: http://trac.yorba.org/ticket/3032 and http://www.libraw.org/node/534 OBS-URL: https://build.opensuse.org/request/show/56944 OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=33
44 lines
1.2 KiB
Diff
44 lines
1.2 KiB
Diff
--- configure.ac
|
|
+++ configure.ac
|
|
@@ -47,10 +47,12 @@
|
|
PKG_CHECK_MODULES([LCMS2],[lcms2],[
|
|
CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS -DUSE_LCMS2"
|
|
LDFLAGS="$LDFLAGS $LCMS2_LIBS"
|
|
+ AC_SUBST([PACKAGE_REQUIRES],[lcms2])
|
|
],[
|
|
PKG_CHECK_MODULES([LCMS],[lcms],[
|
|
CPPFLAGS="$CPPFLAGS $LCMS_CFLAGS -DUSE_LCMS"
|
|
LDFLAGS="$LDFLAGS $LCMS_LIBS"
|
|
+ AC_SUBST([PACKAGE_REQUIRES],[lcms])
|
|
],[
|
|
AC_MSG_WARN([LCMS support cannot be enabled])
|
|
])
|
|
--- libraw.pc.in
|
|
+++ libraw.pc.in
|
|
@@ -5,7 +5,7 @@
|
|
|
|
Name: libraw
|
|
Description: Raw image decoder library (non-thread-safe)
|
|
-Requires: lcms
|
|
-Version: 0.9.1
|
|
-Libs: -L${libdir} -lraw -lstdc++ @LCMS_LIBS@
|
|
-Cflags: -I${includedir}/libraw@PC_OPENMP@
|
|
+Requires: @PACKAGE_REQUIRES@
|
|
+Version: @PACKAGE_VERSION@
|
|
+Libs: -L${libdir} -lraw -lstdc++@PC_OPENMP@
|
|
+Cflags: -I${includedir}/libraw
|
|
--- libraw_r.pc.in
|
|
+++ libraw_r.pc.in
|
|
@@ -5,7 +5,7 @@
|
|
|
|
Name: libraw
|
|
Description: Raw image decoder library (thread-safe)
|
|
-Requires: lcms
|
|
-Version: 0.9.1
|
|
-Libs: -L${libdir} -lraw_r -lstdc++ @LCMS_LIBS@
|
|
-Cflags: -I${includedir}/libraw@PC_OPENMP@
|
|
+Requires: @PACKAGE_REQUIRES@
|
|
+Version: @PACKAGE_VERSION@
|
|
+Libs: -L${libdir} -lraw_r -lstdc++@PC_OPENMP@
|
|
+Cflags: -I${includedir}/libraw
|