diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2018-01-19 14:41:58 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2018-01-19 14:41:58 +0100 |
commit | 6ecef3ae4cad603a59d4d80c754a44abac8a4f10 (patch) | |
tree | ca0078695a3612ddb7450f96ec94dea9b80893f6 /media-video | |
parent | media-video/peek: 1.2.1 bump (diff) | |
download | gentoo-6ecef3ae4cad603a59d4d80c754a44abac8a4f10.tar.gz gentoo-6ecef3ae4cad603a59d4d80c754a44abac8a4f10.tar.bz2 gentoo-6ecef3ae4cad603a59d4d80c754a44abac8a4f10.zip |
media-video/peek: keybinder is now an optional dep
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/peek/metadata.xml | 3 | ||||
-rw-r--r-- | media-video/peek/peek-1.2.1.ebuild | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/media-video/peek/metadata.xml b/media-video/peek/metadata.xml index f7b4c866d5c9..d500d3059a28 100644 --- a/media-video/peek/metadata.xml +++ b/media-video/peek/metadata.xml @@ -5,6 +5,9 @@ <email>voyageur@gentoo.org</email> <name>Bernard Cafarelli</name> </maintainer> + <use> + <flag name="keybinder">Enable support for global hotkeys using <pkg>dev-libs/keybinder</pkg></flag> + </use> <upstream> <remote-id type="github">phw/peek</remote-id> </upstream> diff --git a/media-video/peek/peek-1.2.1.ebuild b/media-video/peek/peek-1.2.1.ebuild index e3e68abf8bf9..8715e8e623aa 100644 --- a/media-video/peek/peek-1.2.1.ebuild +++ b/media-video/peek/peek-1.2.1.ebuild @@ -13,13 +13,13 @@ SRC_URI="https://github.com/phw/peek/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" +IUSE="keybinder test" RDEPEND=">=dev-libs/glib-2.38:2 - dev-libs/keybinder:3 media-video/ffmpeg[X,encode] virtual/imagemagick-tools - >=x11-libs/gtk+-3.14:3" + >=x11-libs/gtk+-3.14:3 + keybinder? ( dev-libs/keybinder:3 )" DEPEND="${RDEPEND} $(vala_depend) app-text/txt2man @@ -34,6 +34,7 @@ src_prepare() { src_configure() { local mycmakeargs=( -DGSETTINGS_COMPILE=OFF + -DKEYBINDER_FOUND=$(usex keybinder 1 0) -DVALA_EXECUTABLE="${VALAC}" ) |