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 2E25E1581C1 for ; Fri, 12 Jul 2024 14:24:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36671E2BBA; Fri, 12 Jul 2024 14:24:10 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0DACDE2BBA for ; Fri, 12 Jul 2024 14:24:10 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F396033BF28 for ; Fri, 12 Jul 2024 14:24:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 392C41BD7 for ; Fri, 12 Jul 2024 14:24:07 +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: <1720794130.643e4ea972aa758c2e9ebef0102a8b8154f78be8.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/Manifest net-im/whatsapp-for-linux/metadata.xml net-im/whatsapp-for-linux/whatsapp-for-linux-1.6.4.ebuild X-VCS-Directories: net-im/whatsapp-for-linux/ X-VCS-Committer: TomClarke2006 X-VCS-Committer-Name: Thomas Clarke X-VCS-Revision: 643e4ea972aa758c2e9ebef0102a8b8154f78be8 X-VCS-Branch: dev Date: Fri, 12 Jul 2024 14:24:07 +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: 205289d3-fbca-45e7-b530-90483e7d407b X-Archives-Hash: 2d7c47569f6b023fc2714d2af0e97fab commit: 643e4ea972aa758c2e9ebef0102a8b8154f78be8 Author: Thomas Clarke hotmail com> AuthorDate: Fri Jul 12 14:22:10 2024 +0000 Commit: Thomas Clarke hotmail com> CommitDate: Fri Jul 12 14:22:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=643e4ea9 net-im/whatsapp-for-linux: add 1.6.4 Signed-off-by: Thomas Clarke hotmail.com> net-im/whatsapp-for-linux/Manifest | 1 + net-im/whatsapp-for-linux/metadata.xml | 5 ++- .../whatsapp-for-linux-1.6.4.ebuild | 47 ++++++++++++++++++++++ 3 files changed, 52 insertions(+), 1 deletion(-) diff --git a/net-im/whatsapp-for-linux/Manifest b/net-im/whatsapp-for-linux/Manifest index 190ec29b4..024a5d527 100644 --- a/net-im/whatsapp-for-linux/Manifest +++ b/net-im/whatsapp-for-linux/Manifest @@ -1,2 +1,3 @@ DIST whatsapp-for-linux-1.5.3.tar.gz 352927 BLAKE2B 0af7dde3840b2d42c92256e0edd3fcfc461e3dc818d2330088c603bbcf99cd095e81b78068d579b21fcc1a458eebe325c492f6d036136b96812205f94a6f2cad SHA512 7ef6b0135668b90f256a07c4d273d2732e79213be81bb6b0ee819107211e603a8d0b7fc7aaca6e7746de650f831955f4f560891f1bc2d5acdb0210bad79d91e9 DIST whatsapp-for-linux-1.6.2.tar.gz 354926 BLAKE2B c70c1ae9b6c8f74f801a52c4b95d0548c14368e874148cde8a028e3e55fc824fe17b527fd724b05bd5302abb762cad241a0d4321b5527bd3d6d35e544572fe32 SHA512 3ff54d202975a91177f5803312f09a71c23c39447063efa8c5e8e10eeea69f83e8e5397edeb7be1bcba5433ed0733b69728bfeeb5eaccbe7d605be362952d056 +DIST whatsapp-for-linux-1.6.4.tar.gz 361480 BLAKE2B a7daab0336c82eabb8c1dc3bf01888873dbea4389343af852f0f9dc0e7d8e1d0fc0f742464d8135a68a29e51a83b265e0bb334ac9bac26414c88c98ee85cca5a SHA512 d9da95684efbe6239d6a476808220a38c3df3a3096496342348934f745b0f6f53a7d723e27ce52ec746518e6f76880dcd52e433aee78ff566cd8fac6083ef395 diff --git a/net-im/whatsapp-for-linux/metadata.xml b/net-im/whatsapp-for-linux/metadata.xml index ebc937115..6ec15165d 100644 --- a/net-im/whatsapp-for-linux/metadata.xml +++ b/net-im/whatsapp-for-linux/metadata.xml @@ -1,7 +1,10 @@ - + + tomclarke2006@hotmail.com + Thomas Clarke + eneshecan/whatsapp-for-linux https://github.com/eneshecan/whatsapp-for-linux/issues diff --git a/net-im/whatsapp-for-linux/whatsapp-for-linux-1.6.4.ebuild b/net-im/whatsapp-for-linux/whatsapp-for-linux-1.6.4.ebuild new file mode 100644 index 000000000..fc2258fca --- /dev/null +++ b/net-im/whatsapp-for-linux/whatsapp-for-linux-1.6.4.ebuild @@ -0,0 +1,47 @@ +# 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="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 +}