summaryrefslogtreecommitdiff
path: root/media-video/peek
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-02-03 08:30:30 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-02-03 08:30:30 +0000
commiteaab68ba6a05bc57d98ca12032440835ef905326 (patch)
tree722637b4f6d0087c5b321ceb515a98913bee7559 /media-video/peek
parent4650985dd0e898b82e0d2ec225931297d4fadccf (diff)
gentoo resync : 03.02.2018
Diffstat (limited to 'media-video/peek')
-rw-r--r--media-video/peek/Manifest6
-rw-r--r--media-video/peek/peek-1.0.1.ebuild40
-rw-r--r--media-video/peek/peek-1.2.2.ebuild (renamed from media-video/peek/peek-1.0.3.ebuild)20
3 files changed, 17 insertions, 49 deletions
diff --git a/media-video/peek/Manifest b/media-video/peek/Manifest
index e244ea774acf..fb2bab1a652d 100644
--- a/media-video/peek/Manifest
+++ b/media-video/peek/Manifest
@@ -1,7 +1,5 @@
-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
-EBUILD peek-1.0.1.ebuild 810 BLAKE2B d98fb6cdce6a1f050e6d49daff649c88893d310d9dd09d12c28b4f186b9026a488a2383289170decbc934ba46a206fee4e72feda6a541390dc2219239151cf08 SHA512 099234d0943401d7d55b3a01a055f7b7e0a6c588effdb480c1d3df06ffeab53bd860c78eb515005e6f72cc4107cae6b085df5565118501d612c4053450e7cd3d
-EBUILD peek-1.0.3.ebuild 828 BLAKE2B c94c8dc01b9250edd8881993469aaa2fa135ae1b710ec2fb415375f20fa242b33d5fc83ce8c62ef10327b196e73d49f5310481698b48e41660a198cbca7f3d21 SHA512 427c2aa225f5f4e746269991c40631e60bfc5236129b8e9b91c66a2c1ae29eb3b6ec96f99ae79ac23440e3cc18212f10dcedfbee5df9a12fc4dcaaa210521009
+DIST peek-1.2.2.tar.gz 2654168 BLAKE2B 2abce1609889d6cbdee493a94d768c2c201d523690d687cfa023eaa966b74716b9300ed246f443258f2901fdf341392c7428bf8d14891c3fdba9e803b680e06b SHA512 7c6fe42e41d4a3c10649b2052741a11a3c51170dbeaa834198c5b66867597c8525ecb8794694c2955f94a3e12f62c71068f2422e3a551ddfa4957595efbb6c03
EBUILD peek-1.2.1.ebuild 1035 BLAKE2B c54cf88f3557196bb414b84818325c518aa330ccd5592f85897c4385933a07917c56391cb329b742024fb82d04afed2c9b98682b680afa1129c07a7d45648219 SHA512 dd916c9ec2668cae67187da7917b6a2d390933fe2c1deb7b8f8280fa4b4deb70bed5f96bc245cdcbde09cef598e3cc570174244d3d0f34545b4496506ed146ef
+EBUILD peek-1.2.2.ebuild 1035 BLAKE2B c54cf88f3557196bb414b84818325c518aa330ccd5592f85897c4385933a07917c56391cb329b742024fb82d04afed2c9b98682b680afa1129c07a7d45648219 SHA512 dd916c9ec2668cae67187da7917b6a2d390933fe2c1deb7b8f8280fa4b4deb70bed5f96bc245cdcbde09cef598e3cc570174244d3d0f34545b4496506ed146ef
MISC metadata.xml 442 BLAKE2B 0737081df17bd9a248ff54ed5f788f5488c5506cb23de18dd57ade4e87f328a96fc249371cf2e78b8399528b3a3759440ceade1f16d0d1bd11a62263e12b4854 SHA512 c94b68c460e7d302d1761ba0d7adb23530c862e1a64b48f0688b68678a353cc7ae54433e6517c564e457c5ee5dac3ca6325ef967d11c66ae998da2348854296a
diff --git a/media-video/peek/peek-1.0.1.ebuild b/media-video/peek/peek-1.0.1.ebuild
deleted file mode 100644
index 94e00bcb32f0..000000000000
--- a/media-video/peek/peek-1.0.1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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
-}
diff --git a/media-video/peek/peek-1.0.3.ebuild b/media-video/peek/peek-1.2.2.ebuild
index 1e4e2893c204..8715e8e623aa 100644
--- a/media-video/peek/peek-1.0.3.ebuild
+++ b/media-video/peek/peek-1.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -8,18 +8,18 @@ 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"
+SRC_URI="https://github.com/phw/peek/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="keybinder 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"
+ >=x11-libs/gtk+-3.14:3
+ keybinder? ( dev-libs/keybinder:3 )"
DEPEND="${RDEPEND}
$(vala_depend)
app-text/txt2man
@@ -34,8 +34,18 @@ 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
+}