aboutsummaryrefslogtreecommitdiffstats
path: root/community/mirage/APKBUILD
blob: adb2a6dc35f7aff12e8a0c7fd0e59eed3288cbe6 (plain) (blame)
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
# Contributor: Newbyte <newbie13xd@gmail.com>
# Maintainer: Newbyte <newbie13xd@gmail.com>
pkgname=mirage
pkgver=0.6.4
pkgrel=0
pkgdesc="Qt/QML Matrix client"
url="https://github.com/mirukana/mirage"
arch="all !armhf !mips64" # armhf: blocked by py3-pyotherside, qt5-qtquickcontrols2
license="LGPL-3.0-or-later"
depends="
	py3-aiofiles
	py3-blist
	py3-cairosvg
	py3-filetype
	py3-html-sanitizer
	py3-matrix-nio
	py3-mistune
	py3-pillow
	py3-pymediainfo
	py3-pyotherside
	"
makedepends="
	libjpeg-turbo-dev
	libmediainfo-dev
	libwebp-dev
	libx11-dev
	libxscrnsaver-dev
	olm-dev
	openjpeg-dev
	py3-pyotherside
	py3-setuptools
	python3-dev
	qtchooser
	qt5-qtbase-dev
	qt5-qtquickcontrols2-dev
	qt5-qtsvg-dev
	qt5-qtimageformats
	tiff-dev
	zlib-dev
	"
_commit_gel=0e796aacc16388a164bab0bb0ce9dabc885ed7fa
_commit_hsluv_c=9e9be32d6010cad484a7b12b1a3d19c6cf4c1353
_commit_radial_bar=ec3af1a087a0c4c0c31709ed94b7e939d3e51400
_commit_sort_filter_proxy_model=36befddf5d57faad990e72c88c5844794f274145
_commit_qsyncable=f5ca07b71cecda685d0dd4b3c74d2fb2ca71f711
source="
	mirage-v$pkgver.tar.gz::https://github.com/mirukana/mirage/archive/v$pkgver.tar.gz
	gel.tar.gz::https://github.com/Cutehacks/gel/archive/$_commit_gel.tar.gz
	hsluv-c.tar.gz::https://github.com/hsluv/hsluv-c/archive/$_commit_hsluv_c.tar.gz
	radial-bar.tar.gz::https://github.com/mirukana/RadialBarDemo/archive/$_commit_radial_bar.tar.gz
	sort-filter-proxy-model.tar.gz::https://github.com/oKcerG/SortFilterProxyModel/archive/$_commit_sort_filter_proxy_model.tar.gz
	qsyncable.tar.gz::https://github.com/benlau/qsyncable/archive/$_commit_qsyncable.tar.gz
	"

prepare() {
	default_prepare
	mv "$srcdir/gel-$_commit_gel/"* "$builddir/submodules/gel"
	mv "$srcdir/hsluv-c-$_commit_hsluv_c/"* "$builddir/submodules/hsluv-c"
	mv "$srcdir/RadialBarDemo-$_commit_radial_bar/"* "$builddir/submodules/RadialBarDemo"
	mv "$srcdir/SortFilterProxyModel-$_commit_sort_filter_proxy_model/"* "$builddir/submodules/SortFilterProxyModel"
	mv "$srcdir/qsyncable-$_commit_qsyncable/"* "$builddir/submodules/qsyncable"
}

build() {
	qmake PREFIX=/usr mirage.pro
	make
}

package() {
	make INSTALL_ROOT=$pkgdir install
}

sha512sums="1780e5e9da7a31b2310d3e07d6b52a7be8cfe97262fef34ef470fd3d92621e554596858168d1d555d7dcf6f506853e0260b744a7725e70c9a34cf399be2394e0  mirage-v0.6.4.tar.gz
540549882494007219d7e5be6d4502869bf02db16046547a623a20c17be729645ccd7611fa8ecd16e8f2fe545569be29240dabbefc8cb8f9c2b333355caab480  gel.tar.gz
ecd8c9afa9e22c6a0093435ce89b5d5b1882207359d02a65f6e62952fa4b57fc5b3e1aaa07527553a7e86c350173409b21d41b3da5235a7fb5f96b61944be839  hsluv-c.tar.gz
d4f2fcc91e3542299ffde8c6981131d3dd8c168954c6b43929b675f153c3424a29ef2a2e5f1445b8500aca97f3674eed40f7cabf242fd210ea67f5028567552d  radial-bar.tar.gz
bfb7af36abd5ded014549042e760c1ec6779f46dd6c30e672ada21decc7a1b1a631ada1cc2c57d62d0daca4cccff9640077345b3661ef73021d5e2ee8058ae9b  sort-filter-proxy-model.tar.gz
b7187b3a87b21b6ff3dde00aee55c5cc1721ee8d228eab91cc78a7b5de68457999015ef601542a69c9bed424ffcd375e7314bd451d6d7eaee5a827962c83a3a7  qsyncable.tar.gz"