forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.22, Repoman-2.3.6
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |