[proaudio] [2822] media-video/screencastor: python-single-r1, depend on xml use flag,

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 2822
Author:   lilrc
Date:     2013-12-14 18:10:56 +0100 (Sat, 14 Dec 2013)
Log Message:
-----------
media-video/screencastor: python-single-r1, depend on xml use flag, 
PYTHON_REQUIRED_USE, alphabetical ordering, depend on correct slot of 
x11-libs/vte:0. Thanks to Zlobin Nikita for reporting the issue. 
PYTHON_USEDEP for dependencies.

Modified Paths:
--------------
    trunk/overlays/proaudio/media-video/screencastor/ChangeLog
    trunk/overlays/proaudio/media-video/screencastor/Manifest

Added Paths:
-----------
    trunk/overlays/proaudio/media-video/screencastor/screencastor-1.3.0-r1.ebuild

Modified: trunk/overlays/proaudio/media-video/screencastor/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-video/screencastor/ChangeLog	2013-12-12 20:36:41 UTC (rev 2821)
+++ trunk/overlays/proaudio/media-video/screencastor/ChangeLog	2013-12-14 17:10:56 UTC (rev 2822)
@@ -1,4 +1,4 @@
-# ChangeLog for media-video/screencaptor
+# ChangeLog for media-video/screencastor
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
@@ -7,6 +7,18 @@
 +files/screencaptor-1.3.0_jack.patch (11 Aug 2013)
 "files/screencastor (11 Aug 2013)
 
+*screencastor-1.3.0-r1 (14 Dec 2013)
+
+  14 Dec 2013; Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
+  +screencastor-1.3.0-r1.ebuild:
+  
+  Specify required use flag "xml" on python interpreter.
+  Replace python-r1 with python-single-r1.
+  PYTHON_REQUIRED_USE in REQUIRDED_USE.
+  Order dependencies alphabetically.
+  Depend on x11-libs/vte:0. Thanks to Zlobin Nikita for the report.
+  Use PYTHON_USEDEP for some dependencies.
+
   11 Aug 2013; Dominique Michel <dominique_libre@xxxxxxxxxxxxxxx>
   Initial ebuild for the tar.gz archive, Work fine here.
   It is also a deb archive, but it just hang at run time, so we use this one.

Modified: trunk/overlays/proaudio/media-video/screencastor/Manifest
===================================================================
--- trunk/overlays/proaudio/media-video/screencastor/Manifest	2013-12-12 20:36:41 UTC (rev 2821)
+++ trunk/overlays/proaudio/media-video/screencastor/Manifest	2013-12-14 17:10:56 UTC (rev 2822)
@@ -2,6 +2,7 @@
 AUX screencastor-1.3.0_jack.patch 1366 SHA256 a0344977f15408d5916838c28bf4394c9693e58f13f238554d44e73416aac338 SHA512 175f21a9d7aaa0d09e60ee980d7ea10d2ff846fce1639f2e3abe6c622c44255f003649336422d69c510fd3338ea0fcb1faba424beac0eff5db1c9dcb77b41d1b WHIRLPOOL 3e4c7436b36438053c96acfa21bb3a4a011befa39fb36a6883ae3ce7ef28dbc02ddfa9624c342b8eb4f23ff991b96cac56303cd9fd8e74dcae56aa3450a47549
 AUX screencastor-1.3.0_python+gettext.patch 2347 SHA256 3a66fa81ffe706d9e37ad717a96d0c933680e9e5e6f6ba8ce46386552de6d0a5 SHA512 e437267a39094edb41299f8510b5f538070073a24487c88fc5d548e479953c1673c1c01d7af7ac223ad1b3ccfb722d8133424cc9b389ded8add3a31df614b2f6 WHIRLPOOL 7491e75b3453364e92fd1a48df63cd8d08a12a773c7d3af54a662dd3e26173c60c31aa92def5d9026155de5231d111f2c319a99e7e9f081e0010afad0e6ab78e
 DIST screencastor_1.3.0.tar.gz 164943 SHA256 7a2db8fdb7ad421bb346d5017a6103b7e0ede780ddf54fdff39ce051298abcdf SHA512 ca08b9c62d13b0be6ab102bf7310ec756e3a043533ebb695a33d9587e588bebe656fe28865ab5ee99a3658eac06c051eed007de58d4a680cae0f1526b6c1b15b WHIRLPOOL d684c68a638c1c489d8728d128010250a86922d120b2cc89f00b1e3e2a500390cd849c3131e74a0b02a0ea9876ce1e245a5f90773ad3611a03793078e82eb93c
+EBUILD screencastor-1.3.0-r1.ebuild 1684 SHA256 074eda6ca9b9f0f008724ba0f2ab697f596598ea26a007ea208280714d070370 SHA512 d93262501118a5e860e485ded26377c147ca00f9bd9d6b2487751925953964d9a2873217169c8d47492fc29e8567b2d38d084f973ab75f8eca1ebdc7644e1401 WHIRLPOOL 1af91d66ce237a6b1e32aa3291f2c538878c567bb04266e3719c6670686c58ce8b40525666f72ec375dabb036065ce2b987e4fdc07e4ffde21c1d6d6eb7f2bb8
 EBUILD screencastor-1.3.0.ebuild 1542 SHA256 3dad68116058efaef06013ac21dd30a70ffb91bbf7ea4bc6166c63a4443741a2 SHA512 20499555ce62caaf480bcd3fde123837accfd15c15fec12f7e710cac4f6b66bc3dc1a1f33f695b48abb58daaa85559dbca0f18e75fe97e13e2db8fe42b301938 WHIRLPOOL 5afb9aac67d2dcc8c9fec0763f0338b6874739524dd9382d05ef722af13f5dcfa12ef126fa71998a9bdb10b9c564928a89bfd7fc86bf1a7d620068ae86cc03fe
-MISC ChangeLog 681 SHA256 9ef3ee1fa51c210caa8478885387c5ea4b1bcf3c54764f894f959b6653d8e05c SHA512 3ccedad47a234150e1ee540bbf275e2394a084eed205d57b0dabec9dd2cf69e2261a41383790f64963bb595657434b894fffb0fb42633b47d36f18f592ef8756 WHIRLPOOL 05fc353f0f44518c8ccdc52ecff29b6a3b716bc3ba0c334fe2a2cff309ccef543470a40d7b837dbf476a5c9aaf6a1f6a10a449cbdace39b414c118c233b4ddce
+MISC ChangeLog 1109 SHA256 06bda77addad653bf2b1ebdd3b8302fddc6956628201d411bf47686de607b7bd SHA512 6e6dfea061991da3d5ba07b5dcc1acfda190aff8ae7efa2ffefecfb71a043d14696548fee77ff65f77cbf6be6b5c9a99f894d32ddc223ccb11e1cc6efac25f48 WHIRLPOOL bbc634fd085d3af56740b9970a696de4b05a549ef054d432fccef97a9a9eea1c3c919041f2d2f8cc831469d21e044e978b318ce06e134f1f98733f3eccefb196
 MISC metadata.xml 246 SHA256 f32f31abe9dcc1f9a5dc9b6a36996d773abd006d92c13c4df48f8d7d1061060f SHA512 327022589c637a14219eb603a62050fbb93b980f4693960c0ac4117b6b483d9f0d9fe1366d8e18227b34373a399aef339f49c16df8ca57b9ec870568a4d394f4 WHIRLPOOL e55381a9a9fd1d0efbe87da1c3aa302efdcf4734827f56273faeb55b17361c529518fcf16ac0946102e26165e8eedba81ab0cd07c7b08ce6bad001e944e43a0f

Copied: trunk/overlays/proaudio/media-video/screencastor/screencastor-1.3.0-r1.ebuild (from rev 2819, trunk/overlays/proaudio/media-video/screencastor/screencastor-1.3.0.ebuild)
===================================================================
--- trunk/overlays/proaudio/media-video/screencastor/screencastor-1.3.0-r1.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-video/screencastor/screencastor-1.3.0-r1.ebuild	2013-12-14 17:10:56 UTC (rev 2822)
@@ -0,0 +1,65 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="capture audio/video of the screen via FFmpeg with GUI"
+HOMEPAGE="https://launchpad.net/~hizo/+archive/screencastor";
+SRC_URI="http://hizo.fr/linux/${PN}/${PN}_${PV}.tar.gz";
+
+LICENSE="CC-BY-NC-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="jack"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+	dev-python/pygtk[${PYTHON_USEDEP}]
+	dev-python/pygtksourceview[${PYTHON_USEDEP}]
+	media-gfx/imagemagick
+	x11-apps/xwininfo
+	x11-libs/vte:0[python,${PYTHON_USEDEP}]
+	x11-misc/xdg-utils
+	virtual/ffmpeg
+	jack? ( media-sound/jack-audio-connection-kit )"
+	# portage ebuild doesn't have the python bilding => no tray icon
+	# dev-libs/libappindicator"
+
+S="${WORKDIR}/${PN}_test"
+
+src_prepare() {
+	# fix python shebang and gettext calls
+	epatch \
+		"${FILESDIR}"/${P}_python+gettext.patch
+	# add jack support
+	if use jack ; then
+		epatch "${FILESDIR}"/${P}_jack.patch
+	fi
+}
+
+src_install() {
+	mkdir -p "${D}/usr/share/${PN}" || die "mkdir failed"
+	cp -r * "${D}/usr/share/${PN}" || die "install common files failed"
+	python_scriptinto "/usr/share/${PN}/"
+	python_doscript "${PN}.py"
+	exeinto /usr/bin
+	doexe "${FILESDIR}/${PN}"
+
+	make_desktop_entry "${PN}" ScreenCastor /usr/share/"${PN}/${PN}".png AudioVideo
+}
+
+pkg_postinst() {
+	einfo ""
+	einfo "To make a screen cast with ScreenCastor,"
+	einfo "don't forget to set the output file."
+	einfo ""
+	einfo "To use JACK, select jack as sound server"
+	einfo "and screencastorjack as source."
+	einfo ""
+}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/