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 F1568159C9B for ; Thu, 1 Aug 2024 21:53:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B8222BC0DB; Thu, 1 Aug 2024 21:53:07 +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 2EF532BC0DB for ; Thu, 1 Aug 2024 21:53:07 +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 455EF335D75 for ; Thu, 1 Aug 2024 21:53:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB6861E8D for ; Thu, 1 Aug 2024 21:53:04 +0000 (UTC) From: "Thomas Clarke" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Clarke" Message-ID: <1722549061.56d59d7b5609810ea8a9f700f4b6709ece299a0d.TomClarke2006@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/whatsapp-for-linux-1.6.5.ebuild X-VCS-Directories: net-im/whatsapp-for-linux/ X-VCS-Committer: TomClarke2006 X-VCS-Committer-Name: Thomas Clarke X-VCS-Revision: 56d59d7b5609810ea8a9f700f4b6709ece299a0d X-VCS-Branch: dev Date: Thu, 1 Aug 2024 21:53: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: b9ad8975-1dce-40f0-a4a1-de38bc40c825 X-Archives-Hash: 9d5ef52eecca43ddab94ccb78a03e58d commit: 56d59d7b5609810ea8a9f700f4b6709ece299a0d Author: Thomas Clarke hotmail com> AuthorDate: Thu Aug 1 21:46:34 2024 +0000 Commit: Thomas Clarke hotmail com> CommitDate: Thu Aug 1 21:51:01 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=56d59d7b net-im/whatsapp-for-linux: add 1.6.5 Signed-off-by: Thomas Clarke hotmail.com> .../whatsapp-for-linux-1.6.5.ebuild | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/net-im/whatsapp-for-linux/whatsapp-for-linux-1.6.5.ebuild b/net-im/whatsapp-for-linux/whatsapp-for-linux-1.6.5.ebuild new file mode 100644 index 000000000..bae2bfe7b --- /dev/null +++ b/net-im/whatsapp-for-linux/whatsapp-for-linux-1.6.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 2024 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" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +LANGUAGES="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.1 + ) + x11-libs/gtk+:3 +" +DEPEND="${RDEPEND}" + +BDEPEND="dev-util/intltool" + +#PATCHES=( +# "${FILESDIR}/${PN}-1.6.5-webkitgtk.patch" +#) + +src_prepare() { + cmake_src_prepare + for lang in ${LANGUAGES}; do + if ! use l10n_${lang}; then + rm -v "${S}/po/${lang,,}.po" || die "Failed to remove localization" + sed -i -e "/${lang,,}/d" "${S}/po/LINGUAS" || die + fi + done +}