mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-23 14:26:12 +03:00
80 lines
2.1 KiB
YAML
80 lines
2.1 KiB
YAML
version: 1
|
|
|
|
script:
|
|
- mkdir -p build.appimage
|
|
# TODO: Use cmake -B build.appimage after updating to CMake v3.14, and also:
|
|
# - cmake --build build.appimage
|
|
# - cmake --prefix /tmp/AppDir --install build.appimage
|
|
- cd build.appimage; cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
|
- cd build.appimage; ninja
|
|
- cd build.appimage; DESTDIR=AppDir ninja install
|
|
|
|
AppDir:
|
|
path: build.appimage/AppDir
|
|
|
|
app_info:
|
|
id: org.zealdocs.Zeal
|
|
name: zeal
|
|
icon: zeal
|
|
version: 0.6.1 # TODO: Use version from CMake.
|
|
exec: usr/bin/zeal
|
|
exec_args: $@
|
|
|
|
runtime:
|
|
generator: wrapper
|
|
APPDIR_LIBRARY_PATH: "$APPDIR/lib/x86_64-linux-gnu:$APPDIR/usr/lib/x86_64-linux-gnu"
|
|
|
|
apt:
|
|
arch: amd64
|
|
|
|
sources:
|
|
- sourceline: "deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse"
|
|
- sourceline: "deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse"
|
|
- sourceline: "deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse"
|
|
key_url: "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32"
|
|
|
|
include:
|
|
# Required Qt packages.
|
|
- libqt5gui5
|
|
- libqt5network5
|
|
- libqt5x11extras5
|
|
- libqt5concurrent5
|
|
- libqt5webchannel5
|
|
- libqt5webkit5
|
|
- libqt5widgets5
|
|
- qtwayland5
|
|
# Other dependencies.
|
|
- libsqlite3-0
|
|
- libarchive13
|
|
|
|
exclude:
|
|
- "*dbgsym*"
|
|
- gnupg
|
|
- libwacom*
|
|
- perl
|
|
- perl-*
|
|
- sound-theme-freedesktop
|
|
- systemd
|
|
- systemd-*
|
|
|
|
files:
|
|
exclude:
|
|
- usr/include
|
|
- usr/share/man
|
|
- usr/share/doc
|
|
- usr/share/doc/*/README.*
|
|
- usr/share/doc/*/changelog.*
|
|
- usr/share/doc/*/NEWS.*
|
|
- usr/share/doc/*/TODO.*
|
|
- lib/systemd
|
|
- etc/systemd
|
|
- usr/bin/systemd*
|
|
- usr/bin/dpkg*
|
|
- usr/bin/*-linux-gnu-*
|
|
- usr/share/locale
|
|
|
|
AppImage:
|
|
arch: "x86_64"
|
|
update-information: "gh-releases-zsync|zealdocs|zeal|latest|zeal-*x86_64.AppImage.zsync"
|
|
sign-key: None
|