-
Notifications
You must be signed in to change notification settings - Fork 13
/
net.launchpad.qpdfview.yaml
53 lines (52 loc) · 1.4 KB
/
net.launchpad.qpdfview.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# TODO
# more cleanup
# minimal build
# move dependencies to shared modules?
app-id: net.launchpad.qpdfview
runtime: org.kde.Platform
runtime-version: '5.15-21.08'
sdk: org.kde.Sdk
command: qpdfview
rename-icon: qpdfview
rename-appdata-file: qpdfview.appdata.xml
rename-desktop-file: qpdfview.desktop
copy-icon: true
finish-args:
- --device=dri
- --filesystem=home
- --share=ipc
- --socket=fallback-x11
- --socket=wayland
- --socket=x11
cleanup:
- /include
- /lib/debug
- /lib/openjpeg-*
- /lib/pkgconfig
- /share/doc
- /share/man
- '*.a'
- '*.la'
modules:
- name: qpdfview
buildsystem: qmake
config-opts:
- TARGET_INSTALL_PATH=/app/bin
- PLUGIN_INSTALL_PATH=/app/lib/qpdfview
- DATA_INSTALL_PATH=/app/share/qpdfview
- MANUAL_INSTALL_PATH=/app/share/man/man1
- ICON_INSTALL_PATH=/app/share/icons/hicolor/scalable/apps
- LAUNCHER_INSTALL_PATH=/app/share/applications
- APPDATA_INSTALL_PATH=/app/share/appdata
- qpdfview.pro
sources:
- type: bzr
url: https://code.launchpad.net/~adamreichold/qpdfview/trunk
revision: '2128'
- type: shell
commands:
- sed -i '/#include <QVector>/a#include <QPainterPath>' sources/model.h
modules:
- ../shared-modules/poppler/libpoppler.json
- ../shared-modules/libspectre/libspectre.json
- ../shared-modules/djvulibre/djvulibre.json