Merge pull request #2390 from Duncaen/Cutegram

New Package: Cutegram
This commit is contained in:
Duncan Overbruck 2015-08-28 12:54:14 +02:00
commit 6f037e98e9
6 changed files with 75 additions and 0 deletions

View File

@ -2139,3 +2139,5 @@ libmlt++.so.3 mlt-0.9.6_1
libunibilium.so.0 unibilium-1.1.6_1
libtermkey.so.1 libtermkey-0.17_1
libicu4lua.so.0 icu4lua-0.2B_1
libqtelegram-ae.so.1 libqtelegram-ae-5.0_1
libtelegramqml.so.1 TelegramQML-0.8.0_1

16
srcpkgs/Cutegram/template Normal file
View File

@ -0,0 +1,16 @@
# Template file for 'Cutegram'
pkgname=Cutegram
version=2.5.0
revision=1
wrksrc=$pkgname-${version}-stable
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="qt5-devel qt5-multimedia-devel qt5-webkit-devel qt5-declarative-devel
libqtelegram-ae-devel TelegramQML-devel"
depends="qt5-graphicaleffects qt5-quickcontrols"
short_desc="Qt5 Telegram desktop client"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3"
homepage="http://aseman.co/cutegram"
distfiles="https://github.com/Aseman-Land/$pkgname/archive/v${version}-stable.tar.gz"
checksum="c92d7dc1f03e50ec7245c5f16e34e1780af9a171eeba7f91763bd92d45a7da4a"

1
srcpkgs/TelegramQML-devel Symbolic link
View File

@ -0,0 +1 @@
TelegramQML

View File

@ -0,0 +1,28 @@
# Template file for 'TelegramQML'
pkgname=TelegramQML
version=0.8.0
revision=1
wrksrc=${pkgname}-${version}-stable
build_style=qmake
configure_args="BUILD_MODE+=lib"
hostmakedepends="qt5-qmake"
makedepends="qt5-devel qt5-declarative-devel qt5-multimedia-devel libqtelegram-ae-devel"
short_desc="Telegram API tools for QtQml and Qml"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3"
homepage="https://github.com/Aseman-Land/TelegramQML"
distfiles="https://github.com/Aseman-Land/$pkgname/archive/v${version}-stable.tar.gz"
checksum=38d4cd7cc26f6ea6852c94bb0c9b4648fbeef7db281053a99f2a2bd3327082d0
pre_configure() {
sed -i 's,$$LIB_PATH,,' telegramqml.pro
}
TelegramQML-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}

View File

@ -0,0 +1 @@
libqtelegram-ae/

View File

@ -0,0 +1,27 @@
# Template file for 'libqtelegram-ae'
pkgname=libqtelegram-ae
version=5.0
revision=1
wrksrc=${pkgname/-ae/-aseman-edition}-${version}
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="qt5-devel qt5-multimedia-devel"
short_desc="A libqtelegram fork by Aseman Team"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3"
homepage="https://github.com/Aseman-Land/libqtelegram-aseman-edition"
distfiles="https://github.com/Aseman-Land/libqtelegram-aseman-edition/archive/v${version}.tar.gz"
checksum=372c4294cbfcfb614f53baf92badf1939d14076eb068fa38b4d693dff6c18515
pre_configure() {
sed -i 's,$$LIB_PATH,,' libqtelegram-ae.pro
}
libqtelegram-ae-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}