File: meson.build

package info (click to toggle)
gdk-pixbuf 2.40.0+dfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 25,404 kB
  • sloc: ansic: 31,855; xml: 488; sh: 104; python: 76; makefile: 62; perl: 56; sed: 16
file content (33 lines) | stat: -rw-r--r-- 1,472 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
executable('gdk-pixbuf-thumbnailer',
           [ 'gdk-pixbuf-thumbnailer.c', 'gnome-thumbnailer-skeleton.c' ],
           c_args: common_cflags + [
             '-DTHUMBNAILER_RETURNS_PIXBUF',
             '-DTHUMBNAILER_USAGE="Thumbnail images"',
           ],
           dependencies: gdk_pixbuf_deps + [ gdkpixbuf_dep ],
           install: true)

gdk_pixbuf_print_mime_types = executable('gdk-pixbuf-print-mime-types',
                                         'gdk-pixbuf-print-mime-types.c',
                                         c_args: common_cflags,
                                         dependencies: gdk_pixbuf_deps + [ gdkpixbuf_dep ])

custom_target('thumbnailer',
              input: 'gdk-pixbuf-thumbnailer.thumbnailer.in',
              output: 'gdk-pixbuf-thumbnailer.thumbnailer',
              command: [
                gen_thumbnailer,
                '--printer=@0@'.format(gdk_pixbuf_print_mime_types.full_path()),
                '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()),
                '--loaders=@0@'.format(loaders_cache.full_path()),
                '--bindir=@0@'.format(gdk_pixbuf_bindir),
                '@INPUT@',
                '@OUTPUT@',
              ],
              depends: [
                gdk_pixbuf_print_mime_types,
                gdk_pixbuf_pixdata,
                loaders_cache,
              ],
              install: true,
              install_dir: join_paths(gdk_pixbuf_datadir, 'thumbnailers'))