From 20cdf480c352cb9cd3712cd37f54aaa845de5cb2 Mon Sep 17 00:00:00 2001 From: Duncaen <duncaen@voidlinux.eu> Date: Thu, 27 Aug 2015 23:44:38 +0200 Subject: [PATCH] New package: libqtelegram-ae-5.0 --- common/shlibs | 1 + srcpkgs/libqtelegram-ae-devel | 1 + srcpkgs/libqtelegram-ae/template | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 120000 srcpkgs/libqtelegram-ae-devel create mode 100644 srcpkgs/libqtelegram-ae/template diff --git a/common/shlibs b/common/shlibs index af0efa3b283..28aff9ed61a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2139,3 +2139,4 @@ 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 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 <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 + } +}