Date: Friday, April 28, 2023 @ 15:03:56 Author: arojas Revision: 1449118
upgpkg: gmic 3.2.4-1: Update to 3.2.4, restore graphicsmagick usage Added: gmic/trunk/FindGraphicsMagick.cmake Modified: gmic/trunk/PKGBUILD --------------------------+ FindGraphicsMagick.cmake | 14 ++++++++++++++ PKGBUILD | 11 ++++++----- 2 files changed, 20 insertions(+), 5 deletions(-) Added: FindGraphicsMagick.cmake =================================================================== --- FindGraphicsMagick.cmake (rev 0) +++ FindGraphicsMagick.cmake 2023-04-28 15:03:56 UTC (rev 1449118) @@ -0,0 +1,14 @@ +find_package(PkgConfig) + +pkg_check_modules(GRAPHICSMAGICK GraphicsMagick++) + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(GraphicsMagick + REQUIRED_VARS GRAPHICSMAGICK_LIBRARIES +) + +add_library(GraphicsMagick::GraphicsMagick++ INTERFACE IMPORTED) +set_target_properties(GraphicsMagick::GraphicsMagick++ PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${GRAPHICSMAGICK_INCLUDE_DIRS}" + INTERFACE_LINK_LIBRARIES "${GRAPHICSMAGICK_LIBRARIES}" +) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-04-28 14:15:09 UTC (rev 1449117) +++ PKGBUILD 2023-04-28 15:03:56 UTC (rev 1449118) @@ -6,7 +6,7 @@ pkgbase=gmic pkgname=(gmic gimp-plugin-gmic) -pkgver=3.2.3 +pkgver=3.2.4 pkgrel=1 arch=(x86_64) url='https://gmic.eu/' @@ -13,16 +13,17 @@ license=(custom:CeCILL) makedepends=(cmake gimp qt5-base fftw openexr opencv eigen graphicsmagick qt5-tools) source=(https://gmic.eu/files/source/gmic_$pkgver.tar.gz - CMakeLists.txt FindCImg.cmake FindGMicStdlib.cmake) -sha256sums=('c8444f0aae428a5ed555ddd809c9a4b144b4c9bb29f81057393893c34b1ac0e4' + CMakeLists.txt FindCImg.cmake FindGMicStdlib.cmake FindGraphicsMagick.cmake) +sha256sums=('63b441bd1dea5c4c776b9ef166c94a2f7c71f65cb87aa0eff0ca8aa3075ad692' '10664d810be3994c062c260fc6b92ba2d1cc2e76c9619e632ef0feb8f9e7b98f' '5ad1b499cb0a9e3d9fff6a851346d6f356dfc592442183d6330726a29ee25384' - '83e4635a6fd101511381bc865255f4de88834da51911ce3eb45ddac2558cabcc') + '83e4635a6fd101511381bc865255f4de88834da51911ce3eb45ddac2558cabcc' + '9240da9240a0c9c76ac4b503d53f4aec54af544cef3d9cc1f7ad7994d1cda0f9') prepare() { mv CMakeLists.txt gmic-$pkgver mkdir -p gmic-$pkgver/cmake - mv FindCImg.cmake FindGMicStdlib.cmake gmic-$pkgver/cmake + mv FindCImg.cmake FindGMicStdlib.cmake FindGraphicsMagick.cmake gmic-$pkgver/cmake } build() {