-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.chamsys.magicq.yml
More file actions
98 lines (94 loc) · 3.51 KB
/
com.chamsys.magicq.yml
File metadata and controls
98 lines (94 loc) · 3.51 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
app-id: com.chamsys.magicq
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
command: run.sh
tags:
- proprietary
finish-args:
- --device=dri
- --socket=wayland
- --socket=x11
- --share=network
- --filesystem=home
- --socket=pulseaudio
modules:
- name: glu
# build-options:
# arch:
# x86_64: *compat_i386_opts
config-opts:
- --disable-static
sources:
- type: archive
url: https://mesa.freedesktop.org/archive/glu/glu-9.0.2.tar.xz
sha256: 6e7280ff585c6a1d9dfcdf2fca489251634b3377bfc33c29e4002466a38d02d4
- name: libbzip2
no-autogen: true
make-args:
- --f=Makefile-libbz2_so
no-make-install: true
post-install:
- install -Dm644 libbz2.so.1.0.8 ${FLATPAK_DEST}/lib/
- ln -s ${FLATPAK_DEST}/lib/libbz2.so.1.0.8 ${FLATPAK_DEST}/lib/libbz2.so.1.0
sources:
- type: archive
url: https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
sha512: 083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3
x-checker-data:
type: anitya
project-id: 237
url-template: https://sourceware.org/pub/bzip2/bzip2-$version.tar.gz
- name: libdb
config-opts:
- --enable-cxx
- --enable-shared
- --disable-static
- --enable-dbm
subdir: build_unix
build-options:
cflags: -Wno-error=implicit-int -Wno-error=implicit-function-declaration
sources:
- type: archive
url: http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz
sha256: e0a992d740709892e81f9d93f06daf305cf73fb81b545afe72478043172c3628
- type: patch
paths:
- patches/db-5.3.28-atomic_compare_exchange.patch
- type: script
dest: build_unix
dest-filename: configure
commands:
- exec ../dist/configure "$@"
cleanup:
- /bin
- /docs
- name: magicq
buildsystem: simple
build-commands:
- |
bsdtar -Oxf magicq.deb 'data.tar.xz' |
bsdtar -xf -
- mv "opt/magicq" "${FLATPAK_DEST}/magicq"
- sed -i 's/Icon=/Icon=com.chamsys./' usr/share/applications/*.desktop
- sed -i 's/opt\/magicq/app\/magicq/g' usr/share/applications/*.desktop
- install -Dm644 usr/share/pixmaps/magicq.png /app/share/icons/hicolor/64x64/apps/com.chamsys.magicq.png
- install -Dm644 usr/share/pixmaps/magichd.png /app/share/icons/hicolor/64x64/apps/com.chamsys.magichd.png
- install -Dm644 usr/share/pixmaps/magicvis.png /app/share/icons/hicolor/64x64/apps/com.chamsys.magicvis.png
- install -Dm644 usr/share/applications/magichd.desktop /app/share/applications/com.chamsys.magichd.desktop
- install -Dm644 usr/share/applications/magicmultiwin.desktop /app/share/applications/com.chamsys.magicqmultiwin.desktop
- install -Dm644 usr/share/applications/magicq.desktop /app/share/applications/com.chamsys.magicq.desktop
- install -Dm644 usr/share/applications/magicvis.desktop /app/share/applications/com.chamsys.magicvis.desktop
- install -D run.sh /app/bin/run.sh
sources:
- type: file
dest-filename: magicq.deb
only-arches: [x86_64]
url: https://secure.chamsys.co.uk/downloads/v1_9_6_4/magicq_ubuntu_v1_9_6_4.deb
sha256: 25912d996bcd48a68327a768eb90f3c5dd93503ef1833b1f5c5a7f5fadaf5766
size: 166148336
- type: script
dest-filename: run.sh
commands:
- cd /app/magicq
- exec "./runmagicq.sh" "@"