summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2018-04-05 10:43:22 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2018-04-05 10:43:22 +0200
commit35e802f317dcbd3c0709f581b46479e638cf339f (patch)
tree2e84be82c1291c33f3f3185e9cc64b444ef5ed72 /media-video/peek
parentmedia-gfx/displaycal: 3.5.2.0 bump (diff)
downloadgentoo-35e802f317dcbd3c0709f581b46479e638cf339f.tar.gz
gentoo-35e802f317dcbd3c0709f581b46479e638cf339f.tar.bz2
gentoo-35e802f317dcbd3c0709f581b46479e638cf339f.zip
media-video/peek: 1.3.1 bump
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'media-video/peek')
-rw-r--r--media-video/peek/Manifest1
-rw-r--r--media-video/peek/peek-1.3.1.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/media-video/peek/Manifest b/media-video/peek/Manifest
index c2f3e3b59815..468b4f945ba7 100644
--- a/media-video/peek/Manifest
+++ b/media-video/peek/Manifest
@@ -1,2 +1,3 @@
DIST peek-1.2.1.tar.gz 2650099 BLAKE2B 4b53bc6cce94c585029d179937c680a3743fabc9722cc9474dd870f4be1d1d79c994420e528581c0006df81f6b6caaad285fc9f35c0addd1ae0072b40f461786 SHA512 fcb3b30bc7b434e9daafad243f82d2849d308fcd22371cdf790b60f765b78d6009ffb3c519f571718e26cf285d1cc6bc8fdd3f61dbb427f95fd08f1e3cc52a42
DIST peek-1.2.2.tar.gz 2654168 BLAKE2B 2abce1609889d6cbdee493a94d768c2c201d523690d687cfa023eaa966b74716b9300ed246f443258f2901fdf341392c7428bf8d14891c3fdba9e803b680e06b SHA512 7c6fe42e41d4a3c10649b2052741a11a3c51170dbeaa834198c5b66867597c8525ecb8794694c2955f94a3e12f62c71068f2422e3a551ddfa4957595efbb6c03
+DIST peek-1.3.1.tar.gz 2654939 BLAKE2B f5d2b6c9ca1194891ff6a61c73bcfc63a6e0bbf8a282c4309bbedbd40e29e42ad78d9c37c8a3621ceb6cb2ad85bbf2364702f1db028f6282dd4f93e15d22b34c SHA512 cdf4190c555b0a40051862038c04dc7c164bf8bccf47202d0fcb74f527a8a7d5605bc2e112847e262e51a5a95c3d2b3497e4ec56834880564e8e4127869ad9df
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
+}