Skip to content

Commit

Permalink
libopenraw: split pixbuf loader into subpackage
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
oreo639 committed Jun 30, 2022
1 parent f0711f2 commit 57d8d92
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions srcpkgs/libopenraw-pixbuf-loader
14 changes: 11 additions & 3 deletions srcpkgs/libopenraw/template
@@ -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"
Expand All @@ -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() {
Expand All @@ -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/*/loaders/*.so"
}
}

0 comments on commit 57d8d92

Please sign in to comment.