Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

FL-677: kazam-1.4.3 ebuild

  • Loading branch information...
commit e695b97bc9a593cf6a93e651ae0297e9973e6b98 1 parent c23c04c
Oleg authored August 19, 2013
1  media-video/kazam/Manifest
... ...
@@ -1 +1,2 @@
1 1
 DIST kazam-1.0.7.tar.gz 959725 SHA256 f25aff4d706f38720659b8dc75fa6192b028f862484726358aef82ba532af80a SHA512 e53b7f5ba8b1162c09601df2fea76696082df20b813eff9269f5c272ca372b94a82d3f8a0f88b8518ccf264bd778d31eaf435ff9bc95bcc000e2c0dc3cda03bf WHIRLPOOL 0f81fc1cbcd0eb8b42a5827184c7556fa676cb13431c9e46647276406f837ece1860d4c180b5d322f5e7ac78869c09d2a17fd166b2d2508f228f768028e99387
  2
+DIST kazam-1.4.3.tar.gz 1590137 SHA256 48b108b295d7b9500694f7ff12a4bef2494de3e5a375e3f4413bf7243db06c01 SHA512 3fcdf500b0ccb903cbd1798f1e024af3c7a7ac73e3ec2037fb34290bd3dabb7488b8fc9cb899e3053eb5327028d3fd727073d2a46223d790767505fd09150fe8 WHIRLPOOL c6d85ff6be799965d13be5391e48df5c2b020eada535941ed726b111ecffef5f4a518832e39cd4b00545b13d3989fa69d8ed0f5d617636947056b0164c50ceea
75  media-video/kazam/kazam-1.4.3.ebuild
... ...
@@ -0,0 +1,75 @@
  1
+# Distributed under the terms of the GNU General Public License v2
  2
+
  3
+EAPI="5-progress"
  4
+PYTHON_MULTIPLE_ABIS="1"
  5
+PYTHON_RESTRICTED_ABIS="2.* *-jython *-pypy-*"
  6
+
  7
+inherit gnome2 distutils
  8
+
  9
+DESCRIPTION="A screencasting program created with design in mind"
  10
+HOMEPAGE="https://launchpad.net/kazam"
  11
+SRC_URI="http://launchpad.net/${PN}/stable/${PV}/+download/${P}.tar.gz"
  12
+
  13
+LICENSE="GPL-3 LGPL-3"
  14
+SLOT="0"
  15
+KEYWORDS="~*"
  16
+IUSE="pulseaudio"
  17
+
  18
+DEPEND="$(python_abi_depend dev-python/python-distutils-extra)"
  19
+RDEPEND="x11-libs/gtk+:3[introspection]
  20
+	$(python_abi_depend dev-python/pycairo dev-python/pyxdg dev-python/pygobject:3 dev-python/dbus-python) 
  21
+	media-libs/gstreamer[introspection]
  22
+	media-libs/gst-plugins-good:0.10
  23
+	media-plugins/gst-plugins-x264:0.10
  24
+	media-plugins/gst-plugins-ximagesrc:0.10
  25
+	pulseaudio? ( media-sound/pulseaudio )
  26
+	=virtual/ffmpeg-0.10.3"
  27
+
  28
+src_unpack() {
  29
+	unpack ${A}
  30
+	mv "${WORKDIR}/${P}-0ubuntu1/" "${S}"
  31
+}	
  32
+pkg_setup() {
  33
+	python_pkg_setup
  34
+}
  35
+
  36
+src_prepare() {
  37
+	# correct name of .desktop file
  38
+	sed -i -e 's/avidemux-gtk/avidemux2-gtk/' ${PN}/frontend/combobox.py \
  39
+		|| die
  40
+	# fix a warning: value "GNOME" requires GTK to be present
  41
+	sed -i -e 's/GNOME;/GNOME;GTK;/' data/kazam.desktop.in || die
  42
+	distutils_src_prepare
  43
+}
  44
+
  45
+src_configure() {
  46
+	einfo "Nothing to configure."
  47
+}
  48
+
  49
+pkg_preinst() {
  50
+	gnome2_icon_savelist
  51
+}
  52
+
  53
+pkg_postinst() {
  54
+	gnome2_icon_cache_update
  55
+	distutils_pkg_postinst
  56
+	echo
  57
+	elog "For optional audio recording, running PulseAudio"
  58
+	elog "(media-sound/pulseaudio) is required."
  59
+	elog
  60
+	elog "If you have media-gfx/graphviz installed, file /tmp/kazam_pipeline.png"
  61
+	elog "is created and can be used to inspect GStreamer pipeline."
  62
+	elog "This is useful for debugging."
  63
+	elog
  64
+	elog "These applications can be used to open and edit recordings directly from Kazam:"
  65
+	elog "- media-video/openshot,"
  66
+	elog "- media-video/kdenlive,"
  67
+	elog "- media-video/pitivi,"
  68
+	elog "- media-video/avidemux."
  69
+	echo
  70
+}
  71
+
  72
+pkg_postrm() {
  73
+	gnome2_icon_cache_update
  74
+	distutils_pkg_postrm
  75
+}

0 notes on commit e695b97

Please sign in to comment.
Something went wrong with that request. Please try again.