Skip to content

Commit

Permalink
New package: matrix-mirage-0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco149 committed Jun 20, 2020
1 parent 5ab4428 commit 07cc12b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions srcpkgs/matrix-mirage/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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 qt5-graphicaleffects"
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"
_hsluv_commit=59539e04a6fa648935cbe57c2104041f23136c4a
distfiles="https://github.com/mirukana/mirage/archive/v${version}.tar.gz
https://github.com/hsluv/hsluv-c/archive/${_hsluv_commit}.tar.gz"
checksum="792e1a3e63af3ccf1f777492da6cb4e1b85eec09cbf7e5f85161579fcb779192
85cad0329628607b965ec8cf15208937c14085abd1cf9f9576ff409f882943ca"

post_extract() {
mv "${XBPS_BUILDDIR}/hsluv-c-${_hsluv_commit}/"* submodules/hsluv-c/
# binary name conflicts with mirage the image viewer
sed -i 's/TARGET[[:space:]]*=[[:space:]]*mirage/TARGET = matrix-mirage/g' mirage.pro
sed -i 's/Exec=mirage/Exec=matrix-mirage/g' extra/linux/mirage.desktop
}

0 comments on commit 07cc12b

Please sign in to comment.