inherit autotools linux-info udev user
DESCRIPTION="Program for querying and changing monitor settings"
-HOMEPAGE="http://www.ddctool.com/"
+HOMEPAGE="http://www.ddcutil.com/"
-SRC_URI="https://github.com/rockowitz/ddctool/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
# Binary drivers need special instructions compared to the open source counterparts.
# If a user switches drivers, they will need to set different use flags for
KEYWORDS="~amd64 ~x86"
RDEPEND="x11-libs/libXrandr
+ x11-libs/libX11
+ dev-libs/glib
sys-apps/i2c-tools
virtual/udev
usb-monitor? (
src_install() {
default
if use user-permissions; then
- udev_dorules data/etc/udev/rules.d/45-ddctool-i2c.rules
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
if use usb-monitor; then
- udev_dorules data/etc/udev/rules.d/45-ddctool-usb.rules
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
fi
fi
}
einfo "users to the i2c group: usermod -aG i2c user"
einfo "Restart the computer or reload the i2c-dev module to activate"
einfo "the new udev rule."
- einfo "For more information read: http://www.ddctool.com/i2c_permissions/"
+ einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
if use usb-monitor; then
enewgroup video
einfo "to the video group: usermod -aG video user"
einfo "Restart the computer, reload the hiddev and hidraw modules, or replug"
einfo "the monitor to activate the new udev rule."
- einfo "For more information read: http://www.ddctool.com/usb/"
+ einfo "For more information read: http://www.ddcutil.com/usb/"
fi
udev_reload
if use video_cards_nvidia; then
einfo "=================================================================="
einfo "Please read the following webpage on proper usage with the nVidia "
- einfo "binary drivers, or it may not work: http://www.ddctool.com/nvidia/"
+ einfo "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
einfo "=================================================================="
fi
}
<name>Proxy Maintainers</name>
</maintainer>
<longdescription>
- ddctool primarily uses DDC/CI (Display Data Channel Command Interface)
+ ddcutil primarily uses DDC/CI (Display Data Channel Command Interface)
to communicate with monitors implementing MCCS (Monitor Control Command
Set) over I2C. Normally, the video driver for the monitor exposes the
I2C channel as devices named /dev/i2c-n. Alternatively, there is initial
Adds a udev rules to allow non-root users in the i2c group to
access the /dev/i2c-* devices. If usb-monitor is selected, users
will need to be added to the video group to access the USB monitor.
- Otherwise, only root will be able to use ddctool.
+ Otherwise, only root will be able to use ddcutil.
</flag>
<flag name="usb-monitor">
Adds support for monitors attached via USB.