diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-05 21:52:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-05 21:52:00 +0100 |
commit | 2d446203bcf1a0db08e99abca43513d246dfa73d (patch) | |
tree | ec623bb5f1f389976977e375342ec59ff441eab7 /media-video/peek/peek-1.3.1.ebuild | |
parent | 171a011ad3a131671aeb5a98b9e3adf219ad2865 (diff) |
gentoo resync : 05.04.2018
Diffstat (limited to 'media-video/peek/peek-1.3.1.ebuild')
-rw-r--r-- | media-video/peek/peek-1.3.1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/media-video/peek/peek-1.3.1.ebuild b/media-video/peek/peek-1.3.1.ebuild new file mode 100644 index 000000000000..8715e8e623aa --- /dev/null +++ b/media-video/peek/peek-1.3.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_MIN_API_VERSION="0.22" + +inherit gnome2 vala cmake-utils + +DESCRIPTION="Simple animated Gif screen recorder" +HOMEPAGE="https://github.com/phw/peek" +SRC_URI="https://github.com/phw/peek/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="keybinder test" + +RDEPEND=">=dev-libs/glib-2.38:2 + media-video/ffmpeg[X,encode] + virtual/imagemagick-tools + >=x11-libs/gtk+-3.14:3 + keybinder? ( dev-libs/keybinder:3 )" +DEPEND="${RDEPEND} + $(vala_depend) + app-text/txt2man + >=sys-devel/gettext-0.19" + +src_prepare() { + cmake-utils_src_prepare + gnome2_src_prepare + vala_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DGSETTINGS_COMPILE=OFF + -DKEYBINDER_FOUND=$(usex keybinder 1 0) + -DVALA_EXECUTABLE="${VALAC}" + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + # Compile helper programs for tests + if use test; then + cmake-utils_src_make -C tests + fi +} |