45 lines
1.2 KiB
Bash
45 lines
1.2 KiB
Bash
# Template file for 'imlib2'
|
|
pkgname=imlib2
|
|
version=1.12.2
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --sysconfdir=/etc/imlib2 --enable-visibility-hiding"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="freetype-devel libjpeg-turbo-devel libpng-devel libwebp-devel
|
|
tiff-devel libid3tag-devel giflib-devel libXext-devel libSM-devel
|
|
libheif-devel librsvg-devel libopenjpeg2-devel libspectre-devel libjxl-devel"
|
|
short_desc="Image manipulation library"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="Imlib2"
|
|
homepage="https://sourceforge.net/projects/enlightenment/"
|
|
distfiles="${SOURCEFORGE_SITE}/enlightenment/imlib2-src/imlib2-${version}.tar.xz"
|
|
checksum=cc49931a20560968a8648c9ca079085976085ea96d59a01b1e17cb55af0ffe42
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
imlib2-tools_package() {
|
|
short_desc+=" - utilities"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
}
|
|
}
|
|
|
|
imlib2-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision} libX11-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
imlib2-webp_package() {
|
|
build_style=meta
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc="WebP loader for Imlib2 (transitional dummy package)"
|
|
}
|