You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="6"
|
|
|
|
inherit cmake-utils
|
|
|
|
DESCRIPTION="Daemon of the CDEmu optical media image mounting suite"
|
|
HOMEPAGE="http://cdemu.org"
|
|
SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0/7" # subslot = CDEMU_DAEMON_INTERFACE_VERSION_MAJOR in CMakeLists.txt
|
|
KEYWORDS="amd64 ~hppa x86"
|
|
IUSE=""
|
|
|
|
RDEPEND=">=dev-libs/glib-2.32:2
|
|
>=dev-libs/libmirage-${PV}:=
|
|
>=media-libs/libao-0.8.0:=
|
|
sys-apps/dbus
|
|
>=sys-fs/vhba-20130607"
|
|
DEPEND="${RDEPEND}
|
|
dev-util/intltool
|
|
sys-devel/gettext
|
|
virtual/pkgconfig"
|
|
|
|
DOCS=( AUTHORS README )
|
|
|
|
pkg_postinst() {
|
|
elog "You will need to load the vhba module to use cdemu devices:"
|
|
elog " # modprobe vhba"
|
|
elog "To automatically load the vhba module at boot time, edit your"
|
|
elog "/etc/conf.d/modules file."
|
|
|
|
if [[ -e "${ROOT}etc/conf.d/cdemud" ]]; then
|
|
elog
|
|
elog "${PN} no longer installs an init.d service; instead, it is"
|
|
elog "automatically activated when needed via dbus."
|
|
elog "You can therefore remove ${ROOT%/}/etc/conf.d/cdemud"
|
|
fi
|
|
}
|