Diff ddcutil-1.2.2 with a ddcutil-1.3.0

/usr/portage/app-misc/ddcutil/ddcutil-1.3.0.ebuild 2023-10-09 14:52:28.792368332 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
13 13

  
14 14
SLOT="0/4"
15 15
LICENSE="GPL-2"
16
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
17
IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
16
KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
17
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
18 18
REQUIRED_USE="drm? ( X )"
19 19

  
20 20
RDEPEND="
......
22 22
	sys-apps/i2c-tools
23 23
	virtual/udev
24 24
	drm? ( x11-libs/libdrm )
25
	introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
26 25
	usb-monitor? (
27 26
		dev-libs/hidapi
28 27
		virtual/libusb:1
......
39 38
"
40 39
DEPEND="${RDEPEND}"
41 40
BDEPEND="virtual/pkgconfig"
41
# doc? ( app-doc/doxygen[dot] )
42 42

  
43 43
PATCHES=(
44
	"${FILESDIR}"/${PN}-1.2.2-no-werror.patch
44
	"${FILESDIR}"/${P}-no-werror.patch
45 45
)
46 46

  
47 47
pkg_pretend() {
......
65 65

  
66 66
src_configure() {
67 67
	local myeconfargs=(
68
		# FAILS: doxyfile: No such file or directory
69
		# $(use_enable doc doxygen)
68 70
		$(use_enable drm)
71
		--enable-udev
69 72
		$(use_enable usb-monitor usb)
70
		$(use_enable X x11)
71 73
		--enable-lib
72
		$(use_enable introspection)
74
		$(use_enable X x11)
73 75
	)
74 76

  
75 77
	econf "${myeconfargs[@]}"
......
109 111
		ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
110 112
	fi
111 113
}
114

  
115
pkg_postrm() {
116
	if use user-permissions; then
117
		udev_reload
118
	fi
119
}
Thank you!