mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
imported cutegram and libqtelegram
This commit is contained in:
parent
a0cec22404
commit
dfdbce33d9
31
cutegram/PKGBUILD
Normal file
31
cutegram/PKGBUILD
Normal file
@ -0,0 +1,31 @@
|
||||
pkgname=cutegram
|
||||
_pkgname=Cutegram
|
||||
pkgver=2.4.0
|
||||
pkgrel=1
|
||||
pkgdesc="A different telegram client from Aseman team"
|
||||
arch=('x86_64')
|
||||
url="http://aseman.co/en/products/cutegram/"
|
||||
license=('GPL')
|
||||
depends=('qt5-base' 'qt5-declarative' 'qt5-multimedia' 'qt5-quick1'
|
||||
'qt5-graphicaleffects' 'qt5-quickcontrols' 'qt5-webengine' 'qt5-imageformats'
|
||||
'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins'
|
||||
'libqtelegram-ae>=1:4.1')
|
||||
conflicts=('cutegram-git')
|
||||
source=("https://github.com/Aseman-Land/Cutegram/archive/v$pkgver-stable.tar.gz")
|
||||
sha512sums=('0d21075df229f1a1cf17d3efd40a35b55bdbb915a2c065fa90c4573d1278c614901742cdfa2a1cb3f5b736543c9ba73e81e4f02f7bb10cd30bfbcaf48554043e')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_pkgname}-$pkgver-stable"
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_pkgname}-$pkgver-stable/build"
|
||||
qmake-qt5 -r .. PREFIX=/usr DEFINES+=WEBENGINE_ASEMAN_WEBGRABBER
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_pkgname}-$pkgver-stable/build"
|
||||
make INSTALL_ROOT="${pkgdir}" install
|
||||
}
|
30
libqtelegram-ae/PKGBUILD
Normal file
30
libqtelegram-ae/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
pkgname=libqtelegram-ae
|
||||
_pkgname=libqtelegram-aseman-edition
|
||||
epoch=1
|
||||
pkgver=4.1
|
||||
pkgrel=1
|
||||
pkgdesc="Telegram library written in Qt based on telegram-cli code"
|
||||
arch=('x86_64')
|
||||
license=('GPL3')
|
||||
url=("https://launchpad.net/libqtelegram")
|
||||
depends=('qt5-base' 'qt5-multimedia')
|
||||
makedepends=('cmake')
|
||||
source=("https://github.com/Aseman-Land/libqtelegram-aseman-edition/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('ba74494d21fe3619ce43ed6f71998bf3e9f9320b0434bd3945a3676f0849fd459cd49624ab9804a2d505f0afe17f14a946c104c5ba43ba27e32d2a2abe907b00')
|
||||
|
||||
prepare() {
|
||||
cd $_pkgname-$pkgver
|
||||
sed -i 's#target.path = $$PREFIX/lib/$$LIB_PATH#target.path = $$PREFIX/lib#' libqtelegram-ae.pro
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_pkgname-$pkgver/build
|
||||
qmake-qt5 -r .. PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_pkgname-$pkgver/build
|
||||
make INSTALL_ROOT="$pkgdir" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user