blob: d04e2e3dabd397624cf26bd07e5f61503523d1ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
pkgname=gwyddion
pkgver=2.65
pkgrel=2
pkgdesc="A data visualization and processing tool for scanning probe miscroscopy (SPM, i.e. AFM, STM, MFM, SNOM/NSOM, ...) and profilometry, useful also for general image and 2D data analysis"
url="http://gwyddion.net/"
license=("GPL")
arch=('i686' 'x86_64')
depends=(gtkglext fftw pygtk minizip)
makedepends=('pkgconf')
optdepends=('libxml2: import of SPML and APE DAX data files'
'zlib: import of SPML data files and import of gzip-compressed data from other file formats (Createc, NRRD, RHK SM4 PRM metadata)'
'perl: development of plug-in'
'ruby: development of plug-in'
'fpc: development of plug-in'
'gtksourceview2: Pygwy console syntax highlighting'
'bzip2: import of bzip2-compressed data from NRRD'
'libpng: export of height fields to 16bit greyscale PNG images and import from 16bit PNG images'
'libwebp: WebP format support for the image export'
'libzip: import of APE DAX, NanoObserver, NanoScanTech, OpenGPS and Sensofar PLUX data files'
'cfitsio: import of Flexible Image Transport System (FITS) files'
'openexr: import and export of OpenEXR HDR images'
'hdf5: import of Ergo data files')
source=(https://downloads.sourceforge.net/sourceforge/gwyddion/$pkgname-$pkgver.tar.xz
gwyddion-2.65-no-jxl.patch)
sha256sums=('9115fb0a83c963c62460da1d7b9834382c9698bfb9b0cf29b829a4f591369ea3'
'c17fe9a0d83ef892a91948a945c6e78a1b6089c516e44735c1c3904fc9b6e3db')
prepare() {
patch -Np0 -i "gwyddion-2.65-no-jxl.patch"
}
build() {
cd $pkgname-$pkgver
# ./configure --prefix=/usr --disable-desktop-file-update \
# --disable-rpath \
# --enable-library-bloat \
# --enable-plugin-proxy \
# --disable-updater --disable-schemas-compile \
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --libexecdir=/usr/lib \
PYTHON=python2
make PYTHON=python2
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 PYTHON=python2 install
}
|