You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-video/peek/peek-1.0.0.ebuild

41 lines
810 B

# Copyright 1999-2017 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/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
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)
>=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
}