summaryrefslogtreecommitdiff
blob: 8919b85b6d47939cac7ba09fcd6b26b93d7788f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit qmake-utils xdg

DESCRIPTION="Qt Based WhatsApp Client"
HOMEPAGE="https://github.com/keshavbhatt/whatsie"
SRC_URI="https://github.com/keshavbhatt/whatsie/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P}/src"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

QT_MIN="5.15"

DEPEND="
	x11-libs/libX11
	x11-libs/libxcb:=
	>=dev-qt/qtcore-${QT_MIN}:5
	>=dev-qt/qtgui-${QT_MIN}:5
	>=dev-qt/qtnetwork-${QT_MIN}:5
	>=dev-qt/qtpositioning-${QT_MIN}:5
	>=dev-qt/qtwebengine-${QT_MIN}:5[widgets]
	>=dev-qt/qtwidgets-${QT_MIN}:5
"

RDEPEND="${DEPEND}"

src_configure() {
	eqmake5
}

src_install() {
	einstalldocs
	INSTALL_ROOT="${ED}" emake install
}