Source: slang-compiler
Section: libdevel
Priority: optional
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uploaders: Andreas Glinserer <andreas.glinserer@canonical.com>
Vcs-Browser: https://git.launchpad.net/~aglinserer/+git/slang-compiler
Vcs-Git: https://git.launchpad.net/~aglinserer/+git/slang-compiler
Build-Depends: debhelper-compat (= 13),
 cmake,
 glslang-dev,
 glslang-tools,
 help2man,
 libvulkan-dev,
 libwayland-dev [linux-any],
 libx11-dev,
 libxcb1-dev,
 libxrandr-dev,
 liblz4-dev,
 libimgui-dev,
 libglm-dev,
 libtinyobjloader-dev,
 pkgconf,
 python3,
 spirv-headers,
 spirv-tools,
Standards-Version: 4.7.2
Homepage: https://github.com/shader-slang/slang
Description: Modular and extensible shading language
 Slang is a shading language that makes it easier to build and maintain large
 shader codebases in a modular and extensible fashion, while also maintaining
 the highest possible performance on modern GPUs and graphics APIs. Slang is
 based on years of collaboration between researchers at NVIDIA, Carnegie Mellon
 University, Stanford, MIT, UCSD and the University of Washington.

Package: slang-compiler
Architecture: arm64 amd64
Section: devel
Depends: libslang-compiler0,
 ${misc:Depends},
 ${shlibs:Depends},
Description: Compiler for the slang-shader language
 ${source:Extended-Description}
 .
 This package contains slangc, slangd and slangi programs.

Package: libslang-compiler0
Architecture: arm64 amd64
Section: libs
Depends: ${shlibs:Depends},
  ${misc:Depends},
  libslang-rt0,
  libgfx0,
  libslang-glslang,
  libslang-glsl-module,
  slang-compiler,
Description: Modular and extensible shading language
 ${source:Extended-Description}
 .
 This package contains the library files and the produced binaries to use for
 compilation.

Package: libslang-compiler-dev
Architecture: arm64 amd64
Depends: libc-dev,
  libslang-compiler0 (= ${binary:Version}),
  libslang-rt-dev,
  libgfx-dev,
  ${shlibs:Depends},
  ${misc:Depends},
Description: Development files for the libslang-compiler library
 ${source:Extended-Description}
 .
 This package contains headers and documentation

Package: libslang-rt0
Architecture: arm64 amd64
Section: libs
Depends: ${shlibs:Depends},
  ${misc:Depends},
Description: slangruntime target for the slang-compiler
 ${source:Extended-Description}
 .
 This package contains the library files and the produced binaries to use for
 compilation.

Package: libslang-rt-dev
Architecture: arm64 amd64
Depends: libc-dev,
  libslang-rt0 (= ${binary:Version}),
  ${shlibs:Depends},
  ${misc:Depends}
Description: Development files for the slang runtime library
 ${source:Extended-Description}
 .
 This package contains headers and documentation

Package: libgfx0
Architecture: arm64 amd64
Section: libs
Depends: ${shlibs:Depends},
  ${misc:Depends},
Description: Library to enable work on gfx with slang-compiler
 ${source:Extended-Description}
 .
 This package contains the library files and the produced binaries to use for
 compilation.

Package: libgfx-dev
Architecture: arm64 amd64
Depends: libc-dev,
  libgfx0 (= ${binary:Version}),
  ${shlibs:Depends},
  ${misc:Depends}
Description: Development files for the gfx targets using libslang-compiler
 ${source:Extended-Description}
 .
 This package contains headers and documentation

# The modules requird for working slang-compiler. These are located in slang-compiler folder
Package: libslang-glslang
Architecture: arm64 amd64
Section: libs
Depends: libslang-compiler0 (= ${binary:Version}),
  ${shlibs:Depends},
  ${misc:Depends},
Description: Modules wrapping glslang and being delivered as dependency
 ${source:Extended-Description}
 .
 This package contains headers and documentation

Package: libslang-glsl-module
Architecture: arm64 amd64
Section: libs
Depends: libslang-compiler0 (= ${binary:Version}),
  ${shlibs:Depends},
  ${misc:Depends},
Description: Modules wrapping glsl as a runtime dependency for slang-compiler
 ${source:Extended-Description}
 .
 This package contains headers and documentation

Package: slang-compiler-tests
Architecture: arm64 amd64
Section: utils
Depends: ${shlibs:Depends},
  ${misc:Depends},
  libslang-compiler0,
  libslang-reflection-test-tool-module,
Provides: libslang-compiler-tests
Breaks: libslang-compiler-tests
Replaces: libslang-compiler-tests
Conflicts: libslang-compiler-tests
Description: Test program for slang-compiler
 This package is primarily aimed to be used for autopkgtests. Due to
 slang-compiler using a self-created test framework, it is packaged separately.

Package: libslang-reflection-test-tool-module
Architecture: arm64 amd64
Section: libs
Depends: ${shlibs:Depends},
        ${misc:Depends},
Description: Reflection test tool for autopkgtests
 This package provides the required library to enable the reflection tests for
 the slang-compiler-tests. It is primarily aimed to be used for autopkgtests.
