summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/qx11grab/qx11grab-0.4.7.ebuild')
-rw-r--r--media-video/qx11grab/qx11grab-0.4.7.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/media-video/qx11grab/qx11grab-0.4.7.ebuild b/media-video/qx11grab/qx11grab-0.4.7.ebuild
new file mode 100644
index 000000000000..5941a18d54df
--- /dev/null
+++ b/media-video/qx11grab/qx11grab-0.4.7.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/qx11grab/qx11grab-0.4.7.ebuild,v 1.1 2013/02/16 20:47:13 hwoarang Exp $
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="X11 desktop video grabber tray"
+HOMEPAGE="http://qx11grab.hjcms.de/"
+SRC_URI="http://qx11grab.hjcms.de/downloads/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="kde opengl pulseaudio"
+
+RDEPEND="
+ >=media-libs/alsa-lib-1.0.24
+ >=media-libs/fontconfig-2.4
+ >=media-libs/freetype-2.4:2
+ >=sys-apps/dbus-1.4.16
+ >=x11-libs/libX11-1.3.4
+ >=x11-libs/libXrandr-1.3
+ >=x11-libs/qt-core-4.7.2:4
+ >=x11-libs/qt-dbus-4.7.2:4
+ >=x11-libs/qt-gui-4.7.2:4[dbus]
+ >=virtual/ffmpeg-0.10.3[X,encode,truetype]
+ kde? ( kde-base/kdelibs:4 )
+ opengl? ( >=x11-libs/qt-opengl-4.7.2:4 )
+ pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ kde? ( dev-util/automoc )
+"
+PDEPEND="virtual/freedesktop-icon-theme"
+
+src_prepare() {
+ base_src_prepare
+
+ # install docs into standard Gentoo location
+ sed -i -e "/DESTINATION share/ s:\${CMAKE_PROJECT_NAME}:doc/${PF}:" \
+ CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_enable kde KDE_SUPPORT)
+ $(cmake-utils_use_enable opengl)
+ $(cmake-utils_use_enable pulseaudio PULSE)
+ )
+ cmake-utils_src_configure
+}