-DIST gwyddion-2.47.tar.xz 3974120 BLAKE2B c9a0241fe509a2f067c16f77d2b02885505d47c3ba0f25a44449e0d5ad05ce8596784392d8f1265823577aeebbab7ad9c96a39625b01bf11da3cebeb1c6453cc SHA512 a6bbda2d32ec013a9d6c7e2b6dbf2cef08d8f964099c0fda511bc92c16c943459f29d52f784a599466af65027aaae3aaeb1b79e56c40e39bc47019044eecd3e6
DIST gwyddion-2.55.tar.xz 4607560 BLAKE2B 30489d980d3feb6986be4041b59c847673ee589674d5913b4508f28f072eb2f570b98f0b1be01dcf6e1d45e86607582967fd83fe3c859172fcdef3c7bffae741 SHA512 680c33b1f7d36de31274869e7f0af9c06030e04779d6b59f06860ae3f47db4ad45bbf3ee2219bb7b6c01807a807aeafa4f5d0aefe20601e0dda1011acf59fc8e
+++ /dev/null
-diff -ruN gwyddion-2.47.orig/configure.ac gwyddion-2.47/configure.ac
---- gwyddion-2.47.orig/configure.ac 2016-11-18 11:17:57.000000000 +0100
-+++ gwyddion-2.47/configure.ac 2020-01-24 04:39:18.892183563 +0100
-@@ -632,11 +632,13 @@
- #############################################################################
- # CFITSIO
- # Optional. Used for FITS image import.
--enable_cfitsio=yes
--PKG_CHECK_MODULES(CFITSIO, [cfitsio],
-+GWY_WITH([cfitsio],,[build with cfitsio support])
-+if test "x$enable_cfitsio" != "xno"; then
-+ PKG_CHECK_MODULES(CFITSIO, [cfitsio],
- [AC_DEFINE(HAVE_CFITSIO,1,
- [Define if we have the cfitsio package.])],
- [enable_cfitsio=no])
-+fi
- AM_CONDITIONAL([HAVE_CFITSIO],[test x$enable_cfitsio != xno])
-
- #############################################################################
+++ /dev/null
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools gnome2-utils xdg
-
-DESCRIPTION="Framework for Scanning Mode Microscopy data analysis"
-HOMEPAGE="http://gwyddion.net/"
-SRC_URI="http://gwyddion.net/download/${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc fits fftw gnome nls opengl perl ruby sourceview xml X"
-
-RDEPEND="
- media-libs/libpng:0=
- x11-libs/cairo
- x11-libs/gtk+:2
- x11-libs/libXmu
- x11-libs/pango
- fits? ( sci-libs/cfitsio )
- fftw? ( sci-libs/fftw:3.0= )
- gnome? ( gnome-base/gconf:2 )
- opengl? ( virtual/opengl x11-libs/gtkglext )
- perl? ( dev-lang/perl:= )
- ruby? ( dev-ruby/narray )
- sourceview? ( x11-libs/gtksourceview:2.0 )
- xml? ( dev-libs/libxml2:2 )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( dev-util/gtk-doc )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.47-cfitsio.patch"
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-rpath \
- --without-kde4-thumbnailer \
- $(use_enable doc gtk-doc) \
- $(use_enable nls) \
- --disable-pygwy \
- $(use_with fits cfitsio) \
- $(use_with perl) \
- --without-python \
- $(use_with ruby) \
- $(use_with fftw fftw3) \
- $(use_with opengl gl) \
- $(use_with sourceview gtksourceview) \
- $(use_with xml libxml2) \
- $(use_with X x)
-}
-
-pkg_postinst() {
- use gnome && gnome2_gconf_install
- xdg_pkg_postinst
-}
-
-pkg_prerm() {
- use gnome && gnome2_gconf_uninstall
-}