Source: qore
Section: devel
Priority: optional
Maintainer: David Nichols <david@qore.org>
Build-Depends: debhelper-compat (= 13),
               cmake (>= 3.20),
               flex (>= 2.5.35),
               bison,
               git,
               libpcre2-dev,
               libgmp-dev,
               pkgconf,
               python3,
               libssl-dev (>= 3.5),
               zlib1g-dev,
               libmpfr-dev,
               libbz2-dev,
               libnghttp2-dev (>= 1.70.0),
               libngtcp2-dev (>= 1.25.0),
               libngtcp2-crypto-ossl-dev (>= 1.25.0),
               libnghttp3-dev (>= 1.18.0),
               libc-ares-dev (>= 1.34.8),
               libbrotli-dev,
               libzstd-dev,
               liblz4-dev,
               libkrb5-dev,
               libtree-sitter-dev (>= 0.26.13),
               libicu-dev,
               libeigen3-dev (>= 3.4),
               libonnxruntime-dev (>= 1.23.2),
               libyaml-dev,
               libutf8proc-dev,
               libprotobuf-dev,
               protobuf-compiler,
               libarrow-dev,
               libparquet-dev,
               libmongoc-dev,
               libtesseract-dev,
               libleptonica-dev,
               liburing-dev (>= 2.0) [linux-any],
               llvm-dev (>= 1:18) | llvm-21-dev | llvm-20-dev | llvm-19-dev | llvm-18-dev
Build-Depends-Indep: doxygen <!nodoc>,
                     graphviz <!nodoc>
Standards-Version: 4.7.4
Rules-Requires-Root: no
Homepage: https://qore.org
Vcs-Git: https://github.com/qoretechnologies/qore.git
Vcs-Browser: https://github.com/qoretechnologies/qore

Package: qore
Architecture: any
Depends: libqore20 (= ${binary:Version}),
         qore-stdlib (= ${binary:Version}),
         ${shlibs:Depends},
         ${misc:Depends}
Recommends: ca-certificates
Suggests: qore-debug-tools (= ${source:Version}),
          qore-doc,
          qore-misc-tools
Description: multithreaded programming language
 Qore is a scripting language supporting threading and embedded logic, designed
 for applying a flexible scripting-based approach to enterprise interface
 development but is also useful as a general purpose language.

Package: libqore20
Section: libs
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
         ${misc:Depends}
Description: shared library for the Qore runtime and clients
 Qore is a scripting language supporting threading and embedded logic, designed
 for applying a flexible scripting-based approach to enterprise interface
 development but is also useful as a general purpose language.
 .
 This package provides the qore library required for all clients using qore
 functionality.

Package: qore-stdlib
Architecture: any
Depends: libqore20 (= ${binary:Version}),
         ${shlibs:Depends},
         ${misc:Depends}
Recommends: qore (= ${binary:Version})
Suggests: tesseract-ocr-eng
# the json binary module and its 16 user modules were delivered separately as
# qore-json-module up to and including json 1.12; they ship with Qore as of 3.0
Provides: qore-json-module (= ${binary:Version}),
          qore-yaml-module (= ${binary:Version})
Replaces: qore-json-module (<< 1.13),
          qore-yaml-module (<< 3.0.0~)
Breaks: qore-json-module (<< 1.13),
        qore-yaml-module (<< 3.0.0~)
Description: standard library modules for Qore
 Qore is a scripting language supporting threading and embedded logic, designed
 for applying a flexible scripting-based approach to enterprise interface
 development but is also useful as a general purpose language.
 .
 This package provides the Qore language standard library user and binary
 modules.

Package: qore-doc
Section: doc
Architecture: all
Build-Profiles: <!nodoc>
Multi-Arch: foreign
Suggests: qore
Depends: ${misc:Depends}
Description: Qore API documentation, language reference, and examples
 Qore is a scripting language supporting threading and embedded logic, designed
 for applying a flexible scripting-based approach to enterprise interface
 development but is also useful as a general purpose language.
 .
 This package provides the HTML documentation for the Qore programming language
 and also for user modules delivered with Qore and also example programs.

Package: libqore-dev
Section: libdevel
Architecture: any
Depends: libqore20 (= ${binary:Version}),
         qore (= ${binary:Version}),
         g++,
         libssl-dev,
         ${qore:LLVM-Depends},
         ${shlibs:Depends},
         ${misc:Depends}
Recommends: cmake,
            pkgconf
Suggests: default-jdk-headless,
          doxygen,
          qore-jni-module
# The move is already present in 3.0 development snapshots.
Breaks: qore-misc-tools (<< 3.0.0~)
Replaces: qore-misc-tools (<< 3.0.0~)
Description: header files and compiler tools for developing with Qore
 Qore is a scripting language supporting threading and embedded logic, designed
 for applying a flexible scripting-based approach to enterprise interface
 development but is also useful as a general purpose language.
 .
 This package provides header files and development tools, including qcc, needed
 to compile client programs and AOT-compiled Qore artifacts.

Package: qore-misc-tools
Architecture: all
Depends: qore (>= ${source:Version}),
         ${misc:Depends}
Description: miscellaneous user tools written in Qore
 This package contains tools for working with:
  - REST APIs (rest, saprest, sfrest)
  - SQL Databases (sqlutil, schema-reverse, qschema)
  - Kerberos credential/keytab inspection (qklist)
  - Data Providers (qdp)
  - Code Formatting (qfmt)
  - API Schema Generation (qore-openapi3-gen, qore-asyncapi-gen)
  - Language Server (qls)
  - File Downloads (qget)
  - Translation Catalogs (qore-i18n)
  - ONNX Model Tools (qore-onnx)

Package: qore-debug-tools
Architecture: all
Depends: qore (>= ${source:Version}),
         ${misc:Depends}
# The move is already present in 3.0 development snapshots.
Breaks: qore (<< 3.0.0~)
Replaces: qore (<< 3.0.0~)
Description: remote debugging tools for Qore
 This package provides the Qore debug server, remote debugger, and Visual
 Studio Code debug adapter. The local qdbg debugger is included in qore.
