aboutsummaryrefslogtreecommitdiffstats
path: root/community/rawtherapee/APKBUILD
blob: b23ab2f596b386dbd4c5c1ecd73ea39bda63f805 (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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rawtherapee
pkgver=5.7
pkgrel=0
pkgdesc="Powerful cross-platform raw image processing program"
url="https://rawtherapee.com"
arch="x86 x86_64 ppc64le aarch64"
license="GPL-3.0-or-later"
makedepends="bzip2-dev cmake exiv2-dev expat-dev fftw-dev glib-dev gtk+3.0-dev
	gtk-engines-dev gtkmm3-dev lcms2-dev lensfun-dev libcanberra-dev
	libiptcdata-dev libjpeg-turbo-dev libpng-dev librsvg-dev libsigc++-dev
	mercurial tiff-dev zlib-dev
	"
options="!check !strip"
subpackages="$pkgname-doc $pkgname-dbg"
source="https://rawtherapee.com/shared/source/rawtherapee-$pkgver.tar.xz"

prepare() {
	default_prepare
	mkdir -p "$builddir"/build
	export CXXFLAGS="$CXXFLAGS -std=c++11"
	cd "$builddir"/build
	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
}

build() {
	cd "$builddir"/build
	make
}

package() {
	cd "$builddir"/build
	make DESTDIR="$pkgdir" install
}

sha512sums="8101ec66d9be4cab0c0b91336a3f83a32a6220a2f342f1c74d604c15686ee08bc7dbc090232916f13d5436957d800b64b284a8a9d3352f2f721266b07e005162  rawtherapee-5.7.tar.xz"