summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2018-02-01 12:41:42 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2018-02-01 12:43:46 +0100
commit9fe68d51aa1b31ee4e1a95d6b009bbeede5e1a8a (patch)
tree86f76ab9d799feb42a2b5c63841ff39672587364
parentwww-apps/owncloud: drop old (diff)
downloadgentoo-9fe68d51aa1b31ee4e1a95d6b009bbeede5e1a8a.tar.gz
gentoo-9fe68d51aa1b31ee4e1a95d6b009bbeede5e1a8a.tar.bz2
gentoo-9fe68d51aa1b31ee4e1a95d6b009bbeede5e1a8a.zip
media-video/peek: 1.2.2 bump
Package-Manager: Portage-2.3.22, Repoman-2.3.6
-rw-r--r--media-video/peek/Manifest1
-rw-r--r--media-video/peek/peek-1.2.2.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/media-video/peek/Manifest b/media-video/peek/Manifest
index 5f7293d7987..c2f3e3b5981 100644
--- a/media-video/peek/Manifest
+++ b/media-video/peek/Manifest
@@ -1 +1,2 @@
DIST peek-1.2.1.tar.gz 2650099 BLAKE2B 4b53bc6cce94c585029d179937c680a3743fabc9722cc9474dd870f4be1d1d79c994420e528581c0006df81f6b6caaad285fc9f35c0addd1ae0072b40f461786 SHA512 fcb3b30bc7b434e9daafad243f82d2849d308fcd22371cdf790b60f765b78d6009ffb3c519f571718e26cf285d1cc6bc8fdd3f61dbb427f95fd08f1e3cc52a42
+DIST peek-1.2.2.tar.gz 2654168 BLAKE2B 2abce1609889d6cbdee493a94d768c2c201d523690d687cfa023eaa966b74716b9300ed246f443258f2901fdf341392c7428bf8d14891c3fdba9e803b680e06b SHA512 7c6fe42e41d4a3c10649b2052741a11a3c51170dbeaa834198c5b66867597c8525ecb8794694c2955f94a3e12f62c71068f2422e3a551ddfa4957595efbb6c03
diff --git a/media-video/peek/peek-1.2.2.ebuild b/media-video/peek/peek-1.2.2.ebuild
new file mode 100644
index 00000000000..8715e8e623a
--- /dev/null
+++ b/media-video/peek/peek-1.2.2.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
+}