# Maintainer: Andrea Zagli _realname=eog-plugins pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" pkgver=44.1 pkgrel=2 pkgdesc="Eye of GNOME graphics viewer program - plugins (mingw-w64)" arch=('any') mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64') url="https://wiki.gnome.org/Apps/EyeOfGnome/Plugins" msys2_repository_url="https://gitlab.gnome.org/GNOME/eog-plugins" license=("spdx:GPL-2.0-or-later") depends=("${MINGW_PACKAGE_PREFIX}-eog" "${MINGW_PACKAGE_PREFIX}-libexif" "${MINGW_PACKAGE_PREFIX}-libpeas" "${MINGW_PACKAGE_PREFIX}-gettext-runtime" "${MINGW_PACKAGE_PREFIX}-gtk-update-icon-cache" "${MINGW_PACKAGE_PREFIX}-python") makedepends=("${MINGW_PACKAGE_PREFIX}-cc" "${MINGW_PACKAGE_PREFIX}-meson" "${MINGW_PACKAGE_PREFIX}-ninja" "${MINGW_PACKAGE_PREFIX}-pkgconf" "${MINGW_PACKAGE_PREFIX}-gettext-tools" "${MINGW_PACKAGE_PREFIX}-gsettings-desktop-schemas" "${MINGW_PACKAGE_PREFIX}-gobject-introspection") source=(https://download.gnome.org/sources/${_realname}/${pkgver%.*}/${_realname}-${pkgver}.tar.xz) sha256sums=('c4c384155fabb34889d76b616065483f94c8310fa0147236d009c68cd4a85c93') build() { MSYS2_ARG_CONV_EXCL="--prefix=" \ meson setup \ --prefix="${MINGW_PREFIX}" \ --wrap-mode=nodownload \ --auto-features=enabled \ --buildtype=plain \ -Dplugin_map=false \ -Dplugin_postasa=false \ "build-${MSYSTEM}" \ "${_realname}-${pkgver}" meson compile -C "build-${MSYSTEM}" } package() { meson install -C "build-${MSYSTEM}" --destdir "${pkgdir}" install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING" }