Source: ghostty
Section: x11
Priority: optional
Maintainer: Andrew Oberstar <andrew@ajoberstar.org>
Rules-Requires-Root: no
Build-Depends:
 debhelper-compat (= 13),
 dh-exec,
 blueprint-compiler,
 gettext,
 libadwaita-1-dev,
 libbz2-dev,
 libgtk-4-dev,
 libgtk4-layer-shell-dev,
 libonig-dev,
 libxml2-utils,
 patchelf,
 pandoc,
Standards-Version: 4.7.2
Homepage: https://ghostty.org
Vcs-Browser: https://git.oberstar.dev/~andrew/ghostty-deb
Vcs-Git: https://git.oberstar.dev/~andrew/ghostty-deb

Package: ghostty
Architecture: any
Depends:
 ${shlibs:Depends},
 ${misc:Depends},
 ghostty-common (= ${source:Version}),
 ghostty-terminfo (= ${source:Version}),
Description: GPU-accelerated terminal emulator
 Ghostty is a fast, feature-rich, and cross-platform terminal
 emulator that uses platform-native UI and GPU acceleration.
 .
 This package contains the main binary and system integration files.

Package: ghostty-common
Architecture: all
Depends:
 ${misc:Depends},
Description: GPU-accelerated terminal emulator -- architecture independent data
 This package contains architecture independent data files for Ghostty:
 .
 * Themes and icons
 * Shell and editor configuration
 * Man pages and documentation

Package: ghostty-terminfo
Architecture: all
Depends:
 ${misc:Depends},
 ncurses-term,
Description: GPU-accelerated terminal emulator -- terminfo entries
 This package contains the xterm-ghostty terminfo entry and terminfo
 source for use on remote systems. Install on SSH servers where you
 use Ghostty so that the TERM environment variable is properly
 supported.

Package: libghostty-vt-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends:
 ${misc:Depends},
 libghostty-vt0 (= ${binary:Version}),
Description: Ghostty VT library (shared library)
 libghostty-vt provides virtual terminal emulator enginer as used
 by Ghostty. This package contains the shared library (SONAME
 libghostty-vt.so.0) for embedding in other applications.

Package: libghostty-vt0
Section: libs
Architecture: any
Multi-Arch: same
Depends:
 ${shlibs:Depends},
 ${misc:Depends},
Description: Ghostty VT library (development files)
 This package contains the header files, symlink, and pkg-config
 file needed to compile programs against the Ghostty VT library
 (libghostty-vt).
