diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2018-01-19 14:26:14 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2018-01-19 14:26:25 +0100 |
commit | 70918f472c6763d4bcaf351dd22188a4329eb6b3 (patch) | |
tree | ded3f9dc5d7c972acd7a7f4e32e6638a4e57e834 /media-video | |
parent | dev-cpp/catch: Update live ebuild (diff) | |
download | gentoo-70918f472c6763d4bcaf351dd22188a4329eb6b3.tar.gz gentoo-70918f472c6763d4bcaf351dd22188a4329eb6b3.tar.bz2 gentoo-70918f472c6763d4bcaf351dd22188a4329eb6b3.zip |
media-video/peek: 1.2.1 bump
Now works without a compositor
Build test binaries with USE=test
Closes: https://bugs.gentoo.org/636896
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/peek/Manifest | 1 | ||||
-rw-r--r-- | media-video/peek/peek-1.2.1.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/media-video/peek/Manifest b/media-video/peek/Manifest index 0ebde3381336..270699f5252b 100644 --- a/media-video/peek/Manifest +++ b/media-video/peek/Manifest @@ -1,2 +1,3 @@ DIST peek-1.0.1.tar.gz 2602750 BLAKE2B 84ed887847ed915f2690ab4ef02a25f3eb5d773a0dca74879580449dc092389809e0cc348f6b41cf9ac4f6ee05cec7102040977ed057642933cccadfe3c30a2a SHA512 c021e6e686de25afdd2e66bea9f2d50c08909847bf2e4d8dfbda8e18975febb2ed247a86d46c7f2a954768f8683cfc218be75ad8f495cd729e787e16f09b2dfe DIST peek-1.0.3.tar.gz 2620773 BLAKE2B 51615a9bf2f291786bbba8312453b3dbbbdd5c3848e04d55611f078bbcd52582e0f3b494667d3d7efbe41bb6dfc855e253f34cccc8a0bb6d3de9534200e733d7 SHA512 92e7d61fdd32b4525991a45a0781c304160dbbdaf518ffbc6389d3df2829593a830e8b1cf499b10c02ab1809984c945770c3394221dc31b29041da45ca291ab7 +DIST peek-1.2.1.tar.gz 2650099 BLAKE2B 4b53bc6cce94c585029d179937c680a3743fabc9722cc9474dd870f4be1d1d79c994420e528581c0006df81f6b6caaad285fc9f35c0addd1ae0072b40f461786 SHA512 fcb3b30bc7b434e9daafad243f82d2849d308fcd22371cdf790b60f765b78d6009ffb3c519f571718e26cf285d1cc6bc8fdd3f61dbb427f95fd08f1e3cc52a42 diff --git a/media-video/peek/peek-1.2.1.ebuild b/media-video/peek/peek-1.2.1.ebuild new file mode 100644 index 000000000000..e3e68abf8bf9 --- /dev/null +++ b/media-video/peek/peek-1.2.1.ebuild @@ -0,0 +1,50 @@ +# 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="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" +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 + -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 +} |