Diff spnavcfg-0.3.1 with a spnavcfg-1.0
/usr/portage/x11-misc/spnavcfg/spnavcfg-1.0.ebuild 2023-10-09 14:52:35.948368513 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
inherit toolchain-funcs |
|
6 |
inherit toolchain-funcs qmake-utils |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="GTK-based GUI to configure a space navigator device" |
9 | 9 |
HOMEPAGE="http://spacenav.sourceforge.net/" |
... | ... | |
11 | 11 | |
12 | 12 |
LICENSE="GPL-3" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="amd64 x86" |
|
14 |
KEYWORDS="~amd64 ~x86" |
|
15 | 15 |
IUSE="" |
16 | 16 | |
17 |
COMMON_DEPEND="x11-libs/gtk+:2" |
|
17 |
COMMON_DEPEND=">=dev-libs/libspnav-1[X] |
|
18 |
dev-qt/qtcore |
|
19 |
dev-qt/qtgui |
|
20 |
dev-qt/qtwidgets |
|
21 |
x11-libs/libX11" |
|
18 | 22 |
DEPEND="${COMMON_DEPEND} |
19 | 23 |
virtual/pkgconfig" |
20 | 24 |
RDEPEND="${COMMON_DEPEND} |
21 |
app-misc/spacenavd[X]" |
|
25 |
>=app-misc/spacenavd-1[X]" |
|
22 | 26 | |
23 | 27 |
src_configure() { |
24 | 28 |
econf --disable-debug --disable-opt |
25 | 29 |
} |
26 | 30 | |
27 | 31 |
src_compile() { |
28 |
emake CC="$(tc-getCC)" |
|
32 |
local args=( |
|
33 |
CC="$(tc-getCC)" |
|
34 |
MOC="$(qt5_get_bindir)/moc" |
|
35 |
RCC="$(qt5_get_bindir)/rcc" |
|
36 |
UIC="$(qt5_get_bindir)/uic" |
|
37 |
) |
|
38 |
emake "${args[@]}" |
|
29 | 39 |
} |