commit: 319d4180edcf13b02e7689fad09abdb65c667b4e Author: colonia-duck <tomclarke2006 <AT> hotmail <DOT> com> AuthorDate: Sat Oct 19 17:59:26 2024 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Sat Oct 19 17:59:26 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=319d4180
net-im/WasIstLos: add 1.7.0 Signed-off-by: colonia-duck <tomclarke2006 <AT> hotmail.com> net-im/WasIstLos/WasIstLos-1.7.0.ebuild | 50 +++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/net-im/WasIstLos/WasIstLos-1.7.0.ebuild b/net-im/WasIstLos/WasIstLos-1.7.0.ebuild new file mode 100644 index 000000000..2a45f8171 --- /dev/null +++ b/net-im/WasIstLos/WasIstLos-1.7.0.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/xeco23/WasIstLos" +SRC_URI="https://github.com/xeco23/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +LANGUAGES="bn cs de es fr hu it ka nl pl pt_BR ru si tr uk" +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 +}
