pngquant: use libimagequant-devel instead of submodule.
This commit is contained in:
parent
efc5450155
commit
40d43405f1
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'pngquant'
|
||||
pkgname=pngquant
|
||||
version=2.10.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
create_wrksrc=yes
|
||||
build_wrksrc="${pkgname}-${version}"
|
||||
|
@ -10,16 +10,10 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
x86_64*) configure_args+=" --enable-sse";;
|
||||
*) configure_args+=" --disable-sse";;
|
||||
esac
|
||||
makedepends="lcms2-devel libgomp-devel libpng-devel"
|
||||
makedepends="lcms2-devel libgomp-devel libimagequant-devel libpng-devel"
|
||||
short_desc="Lossy PNG compressor"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="GPL-3"
|
||||
homepage="https://pngquant.org/"
|
||||
distfiles="https://github.com/pornel/${pkgname}/archive/${version}.tar.gz
|
||||
https://github.com/ImageOptim/libimagequant/archive/9bf8ef60c42c95f33c68185bd7f485b9d828244c.tar.gz"
|
||||
checksum="11de0e0819be02ac71eccb1fd3132d9625cf0991e10bda5f1fc566b66a40d549
|
||||
56b49790df5572edcf482f6163be1dbbb20d3d87f933c9131b54e962324d29bf"
|
||||
|
||||
post_extract() {
|
||||
cp -r libimagequant-*/* ${build_wrksrc}/lib
|
||||
}
|
||||
distfiles="https://github.com/pornel/${pkgname}/archive/${version}.tar.gz"
|
||||
checksum=11de0e0819be02ac71eccb1fd3132d9625cf0991e10bda5f1fc566b66a40d549
|
||||
|
|
Loading…
Reference in New Issue