[gimp/meson: 93/128] Implement some packaging that was handled by Autotools.



commit 432bbc331f7d581aad7c27237bea3f9b68649952
Author: Félix Piédallu <felix piedallu me>
Date:   Wed Jan 10 15:40:24 2018 +0100

    Implement some packaging that was handled by Autotools.

 build/archlinux/PKGBUILD |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/build/archlinux/PKGBUILD b/build/archlinux/PKGBUILD
index 5d66cb2..a744105 100644
--- a/build/archlinux/PKGBUILD
+++ b/build/archlinux/PKGBUILD
@@ -106,6 +106,18 @@ build() {
 package() {
   DESTDIR="${pkgdir}" ninja -C "${srcdir}/build" install
 
+  # Python compilation (was handled by Autotools, not Meson)
+  "${srcdir}/${_gitname}/plug-ins/pygimp/py-compile" \
+    --basedir "${pkgdir}/usr/lib/gimp/2.0/python" \
+    gimpenums.py  \
+    gimpfu.py     \
+    gimpplugin.py \
+    gimpshelf.py  \
+    gimpui.py
+
+  # Meson does not handle creating empty directories
+  mkdir -p "${pkgdir}/usr/share/gimp/2.0/fonts/"
+
   install -D -m644 "${srcdir}/linux.gpl" "${pkgdir}/usr/share/gimp/2.0/palettes/Linux.gpl"
 
   ln -s gimp-2.9          "${pkgdir}/usr/bin/gimp"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]