summaryrefslogtreecommitdiff
path: root/app-portage/appswipe/appswipe-1.2.0.ebuild
blob: 9073463a16f8400e87d820bc6e41e010077ca578 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop qmake-utils xdg

DESCRIPTION="Application for browsing your local Portage repository files"
HOMEPAGE="https://github.com/k9spud/appswipe"
SRC_URI="https://github.com/k9spud/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	dev-qt/qtbase:6[gui,sql,sqlite,widgets]
	dev-qt/qtsvg:6
"

RDEPEND="
	app-portage/gentoolkit
	app-portage/portage-utils
	dev-libs/glib
	lxde-base/lxterminal
	sys-apps/portage
	${DEPEND}
"

src_configure() {
	eqmake6 AppSwipe.pro

	cd backend || die
	eqmake6 appswipebackend.pro

	cd ../transport || die
	eqmake6 appswipetransport.pro
}

src_compile() {
	emake -C ./
	emake -C backend/
	emake -C transport/
}

src_install() {
	newbin AppSwipe appswipe
	dobin backend/appswipebackend
	dobin transport/appswipetransport
	newicon -s scalable img/appicon.svg ${PN}.svg
	domenu ${PN}.desktop
}