From 28c38b93e5014c25ce853cc72b77e1229b081327 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Thu, 27 Aug 2015 23:48:23 +0200 Subject: [PATCH] New package: TelegramQML-0.8.0 --- common/shlibs | 1 + srcpkgs/TelegramQML-devel | 1 + srcpkgs/TelegramQML/template | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 120000 srcpkgs/TelegramQML-devel create mode 100644 srcpkgs/TelegramQML/template diff --git a/common/shlibs b/common/shlibs index 28aff9ed61..bc8331a952 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2140,3 +2140,4 @@ 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/TelegramQML-devel b/srcpkgs/TelegramQML-devel new file mode 120000 index 0000000000..9b730d8e15 --- /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 0000000000..99e0bbbc79 --- /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 + } +}