1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7,8} )
8 inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
10 DESCRIPTION="Gtk+ GUI for controlling cdemu-daemon"
11 HOMEPAGE="https://cdemu.sourceforge.io"
12 SRC_URI="https://download.sourceforge.net/cdemu/gcdemu/${P}.tar.bz2"
18 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
20 # librsvg for pixbuf-loader
21 RDEPEND="${PYTHON_DEPS}
22 app-cdr/cdemu-daemon:0/7
23 $(python_gen_cond_dep '
24 dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
27 x11-libs/gdk-pixbuf[introspection]
28 x11-libs/gtk+:3[introspection]
29 x11-libs/libnotify[introspection]"
31 dev-util/desktop-file-utils
32 >=dev-util/intltool-0.21
36 DOCS=( AUTHORS README )
39 cmake-utils_src_prepare
40 python_fix_shebang src/gcdemu
44 local mycmakeargs=( -DPOST_INSTALL_HOOKS=OFF )
45 cmake-utils_src_configure
49 xdg_desktop_database_update
54 xdg_desktop_database_update