From 5dbb7b8cf540df8b026f2c8291dbda94efbc63e9 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Wed, 24 May 2023 17:15:28 +0200 Subject: [PATCH] Added td as dep --- .../paper-plane-0.1.0_beta1.ebuild | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/net-im/paper-plane/paper-plane-0.1.0_beta1.ebuild b/net-im/paper-plane/paper-plane-0.1.0_beta1.ebuild index 1b4aab2..ee45eca 100644 --- a/net-im/paper-plane/paper-plane-0.1.0_beta1.ebuild +++ b/net-im/paper-plane/paper-plane-0.1.0_beta1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit gnome2-utils meson vala xdg +inherit gnome2-utils meson DESCRIPTION="Telegram client" HOMEPAGE="https://github.com/paper-plane-developers/" @@ -19,34 +19,31 @@ KEYWORDS="~amd64 ~arm ~arm64 ~x86" S="${WORKDIR}/paper-plane-0.1.0-beta.1" #S="${WORKDIR}/${PN}-${PV}" -#>=gui-libs/libadwaita-1.4.0 -RDEPEND=" - + +DEPEND=" + >=gui-libs/libadwaita-1.4.0 >=gui-libs/gtk-4.10.0 media-libs/gst-plugins-good media-plugins/gst-plugins-libav + =net-libs/td-1.8.14 " -DEPEND="${RDEPEND}" +RDEPEND="${DEPEND}" -BDEPEND=" - $(vala_depend) - virtual/pkgconfig -" +BDEPEND="${DEPEND}" src_prepare() { - default - vala_setup + local emesonargs=( + "-Dtg_api_id=ID" + "-Dtg_api_hash=HASH" + ) - #-Dtg_api_id=ID - #-Dtg_api_hash=HASH + meson_src_configure } pkg_postinst() { gnome2_schemas_update - xdg_pkg_postinst } pkg_postrm() { gnome2_schemas_update - xdg_pkg_postrm }