summaryrefslogtreecommitdiff
path: root/kde-apps/latte-dock/latte-dock-0.6.0.ebuild
blob: 4d6fe94abb7f3dba76507ee9f46693ea0a14229f (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit kde5

MY_PN=Latte-Dock
DESCRIPTION="A dock based on plasma frameworks"
HOMEPAGE="https://psifidotos.blogspot.co.uk/2017/04/latte-dock-v06-fresh-air.html"

SRC_URI="https://github.com/psifidotos/${MY_PN}/archive/v${PV}.tar.gz"

LICENSE="GPL"
KEYWORDS="amd64 x86"
IUSE="+X"

S=${WORKDIR}/${MY_PN}-${PV}

DEPEND="
	$(add_frameworks_dep kactivities)
	$(add_frameworks_dep kcoreaddons)
	$(add_frameworks_dep kdbusaddons)
	$(add_frameworks_dep kdeclarative)
	$(add_frameworks_dep kwayland)
	$(add_frameworks_dep kpackage)
	$(add_frameworks_dep kxmlgui)
	$(add_frameworks_dep kiconthemes)
	$(add_frameworks_dep ki18n)
	$(add_frameworks_dep knotifications)
	$(add_frameworks_dep karchive)
	$(add_frameworks_dep plasma)
	$(add_qt_dep qtdbus)
	$(add_qt_dep qtgui)
	X? (
			$(add_frameworks_dep kwindowsystem)
			$(add_qt_dep qtx11extras)
			x11-libs/libxcb
	)
"
RDEPEND="${DEPEND}
"

src_configure() {
	export BUILD_DIR=${S}/build
	local mycmakeargs=(
		-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo
	)

	kde5_src_configure
}