diff --git a/common/shlibs b/common/shlibs index af0efa3b283..bc8331a9523 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/Cutegram/template b/srcpkgs/Cutegram/template new file mode 100644 index 00000000000..5939903a35b --- /dev/null +++ b/srcpkgs/Cutegram/template @@ -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 " +license="GPL-3" +homepage="http://aseman.co/cutegram" +distfiles="https://github.com/Aseman-Land/$pkgname/archive/v${version}-stable.tar.gz" +checksum="c92d7dc1f03e50ec7245c5f16e34e1780af9a171eeba7f91763bd92d45a7da4a" diff --git a/srcpkgs/TelegramQML-devel b/srcpkgs/TelegramQML-devel new file mode 120000 index 00000000000..9b730d8e15f --- /dev/null +++ b/srcpkgs/TelegramQML-devel @@ -0,0 +1 @@ +TelegramQML \ No newline at end of file diff --git a/srcpkgs/TelegramQML/template b/srcpkgs/TelegramQML/template new file mode 100644 index 00000000000..99e0bbbc79c --- /dev/null +++ b/srcpkgs/TelegramQML/template @@ -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 " +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 + } +} diff --git a/srcpkgs/libqtelegram-ae-devel b/srcpkgs/libqtelegram-ae-devel new file mode 120000 index 00000000000..9b4b5b342d5 --- /dev/null +++ b/srcpkgs/libqtelegram-ae-devel @@ -0,0 +1 @@ +libqtelegram-ae/ \ No newline at end of file diff --git a/srcpkgs/libqtelegram-ae/template b/srcpkgs/libqtelegram-ae/template new file mode 100644 index 00000000000..757837ed824 --- /dev/null +++ b/srcpkgs/libqtelegram-ae/template @@ -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 " +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 + } +}