6 |
6 |
inherit meson optfeature toolchain-funcs xdg
|
7 |
7 |
|
8 |
8 |
DESCRIPTION="A free astronomical image processing software"
|
9 |
|
HOMEPAGE="https://www.siril.org/"
|
|
9 |
HOMEPAGE="https://siril.org/"
|
10 |
10 |
|
11 |
11 |
if [[ ${PV} == "9999" ]]; then
|
12 |
12 |
inherit git-r3
|
13 |
13 |
EGIT_REPO_URI="https://gitlab.com/free-astro/${PN}.git"
|
14 |
14 |
else
|
15 |
15 |
SRC_URI="https://gitlab.com/free-astro/siril/-/archive/${PV/_/-}/${PN}-${PV/_/-}.tar.bz2"
|
16 |
|
KEYWORDS="amd64 ~x86"
|
|
16 |
KEYWORDS="~amd64 ~x86"
|
17 |
17 |
S="${WORKDIR}/${PN}-${PV/_/-}"
|
18 |
18 |
fi
|
19 |
19 |
|
20 |
20 |
LICENSE="GPL-3+ Boost-1.0"
|
21 |
21 |
SLOT="0"
|
22 |
|
IUSE="curl ffmpeg heif jpeg openmp png raw tiff wcs"
|
|
22 |
IUSE="curl exif ffmpeg heif jpeg libconfig openmp png raw tiff wcs"
|
23 |
23 |
|
24 |
24 |
DEPEND="
|
25 |
25 |
>=dev-libs/glib-2.56.0:2
|
26 |
26 |
>=dev-libs/json-glib-1.2.6
|
27 |
|
>=dev-libs/libconfig-1.4[cxx]
|
28 |
|
>=media-gfx/exiv2-0.25
|
29 |
|
media-libs/librtprocess:=
|
|
27 |
media-libs/librtprocess
|
30 |
28 |
>=media-libs/opencv-4.4.0:=
|
31 |
|
sci-libs/cfitsio
|
|
29 |
sci-libs/cfitsio:=
|
32 |
30 |
sci-libs/fftw:3.0=
|
33 |
31 |
sci-libs/gsl:=
|
|
32 |
x11-libs/gdk-pixbuf:2
|
34 |
33 |
x11-libs/cairo
|
|
34 |
x11-libs/pango
|
35 |
35 |
>=x11-libs/gtk+-3.20.0:3
|
36 |
36 |
curl? ( net-misc/curl )
|
|
37 |
exif? ( >=media-gfx/exiv2-0.25:= )
|
37 |
38 |
ffmpeg? ( media-video/ffmpeg:= )
|
38 |
|
heif? ( media-libs/libheif )
|
|
39 |
heif? ( media-libs/libheif:= )
|
39 |
40 |
jpeg? ( media-libs/libjpeg-turbo:= )
|
40 |
|
png? ( >=media-libs/libpng-1.6.0 )
|
41 |
|
raw? ( media-libs/libraw )
|
|
41 |
libconfig? ( >=dev-libs/libconfig-1.4:=[cxx] )
|
|
42 |
png? ( >=media-libs/libpng-1.6.0:= )
|
|
43 |
raw? ( media-libs/libraw:= )
|
42 |
44 |
tiff? ( media-libs/tiff:= )
|
43 |
|
wcs? ( >=sci-astronomy/wcslib-7.7 )
|
|
45 |
wcs? ( >=sci-astronomy/wcslib-7.7:= )
|
44 |
46 |
"
|
45 |
47 |
RDEPEND="
|
46 |
48 |
${DEPEND}
|
47 |
49 |
"
|
48 |
|
BDEPEND="x11-base/xorg-proto"
|
|
50 |
BDEPEND="dev-util/cmake
|
|
51 |
x11-base/xorg-proto"
|
49 |
52 |
|
50 |
53 |
PATCHES=(
|
51 |
54 |
"${FILESDIR}/${PN}-docfiles.patch"
|
52 |
|
"${FILESDIR}/${PN}-$(ver_cut 1-2)-dependencies.patch"
|
53 |
|
"${FILESDIR}/${PN}-$(ver_cut 1-2)-execinfo-r2.patch"
|
54 |
|
"${FILESDIR}/${PN}-prototypes.patch"
|
|
55 |
"${FILESDIR}/${PN}-1.2-exiv2-0.28.patch" # bug 906499
|
55 |
56 |
)
|
56 |
57 |
|
57 |
58 |
DOCS=( README.md NEWS ChangeLog AUTHORS )
|
... | ... | |
68 |
69 |
local emesonargs=(
|
69 |
70 |
-Dffms2=false
|
70 |
71 |
-Dcriterion=false
|
|
72 |
$(meson_use exif exiv2)
|
71 |
73 |
$(meson_use ffmpeg)
|
72 |
74 |
$(meson_use heif libheif)
|
73 |
75 |
$(meson_use jpeg libjpeg)
|
|
76 |
$(meson_use libconfig)
|
74 |
77 |
$(meson_use openmp)
|
75 |
78 |
$(meson_use png libpng)
|
76 |
79 |
$(meson_use raw libraw)
|