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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0C8DA15800F for ; Fri, 3 Feb 2023 20:48:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DF39E07C5; Fri, 3 Feb 2023 20:48:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 30F25E07C5 for ; Fri, 3 Feb 2023 20:48:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 19787340D33 for ; Fri, 3 Feb 2023 20:48:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 86C6D7D0 for ; Fri, 3 Feb 2023 20:48:37 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1675457310.d40bb10152be4f0df14eb9c09c783e48946f063a.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-im/whatsapp-for-linux/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-im/whatsapp-for-linux/Manifest net-im/whatsapp-for-linux/whatsapp-for-linux-1.5.3.ebuild X-VCS-Directories: net-im/whatsapp-for-linux/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: d40bb10152be4f0df14eb9c09c783e48946f063a X-VCS-Branch: dev Date: Fri, 3 Feb 2023 20:48:37 +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: 968ea818-5ded-415a-8baa-c978307bb98b X-Archives-Hash: 7a723e62a2b41b808514126cc0f62eaa Message-ID: <20230203204837.qYHU9sDFBwLRA-PX1jSwEkiR0rXuEy4MRql_cFEaODw@z> commit: d40bb10152be4f0df14eb9c09c783e48946f063a Author: Andrew Ammerlaan gentoo org> AuthorDate: Fri Feb 3 20:48:17 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri Feb 3 20:48:30 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d40bb101 net-im/whatsapp-for-linux: add 1.5.3 Signed-off-by: Andrew Ammerlaan gentoo.org> net-im/whatsapp-for-linux/Manifest | 1 + .../whatsapp-for-linux-1.5.3.ebuild | 47 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/net-im/whatsapp-for-linux/Manifest b/net-im/whatsapp-for-linux/Manifest index 891797aef..df583d955 100644 --- a/net-im/whatsapp-for-linux/Manifest +++ b/net-im/whatsapp-for-linux/Manifest @@ -1 +1,2 @@ DIST whatsapp-for-linux-1.3.2.tar.gz 314151 BLAKE2B cbe5b6cae469a8d0e40634ce16e5af509cb10ae2f2f07f953044be0c85137a6f8116d64b431f69b1dd45fdeddf34be8b710ff37ad8fb296e4823f9859d6a7be6 SHA512 e8d08261aa68b72c54d41a5c0a2404bfe4bc2566837e53f5b1ceb31273e8eee5d0c7afaf89984e9551c9ee56158d9210eafcb93659d3d591cf2ef361b1057090 +DIST whatsapp-for-linux-1.5.3.tar.gz 352927 BLAKE2B 0af7dde3840b2d42c92256e0edd3fcfc461e3dc818d2330088c603bbcf99cd095e81b78068d579b21fcc1a458eebe325c492f6d036136b96812205f94a6f2cad SHA512 7ef6b0135668b90f256a07c4d273d2732e79213be81bb6b0ee819107211e603a8d0b7fc7aaca6e7746de650f831955f4f560891f1bc2d5acdb0210bad79d91e9 diff --git a/net-im/whatsapp-for-linux/whatsapp-for-linux-1.5.3.ebuild b/net-im/whatsapp-for-linux/whatsapp-for-linux-1.5.3.ebuild new file mode 100644 index 000000000..bf1e3a51b --- /dev/null +++ b/net-im/whatsapp-for-linux/whatsapp-for-linux-1.5.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="An unofficial WhatsApp desktop application for Linux" +HOMEPAGE="https://github.com/eneshecan/whatsapp-for-linux" +SRC_URI="https://github.com/eneshecan/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" +LICENSE="GPL-3" +SLOT="0" + +LANGUAGES="en es it ka nl pt-BR ru tr" +for lang in ${LANGUAGES}; do + IUSE+=" +l10n_${lang}" +done + +RDEPEND=" + dev-cpp/atkmm + dev-cpp/glibmm:2 + dev-cpp/gtkmm:3.0 + dev-libs/glib + dev-libs/libayatana-appindicator + dev-libs/libsigc++:2 + media-libs/libcanberra + || ( + net-libs/webkit-gtk:4 + net-libs/webkit-gtk:4.1 + ) + x11-libs/gtk+:3 +" +DEPEND="${RDEPEND}" + +BDEPEND="dev-util/intltool" + +src_prepare() { + cmake_src_prepare + for lang in ${LANGUAGES}; do + if ! use l10n_${lang}; then + rm "${S}/po/${lang,,}.po" || die "Failed to remove localization" + sed -i -e "/${lang,,}/d" "${S}/po/LINGUAS" || die + fi + done +}