diff options
author | Ralph Amissah <ralph@amissah.com> | 2020-03-06 15:11:55 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2020-03-14 15:17:44 -0400 |
commit | 2c95e88e40ff3cf021eb9e2e0b7a87f68d5e1e37 (patch) | |
tree | 85693bb7813a51f9af9925b08508280183962906 /subprojects/imageformats.meson.build | |
parent | meson build (subproject issue with imageformats >= 7.0.1) (diff) |
meson using dubdoc-reform_v0.9.2
- the good
- works
- project looks pretty clean
- the bad
- subprojects built externally
- not suitable for debian packaging
Diffstat (limited to 'subprojects/imageformats.meson.build')
-rw-r--r-- | subprojects/imageformats.meson.build | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/subprojects/imageformats.meson.build b/subprojects/imageformats.meson.build deleted file mode 100644 index 7c05434..0000000 --- a/subprojects/imageformats.meson.build +++ /dev/null @@ -1,40 +0,0 @@ -project('imageformats', 'd', - meson_version: '>=0.46', - license: 'BSL-1.0', - version: '7.0.2' -) - -project_soversion = '0' - -src_dir = include_directories('.') -pkgc = import('pkgconfig') - -imageformats_src = [ - 'imageformats/bmp.d', - 'imageformats/jpeg.d', - 'imageformats/package.d', - 'imageformats/png.d', - 'imageformats/tga.d' -] -install_subdir('imageformats/', install_dir: 'include/d/imageformats-d/') - -imageformats_lib = library('imageformats-d', - [imageformats_src], - include_directories: [src_dir], - install: true, - version: meson.project_version(), - soversion: project_soversion -) - -pkgc.generate(name: 'imageformats-d', - libraries: imageformats_lib, - subdirs: 'd/imageformats-d/', - version: meson.project_version(), - description: 'Decoders for PNG, TGA, BMP, JPEG and encoders for PNG, TGA, BMP.' -) - -# for use by others which embed this as subproject -imageformats_dep = declare_dependency( - link_with: [imageformats_lib], - include_directories: [src_dir] -) |