Diff qdmr-0.10.4 with a qdmr-0.11.1
/usr/portage/net-wireless/qdmr/qdmr-0.11.1.ebuild 2023-10-09 14:52:34.784368484 +0300 | ||
---|---|---|
1 |
# Copyright 2021-2022 Gentoo Authors |
|
1 |
# Copyright 2021-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
... | ... | |
16 | 16 |
S="${WORKDIR}/${PN}-${MY_PV}" |
17 | 17 |
KEYWORDS="~amd64 ~x86" |
18 | 18 |
fi |
19 |
IUSE="test" |
|
20 |
RESTRICT="!test? ( test )" |
|
19 | 21 | |
20 | 22 |
LICENSE="GPL-3+" |
21 | 23 |
SLOT="0" |
22 | 24 | |
23 | 25 |
RDEPEND=" |
24 | 26 |
dev-cpp/yaml-cpp:= |
25 |
dev-qt/designer:5 |
|
26 |
dev-qt/qttest:5 |
|
27 | 27 |
dev-qt/qtwidgets:5 |
28 | 28 |
dev-qt/qtgui:5 |
29 | 29 |
dev-qt/qtcore:5 |
... | ... | |
32 | 32 |
dev-qt/qtserialport:5 |
33 | 33 |
virtual/libusb:1 |
34 | 34 |
" |
35 |
DEPEND="${RDEPEND}" |
|
35 |
DEPEND="${RDEPEND} |
|
36 |
dev-qt/designer:5 |
|
37 |
test? ( dev-qt/qttest:5 ) |
|
38 |
" |
|
36 | 39 |
BDEPEND="dev-qt/linguist-tools:5" |
37 | 40 | |
38 | 41 |
pkg_setup() { |
... | ... | |
44 | 47 |
} |
45 | 48 | |
46 | 49 |
src_prepare() { |
47 |
#no devil perms |
|
48 |
sed -i 's#666#660#' dist/99-qdmr.rules |
|
49 | 50 |
sed -i "s#/etc/udev/rules.d/#$(get_udevdir)/rules.d#" lib/CMakeLists.txt |
50 | 51 |
cmake_src_prepare |
51 | 52 |
} |
52 | 53 | |
54 |
src_configure() { |
|
55 |
local mycmakeargs=( |
|
56 |
-DBUILD_TESTS="$(usex test)" |
|
57 |
) |
|
58 |
cmake_src_configure |
|
59 |
} |
|
60 | ||
53 | 61 |
pkg_postinst() { |
54 | 62 |
udev_reload |
55 | 63 |
} |