summaryrefslogtreecommitdiff
path: root/capplets/appearance/data
diff options
context:
space:
mode:
authorzhuyaliang <[email protected]>2023-10-19 11:41:29 +0800
committerLuke from DC <[email protected]>2023-12-27 04:24:30 +0000
commitbca3b80da6b3653ada9e0546a3fd053cdc4651d0 (patch)
tree91882520deb84786b2b2a7bf20470039d19265c8 /capplets/appearance/data
parentc2e94e1925f3c7acfa3fd3352dc8fdafe6375adc (diff)
downloadmate-control-center-bca3b80da6b3653ada9e0546a3fd053cdc4651d0.tar.bz2
mate-control-center-bca3b80da6b3653ada9e0546a3fd053cdc4651d0.tar.xz
Add meson build support
Diffstat (limited to 'capplets/appearance/data')
-rw-r--r--capplets/appearance/data/meson.build46
1 files changed, 46 insertions, 0 deletions
diff --git a/capplets/appearance/data/meson.build b/capplets/appearance/data/meson.build
new file mode 100644
index 00000000..fe2a7b43
--- /dev/null
+++ b/capplets/appearance/data/meson.build
@@ -0,0 +1,46 @@
+desktops = [
+ 'mate-appearance-properties.desktop',
+ 'mate-theme-installer.desktop'
+]
+
+foreach desktop: desktops
+ i18n.merge_file(
+ type: 'desktop',
+ input: desktop + '.in',
+ output: desktop,
+ po_dir: po_dir,
+ install: true,
+ install_dir: mcc_desktopdir
+ )
+endforeach
+
+icons = [
+ 'gtk-theme-thumbnailing.png',
+ 'icon-theme-thumbnailing.png',
+ 'mouse-cursor-normal-large.png',
+ 'mouse-cursor-normal.png',
+ 'mouse-cursor-white-large.png',
+ 'mouse-cursor-white.png',
+ 'subpixel-bgr.png',
+ 'subpixel-rgb.png',
+ 'subpixel-vbgr.png',
+ 'subpixel-vrgb.png',
+ 'theme-thumbnailing.png',
+ 'window-theme-thumbnailing.png'
+]
+
+foreach icon: icons
+ install_data (
+ icon,
+ install_dir : mcc_pixmaps
+ )
+endforeach
+
+ i18n.merge_file(
+ input: 'mate-theme-package.xml.in',
+ output: 'mate-theme-package.xml',
+ type: 'xml',
+ po_dir: po_dir,
+ install: true,
+ install_dir: mcc_mime,
+ )