From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 33DBA138350 for ; Fri, 14 Feb 2020 07:31:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A3F1E0831; Fri, 14 Feb 2020 07:31:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0EA10E0831 for ; Fri, 14 Feb 2020 07:31:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A51934EDCE for ; Fri, 14 Feb 2020 07:31:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 073AD132 for ; Fri, 14 Feb 2020 07:31:04 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1581665435.b874bcd2d812eca72729978b20a778b6d7e20738.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/telegram-desktop/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/telegram-desktop/telegram-desktop-1.9.13-r1.ebuild net-im/telegram-desktop/telegram-desktop-1.9.13.ebuild X-VCS-Directories: net-im/telegram-desktop/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: b874bcd2d812eca72729978b20a778b6d7e20738 X-VCS-Branch: master Date: Fri, 14 Feb 2020 07:31:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 71f9a0ef-e6ac-44f1-a84f-3ae7d1fa3cf9 X-Archives-Hash: 26a8d9d8c1544ba50954ef107d5020ba commit: b874bcd2d812eca72729978b20a778b6d7e20738 Author: Georgy Yakovlev gentoo org> AuthorDate: Fri Feb 14 07:22:19 2020 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Fri Feb 14 07:30:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b874bcd2 net-im/telegram-desktop: use snapcraft api creds Closes: https://bugs.gentoo.org/706386 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev gentoo.org> ...13.ebuild => telegram-desktop-1.9.13-r1.ebuild} | 27 +++++++++++----------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/net-im/telegram-desktop/telegram-desktop-1.9.13.ebuild b/net-im/telegram-desktop/telegram-desktop-1.9.13-r1.ebuild similarity index 79% rename from net-im/telegram-desktop/telegram-desktop-1.9.13.ebuild rename to net-im/telegram-desktop/telegram-desktop-1.9.13-r1.ebuild index fbc0c464b1d..620b15ce23a 100644 --- a/net-im/telegram-desktop/telegram-desktop-1.9.13.ebuild +++ b/net-im/telegram-desktop/telegram-desktop-1.9.13-r1.ebuild @@ -104,19 +104,20 @@ src_configure() { -DTDESKTOP_API_HASH="${MY_TDESKTOP_API_HASH}" ) else - mycmakeargs+=( -DTDESKTOP_API_TEST=ON ) - ewarn - ewarn "Building ${PN} with test API credentials." - ewarn "Connectivity to API servers will be throttled." - ewarn "To build ${PN} custom API credentials cancel build now and obtain" - ewarn "credentials here: https://github.com/telegramdesktop/tdesktop/blob/dev/docs/api_credentials.md" - ewarn "After getting credentials you can export variables:" - ewarn "export MY_TDESKTOP_API_ID=\"17349\"" - ewarn "export MY_TDESKTOP_API_HASH=\"344583e45741c457fe1862106095a5eb\"" - ewarn "and restart the build" - ewarn "you can save variables in /etc/portage/env/${CATEGORY}/${PN}" - ewarn "portage will use the file every build automatically" - ewarn + # https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml + # Building with snapcraft API credentials by default + # Custom API credentials can be obtained here: + # https://github.com/telegramdesktop/tdesktop/blob/dev/docs/api_credentials.md + # After getting credentials you can export variables: + # export MY_TDESKTOP_API_ID="17349"" + # export MY_TDESKTOP_API_HASH="344583e45741c457fe1862106095a5eb" + # and restart the build" + # you can set above variables (without export) in /etc/portage/env/net-im/telegram-desktop + # portage will use custom variable every build automatically + mycmakeargs+=( + -DTDESKTOP_API_ID="611335" + -DTDESKTOP_API_HASH="d524b414d21f4d37f08684c1df41ac9c" + ) fi cmake_src_configure