-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathtemplate
More file actions
39 lines (36 loc) · 1.2 KB
/
template
File metadata and controls
39 lines (36 loc) · 1.2 KB
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
# Template file for 'libopenraw'
pkgname=libopenraw
version=0.1.3
revision=3
build_style=gnu-configure
configure_args="--with-boost=${XBPS_CROSS_BASE}/usr"
hostmakedepends="pkg-config curl"
makedepends="glib-devel gdk-pixbuf-devel boost-headers boost-devel libxml2-devel libjpeg-turbo-devel"
short_desc="Library for camera RAW files decoding"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-3.0-or-later"
#changelog="https://raw.githubusercontent.com/hfiguiere/libopenraw/master/NEWS"
homepage="https://libopenraw.freedesktop.org/wiki/"
distfiles="https://libopenraw.freedesktop.org/download/libopenraw-${version}.tar.bz2"
checksum=6405634f555849eb01cb028e2a63936e7b841151ea2a1571ac5b5b10431cfab9
post_install() {
# Remove gdk-pixbuf static lib
rm ${DESTDIR}/usr/lib/gdk-pixbuf-*/*/loaders/libopenraw_pixbuf.a
}
libopenraw-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
description=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
vmove usr/include
}
}
libopenraw-pixbuf-loader_package() {
depends="${sourcepkg}>=${version}_${revision}"
description=" - pixbuf loader"
pkg_install() {
vmove "usr/lib/gdk-pixbuf-2.0"
}
}