mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 16:13:21 -04:00
net-im/whatsapp-for-linux: add 1.5.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
47
net-im/whatsapp-for-linux/whatsapp-for-linux-1.5.3.ebuild
Normal file
47
net-im/whatsapp-for-linux/whatsapp-for-linux-1.5.3.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user