aboutsummaryrefslogtreecommitdiffhomepage
path: root/subprojects/imageformats
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2020-03-07 07:59:13 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2020-03-14 15:17:41 -0400
commit466509b8fc225db0e37021f6e71d0d7648ffcf83 (patch)
tree1fee28daec7cf516e0dacc407367c804d56110cc /subprojects/imageformats
parentmeson build (diff)
meson build (subproject imageformats pinned 7.0.0)
- subprojects with "manual" git download where upstream git lacks meson.build - imageformats git tag (version) pinned, else build fails
Diffstat (limited to 'subprojects/imageformats')
-rw-r--r--subprojects/imageformats/dub.sdl7
-rw-r--r--subprojects/imageformats/meson.build40
2 files changed, 0 insertions, 47 deletions
diff --git a/subprojects/imageformats/dub.sdl b/subprojects/imageformats/dub.sdl
deleted file mode 100644
index 2814286..0000000
--- a/subprojects/imageformats/dub.sdl
+++ /dev/null
@@ -1,7 +0,0 @@
-name "imageformats"
-description "Decoders for PNG, TGA, BMP, JPEG and encoders for PNG, TGA, BMP."
-authors "Tero Hänninen"
-license "BSL-1.0"
-targetName "imageformats"
-sourcePaths "imageformats"
-importPaths "."
diff --git a/subprojects/imageformats/meson.build b/subprojects/imageformats/meson.build
deleted file mode 100644
index 584e2af..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.0'
-)
-
-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]
-)