2023-05-24 16:34:54 +02:00
|
|
|
# Copyright 2022 Gentoo Authors
|
2023-05-25 14:21:31 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License-v2
|
2023-05-24 16:34:54 +02:00
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
2023-05-25 16:06:49 +02:00
|
|
|
inherit gnome2-utils meson
|
2023-05-24 16:34:54 +02:00
|
|
|
|
|
|
|
DESCRIPTION="Telegram client"
|
|
|
|
HOMEPAGE="https://github.com/paper-plane-developers/"
|
2023-05-25 16:06:49 +02:00
|
|
|
SRC_URI="https://github.com/paper-plane-developers/${PN}/archive/refs/tags/v0.1.0-beta.1.tar.gz"
|
2023-05-24 16:34:54 +02:00
|
|
|
|
|
|
|
#allready added for final release
|
|
|
|
#SRC_URI="https://github.com/paper-plane-developers/${PN}/archive/refs/tags/v${PV}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="CC-BY-3.0 GPL-3+"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
|
|
|
|
2023-05-25 13:43:49 +02:00
|
|
|
RESTRICT="network-sandbox"
|
|
|
|
|
2023-05-24 16:46:16 +02:00
|
|
|
S="${WORKDIR}/paper-plane-0.1.0-beta.1"
|
|
|
|
#S="${WORKDIR}/${PN}-${PV}"
|
2023-05-24 16:34:54 +02:00
|
|
|
|
2023-05-24 17:15:28 +02:00
|
|
|
|
|
|
|
DEPEND="
|
2023-05-25 13:22:39 +02:00
|
|
|
>=gui-libs/libadwaita-1.4.0_alpha
|
2023-05-24 16:46:16 +02:00
|
|
|
>=gui-libs/gtk-4.10.0
|
|
|
|
media-libs/gst-plugins-good
|
|
|
|
media-plugins/gst-plugins-libav
|
2023-05-25 13:26:11 +02:00
|
|
|
>=net-libs/td-1.8.14
|
2023-05-25 13:38:17 +02:00
|
|
|
>=dev-util/blueprint-compiler-0.8.0
|
2023-05-25 16:06:49 +02:00
|
|
|
media-libs/rlottie
|
2023-05-24 16:34:54 +02:00
|
|
|
"
|
|
|
|
|
2023-05-24 17:15:28 +02:00
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND="${DEPEND}"
|
2023-05-25 14:28:51 +02:00
|
|
|
|
2023-05-24 16:34:54 +02:00
|
|
|
src_prepare() {
|
2023-05-25 14:08:13 +02:00
|
|
|
default
|
2023-05-24 17:15:28 +02:00
|
|
|
local emesonargs=(
|
2023-05-25 13:32:42 +02:00
|
|
|
"-Dtg_api_id=25355557"
|
|
|
|
"-Dtg_api_hash=5721a74e34aeb9d45c09a9ff51f14fdf"
|
2023-05-25 14:08:13 +02:00
|
|
|
)
|
2023-05-25 14:28:51 +02:00
|
|
|
}
|
2023-05-25 14:08:13 +02:00
|
|
|
|
2023-05-24 16:34:54 +02:00
|
|
|
pkg_postinst() {
|
|
|
|
gnome2_schemas_update
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
gnome2_schemas_update
|
|
|
|
}
|