mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-visualization/gwyddion: Version bump 2.56
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST gwyddion-2.55.tar.xz 4607560 BLAKE2B 30489d980d3feb6986be4041b59c847673ee589674d5913b4508f28f072eb2f570b98f0b1be01dcf6e1d45e86607582967fd83fe3c859172fcdef3c7bffae741 SHA512 680c33b1f7d36de31274869e7f0af9c06030e04779d6b59f06860ae3f47db4ad45bbf3ee2219bb7b6c01807a807aeafa4f5d0aefe20601e0dda1011acf59fc8e
|
||||
DIST gwyddion-2.56.tar.xz 4645620 BLAKE2B f4f2ce2bf119a24c3e1919b14db409a81ad286ef2242918f356d2b4c56b498f41cbafa03a136eac5d87b4905529e06982694f19bdf30933454e94d34526962c3 SHA512 cf4a40367ea5b0a671c5df70123ef93f6aecc25322af7eb05e4f32d40e54d9b0d48ddd1df9f2589c468eb511ada3f3ef409603c1513de33ba2482078a9415eae
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
diff -ruN gwyddion-2.56.orig/configure.ac gwyddion-2.56/configure.ac
|
||||
--- gwyddion-2.56.orig/configure.ac 2020-06-30 11:04:55.000000000 +0300
|
||||
+++ gwyddion-2.56/configure.ac 2020-06-30 13:22:00.881313300 +0300
|
||||
@@ -646,11 +646,13 @@
|
||||
#############################################################################
|
||||
# OpenEXR
|
||||
# Optional. Used for HDR greyscale OpenEXR pixmap import/export.
|
||||
-enable_exr=$have_cxx
|
||||
-PKG_CHECK_MODULES(EXR, [OpenEXR],
|
||||
+GWY_WITH([exr],,[build with OpenEXR support])
|
||||
+if test "x$enable_exr" != "xno" && "x$have_cxx" != "xno"; then
|
||||
+ PKG_CHECK_MODULES(EXR, [OpenEXR],
|
||||
[AC_DEFINE(HAVE_EXR,1,
|
||||
[Define if we have the OpenEXR package.])],
|
||||
[enable_exr=no])
|
||||
+fi
|
||||
AM_CONDITIONAL([HAVE_EXR],[test "x$enable_exr" != xno])
|
||||
|
||||
#############################################################################
|
||||
@@ -665,10 +667,13 @@
|
||||
#############################################################################
|
||||
# CFITSIO
|
||||
# Optional. Used for FITS image import.
|
||||
-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])
|
||||
|
||||
#############################################################################
|
||||
76
sci-visualization/gwyddion/gwyddion-2.56.ebuild
Normal file
76
sci-visualization/gwyddion/gwyddion-2.56.ebuild
Normal file
@@ -0,0 +1,76 @@
|
||||
# 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 gnome hdf5 nls openexr perl ruby sourceview xml X"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.32
|
||||
dev-libs/libzip
|
||||
media-libs/libpng:0=
|
||||
>=sci-libs/fftw-3.1:3.0=
|
||||
x11-libs/cairo
|
||||
>=x11-libs/gtk+-2.18:2
|
||||
x11-libs/libXmu
|
||||
x11-libs/pango
|
||||
fits? ( sci-libs/cfitsio )
|
||||
gnome? ( gnome-base/gconf:2 )
|
||||
hdf5? ( sci-libs/hdf5 )
|
||||
openexr? ( media-libs/openexr:= )
|
||||
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.56-automagic.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-rpath \
|
||||
--without-kde4-thumbnailer \
|
||||
$(use_enable doc gtk-doc) \
|
||||
$(use_enable nls) \
|
||||
$(use_with hdf5) \
|
||||
--disable-pygwy \
|
||||
$(use_with fits cfitsio) \
|
||||
$(use_with perl) \
|
||||
--without-python \
|
||||
$(use_with ruby) \
|
||||
--without-gl \
|
||||
$(use_with openexr exr) \
|
||||
$(use_with sourceview gtksourceview) \
|
||||
$(use_with xml libxml2) \
|
||||
$(use_with X x) \
|
||||
--with-zip=libzip
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use gnome && gnome2_gconf_install
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
use gnome && gnome2_gconf_uninstall
|
||||
}
|
||||
Reference in New Issue
Block a user