Skip to content

Commit

Permalink
New package: matrix-mirage
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco149 committed Jun 12, 2020
1 parent 6e338c9 commit 3e02f4d
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions srcpkgs/matrix-mirage/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Template file for 'matrix-mirage'
pkgname=matrix-mirage
version=0.5.1
revision=1
wrksrc="mirage-${version}"
build_style=qmake
hostmakedepends="python3-setuptools qt5-qmake qt5-quickcontrols2-devel qt5-declarative-devel"
makedepends="qt5-quickcontrols2-devel qt5-declarative-devel"
depends="python3 python3-Pillow python3-aiofiles python3-appdirs python3-blist python3-filetype
python3-html-sanitizer python3-lxml python3-matrix-nio python3-mistune python3-pymediainfo
python3-pyotherside python3-peewee python3-CairoSVG"
short_desc="Qt/QML+Python Matrix client for encrypted and decentralized chat"
maintainer="Franc[e]sco <lolisamurai@tfwno.gf>"
license="GPL-3.0-or-later"
homepage="https://github.com/mirukana/mirage"
_qsyncable_commit=f5ca07b71cecda685d0dd4b3c74d2fb2ca71f711
_radialbar_commit=ec3af1a087a0c4c0c31709ed94b7e939d3e51400
_hsluv_commit=59539e04a6fa648935cbe57c2104041f23136c4a
_gel_commit=0e796aacc16388a164bab0bb0ce9dabc885ed7fa
_sortfilter_commit=36befddf5d57faad990e72c88c5844794f274145
distfiles="https://github.com/mirukana/mirage/archive/v${version}.tar.gz
https://github.com/benlau/qsyncable/archive/${_qsyncable_commit}.tar.gz
https://github.com/mirukan/RadialBarDemo/archive/${_radialbar_commit}.tar.gz
https://github.com/hsluv/hsluv-c/archive/${_hsluv_commit}.tar.gz
https://github.com/Cutehacks/gel/archive/${_gel_commit}.tar.gz
https://github.com/oKcerG/SortFilterProxyModel/archive/${_sortfilter_commit}.tar.gz"
checksum="792e1a3e63af3ccf1f777492da6cb4e1b85eec09cbf7e5f85161579fcb779192
228687a120294e0f9d1a3e56342f67b9e8c7fce3e4f0dfecbf63e59fac12af80
74649e649a36c9156f347f493a5a299f20896c9cd3061d87b10befad4e6105a3
85cad0329628607b965ec8cf15208937c14085abd1cf9f9576ff409f882943ca
20ea0fffbae17da05a7edd9b75c5ab1e5f99e3aedc2b31fbd2fcdb94e9aa9451
1f5a6c64f793e7d74e8922e071392cf33baa4e7457e70f396c1e1fcb9d63b378"

post_extract() {
mv "${XBPS_BUILDDIR}/qsyncable-${_qsyncable_commit}/"* submodules/qsyncable/
mv "${XBPS_BUILDDIR}/RadialBarDemo-${_radialbar_commit}/"* submodules/RadialBarDemo/
mv "${XBPS_BUILDDIR}/hsluv-c-${_hsluv_commit}/"* submodules/hsluv-c/
mv "${XBPS_BUILDDIR}/gel-${_gel_commit}/"* submodules/gel/
mv "${XBPS_BUILDDIR}/SortFilterProxyModel-${_sortfilter_commit}/"* submodules/SortFilterProxyModel/
}

0 comments on commit 3e02f4d

Please sign in to comment.