Permalink
Browse files

Fl-677: remove sabayon version of kazam, convert to progress

  • Loading branch information...
1 parent 508c155 commit 8f9a572cc8e7cd35de0d2d73bafeb2e0d86f3f92 @angryvincent angryvincent committed Aug 18, 2013
Showing with 74 additions and 1 deletion.
  1. +1 −1 funtoo/scripts/merge.py
  2. +1 −0 media-video/kazam/Manifest
  3. +72 −0 media-video/kazam/kazam-1.0.7.ebuild
View
@@ -51,7 +51,7 @@
"profiles/package.mask":"profiles/funtoo/1.0/linux-gnu/mix-ins/mate/package.mask/01-mate",
"profiles/package.use.mask":"profiles/funtoo/1.0/linux-gnu/mix-ins/mate/package.use.mask/01-mate"
}),
- InsertEbuilds(sabayon_for_gentoo, select=["app-admin/equo", "app-admin/matter", "media-video/kazam", "sys-apps/entropy", "sys-apps/entropy-server", "sys-apps/entropy-client-services","app-admin/rigo", "sys-apps/rigo-daemon", "sys-apps/magneto-core", "x11-misc/magneto-gtk", "x11-misc/magneto-gtk3", "kde-misc/magneto-kde", "app-misc/magneto-loader"], replace=True),
+ InsertEbuilds(sabayon_for_gentoo, select=["app-admin/equo", "app-admin/matter", "sys-apps/entropy", "sys-apps/entropy-server", "sys-apps/entropy-client-services","app-admin/rigo", "sys-apps/rigo-daemon", "sys-apps/magneto-core", "x11-misc/magneto-gtk", "x11-misc/magneto-gtk3", "kde-misc/magneto-kde", "app-misc/magneto-loader"], replace=True),
SyncDir(progress_overlay.root, "eclass"),
SyncDir(progress_overlay.root, "profiles/unpack_dependencies"),
SyncFiles(progress_overlay.root, {
@@ -0,0 +1 @@
+DIST kazam-1.0.7.tar.gz 959725 SHA256 f25aff4d706f38720659b8dc75fa6192b028f862484726358aef82ba532af80a SHA512 e53b7f5ba8b1162c09601df2fea76696082df20b813eff9269f5c272ca372b94a82d3f8a0f88b8518ccf264bd778d31eaf435ff9bc95bcc000e2c0dc3cda03bf WHIRLPOOL 0f81fc1cbcd0eb8b42a5827184c7556fa676cb13431c9e46647276406f837ece1860d4c180b5d322f5e7ac78869c09d2a17fd166b2d2508f228f768028e99387
@@ -0,0 +1,72 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5-progress"
+PYTHON_MULTIPLE_ABIS="1"
+PYTHON_RESTRICTED_ABIS="2.5 3.* *-jython *-pypy-*"
+
+inherit gnome2 distutils
+
+DESCRIPTION="A screencasting program created with design in mind"
+HOMEPAGE="https://launchpad.net/kazam"
+SRC_URI="http://launchpad.net/${PN}/stable/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~*"
+IUSE="pulseaudio"
+
+DEPEND="$(python_abi_depend dev-python/python-distutils-extra)"
+RDEPEND="x11-libs/gtk+:3[introspection]
+ dev-python/gst-python:0.10
+ $(python_abi_depend dev-python/pycairo dev-python/pyxdg dev-python/pygobject:3 dev-python/pycurl dev-python/gdata)
+ media-libs/gst-plugins-good:0.10
+ media-plugins/gst-plugins-x264:0.10
+ media-plugins/gst-plugins-ximagesrc:0.10
+ pulseaudio? ( media-sound/pulseaudio )
+ virtual/python-argparse
+ virtual/ffmpeg"
+
+pkg_setup() {
+ python_pkg_setup
+}
+
+src_prepare() {
+ # correct name of .desktop file
+ sed -i -e 's/avidemux-gtk/avidemux2-gtk/' ${PN}/frontend/combobox.py \
+ || die
+ # fix a warning: value "GNOME" requires GTK to be present
+ sed -i -e 's/GNOME;/GNOME;GTK;/' data/kazam.desktop.in || die
+ distutils_src_prepare
+}
+
+src_configure() {
+ einfo "Nothing to configure."
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ distutils_pkg_postinst
+ echo
+ elog "For optional audio recording, running PulseAudio"
+ elog "(media-sound/pulseaudio) is required."
+ elog
+ elog "If you have media-gfx/graphviz installed, file /tmp/kazam_pipeline.png"
+ elog "is created and can be used to inspect GStreamer pipeline."
+ elog "This is useful for debugging."
+ elog
+ elog "These applications can be used to open and edit recordings directly from Kazam:"
+ elog "- media-video/openshot,"
+ elog "- media-video/kdenlive,"
+ elog "- media-video/pitivi,"
+ elog "- media-video/avidemux."
+ echo
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ distutils_pkg_postrm
+}

0 comments on commit 8f9a572

Please sign in to comment.