forked from pool/plplot
- Adapt specfile to build plplot against multiple python flavours. - Set $HOME to current dir during %check to ensure fontconfig does not complain about un-writable cache dirs. - Add plplot-libharu-version-check.patch: Fix check for libharu version when configuring build with cmake. - New subpackages: plplot-driver-pdf, plplot-pyqt5-cmake. - Make doc package noarch. OBS-URL: https://build.opensuse.org/request/show/1095385 OBS-URL: https://build.opensuse.org/package/show/science/plplot?expand=0&rev=147
13 lines
436 B
Diff
13 lines
436 B
Diff
Index: plplot-5.15.0/cmake/modules/pdf.cmake
|
|
===================================================================
|
|
--- plplot-5.15.0.orig/cmake/modules/pdf.cmake
|
|
+++ plplot-5.15.0/cmake/modules/pdf.cmake
|
|
@@ -47,6 +47,7 @@ if(PLD_pdf)
|
|
# Determine that version in cross-platform way.
|
|
set(check_libharu_version_source "
|
|
#include \"hpdf.h\"
|
|
+#include \"hpdf_version.h\"
|
|
int main(void)
|
|
{
|
|
// True if version is 2.3.0 or later....
|