libopenraw: split pixbuf loader into subpackage

The pixbuf loader can cause issues loading files and isn't always needed.

The pixbuf loader is also considered deprecated upstream, so it should probably
be split into its own package.
This commit is contained in:
oreo639 2022-06-29 15:49:52 -07:00 committed by Đoàn Trần Công Danh
parent d06dd0d007
commit 15ab20d6ae
2 changed files with 12 additions and 3 deletions

View file

@ -0,0 +1 @@
libopenraw

View file

@ -1,7 +1,7 @@
# Template file for 'libopenraw'
pkgname=libopenraw
version=0.1.3
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-boost=${XBPS_CROSS_BASE}/usr"
hostmakedepends="pkg-config curl"
@ -10,8 +10,8 @@ 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://${pkgname}.freedesktop.org/wiki/"
distfiles="https://${pkgname}.freedesktop.org/download/${pkgname}-${version}.tar.bz2"
homepage="https://libopenraw.freedesktop.org/wiki/"
distfiles="https://libopenraw.freedesktop.org/download/libopenraw-${version}.tar.bz2"
checksum=6405634f555849eb01cb028e2a63936e7b841151ea2a1571ac5b5b10431cfab9
post_install() {
@ -29,3 +29,11 @@ libopenraw-devel_package() {
vmove usr/include
}
}
libopenraw-pixbuf-loader_package() {
depends="${sourcepkg}>=${version}_${revision}"
description=" - pixbuf loader"
pkg_install() {
vmove "usr/lib/gdk-pixbuf-2.0"
}
}