mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
net-im/WasIstLos: add 1.7.0
Signed-off-by: colonia-duck <tomclarke2006@hotmail.com>
This commit is contained in:
50
net-im/WasIstLos/WasIstLos-1.7.0.ebuild
Normal file
50
net-im/WasIstLos/WasIstLos-1.7.0.ebuild
Normal file
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user