[proaudio] [2789] media-video/screencastor: added jack USE flag and depend

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


Revision: 2789
Author:   dominique
Date:     2013-08-11 15:28:52 +0200 (Sun, 11 Aug 2013)
Log Message:
-----------
media-video/screencastor: added jack USE flag and depend

Modified Paths:
--------------
    trunk/overlays/proaudio/media-video/screencastor/ChangeLog
    trunk/overlays/proaudio/media-video/screencastor/Manifest
    trunk/overlays/proaudio/media-video/screencastor/files/screencastor-1.3.0_jack.patch
    trunk/overlays/proaudio/media-video/screencastor/screencastor-1.3.0.ebuild

Added Paths:
-----------
    trunk/overlays/proaudio/media-video/screencastor/files/screencastor-1.3.0_python+gettext.patch

Modified: trunk/overlays/proaudio/media-video/screencastor/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-video/screencastor/ChangeLog	2013-08-11 12:01:25 UTC (rev 2788)
+++ trunk/overlays/proaudio/media-video/screencastor/ChangeLog	2013-08-11 13:28:52 UTC (rev 2789)
@@ -3,12 +3,13 @@
 # $Header: $
 
 +screencaptor-1.3.0.ebuild (11 Aug 2013)
++files/screencastor-1.3.0_python+gettext.patch (11 Aug 2013)
 +files/screencaptor-1.3.0_jack.patch (11 Aug 2013)
 "files/screencastor (11 Aug 2013)
 
   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.
-  The patch fix the python shebang and the gettext calls,
-  it also add JACK support.
+  The python+gettext patch fix the python shebang and the gettext calls.
+  The jack patch add JACK support.
   files/screencastor: helper script to launch screencastor

Modified: trunk/overlays/proaudio/media-video/screencastor/Manifest
===================================================================
--- trunk/overlays/proaudio/media-video/screencastor/Manifest	2013-08-11 12:01:25 UTC (rev 2788)
+++ trunk/overlays/proaudio/media-video/screencastor/Manifest	2013-08-11 13:28:52 UTC (rev 2789)
@@ -1,6 +1,7 @@
 AUX screencastor 53 SHA256 e5d70e2564b019ed7618626cff7ee120836006343072583fbaac9e7cef3ba726 SHA512 9fd3691ece980b273973f7d18dbc4dfd3151fc8602f4c9db16baa85a673085f128cc7caaec3c0d81de87fb2239db93bd005740816bb110c7bfbee603153d255b WHIRLPOOL 407bc4ce53b5d52d60156a82d9001ffa7da3ddd2cf5f1e333c69fb00e0a15b1cbd019cdeb2cf99dcfb60331e64cb618dc5e04078f84bde1e78f24a66038f5281
-AUX screencastor-1.3.0_jack.patch 3466 SHA256 91dcf6d805f9ad5a40410c423d845629c64ca901a652f02695683fb5b2f2d4fa SHA512 2221f47094574bd022c375b7fe5e88057562951be18fde96620308e8403bb8133fb6d5c9c9718d4dc795a9f0453fc90582e5269ade4a4a6a51c07b7cb7aaf23a WHIRLPOOL 87e00805462f5cabdb430ce4928eb4009db8db560c63e7d82efd78d9a33b9a2181b169e06bd5a1f895b4e2020498dc922a441e722fc69c05e891cbb20a36f469
+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.ebuild 1410 SHA256 78831fd00f2cf806eb66c9925cdf29f7cd1626e007b3aa375dbd670a0d0896c2 SHA512 dd41c0fd0c8d471c418297780a79b713998024a234f7a1b2cd4da60f8bf1599fe43fb241d99d4628032fd6963da4826fced92a6ba3054721b3279acf221b35ee WHIRLPOOL 98406d7884fc273e2a0cba71456a9a0a4fa522b405c5f525f01bbd117a33565383d731ad5d0f1cb67db6a80de2bc70c8b6202f11fd6bf1cbdc02a5da6bedd757
-MISC ChangeLog 598 SHA256 80162ab35ba4f8b3587673c49fcb1c648c8b7c3e905e70e7b3b5e3dd9a8efa65 SHA512 3c7a5bfa333dd5b5960befb0b9e81f79731a8c7de16e613b3f673137136c9a7fbfdfe4a76c74b3229a68699502c3f878ef72f9d0d5fb11336357800a13322057 WHIRLPOOL ce8bc83b4897627653dd9270ddd62bb50c772023286d41e323dab39f100399ddf63620a489c07ccbf9aaf2820d115cd6c1f8d8c943bcc45a31b5a6d8a7a847b9
+EBUILD screencastor-1.3.0.ebuild 1542 SHA256 3dad68116058efaef06013ac21dd30a70ffb91bbf7ea4bc6166c63a4443741a2 SHA512 20499555ce62caaf480bcd3fde123837accfd15c15fec12f7e710cac4f6b66bc3dc1a1f33f695b48abb58daaa85559dbca0f18e75fe97e13e2db8fe42b301938 WHIRLPOOL 5afb9aac67d2dcc8c9fec0763f0338b6874739524dd9382d05ef722af13f5dcfa12ef126fa71998a9bdb10b9c564928a89bfd7fc86bf1a7d620068ae86cc03fe
+MISC ChangeLog 681 SHA256 9ef3ee1fa51c210caa8478885387c5ea4b1bcf3c54764f894f959b6653d8e05c SHA512 3ccedad47a234150e1ee540bbf275e2394a084eed205d57b0dabec9dd2cf69e2261a41383790f64963bb595657434b894fffb0fb42633b47d36f18f592ef8756 WHIRLPOOL 05fc353f0f44518c8ccdc52ecff29b6a3b716bc3ba0c334fe2a2cff309ccef543470a40d7b837dbf476a5c9aaf6a1f6a10a449cbdace39b414c118c233b4ddce
 MISC metadata.xml 246 SHA256 f32f31abe9dcc1f9a5dc9b6a36996d773abd006d92c13c4df48f8d7d1061060f SHA512 327022589c637a14219eb603a62050fbb93b980f4693960c0ac4117b6b483d9f0d9fe1366d8e18227b34373a399aef339f49c16df8ca57b9ec870568a4d394f4 WHIRLPOOL e55381a9a9fd1d0efbe87da1c3aa302efdcf4734827f56273faeb55b17361c529518fcf16ac0946102e26165e8eedba81ab0cd07c7b08ce6bad001e944e43a0f

Modified: trunk/overlays/proaudio/media-video/screencastor/files/screencastor-1.3.0_jack.patch
===================================================================
--- trunk/overlays/proaudio/media-video/screencastor/files/screencastor-1.3.0_jack.patch	2013-08-11 12:01:25 UTC (rev 2788)
+++ trunk/overlays/proaudio/media-video/screencastor/files/screencastor-1.3.0_jack.patch	2013-08-11 13:28:52 UTC (rev 2789)
@@ -1,33 +1,6 @@
 diff -ur screencastor_test.orig/go_screencastor.sh screencastor_test/go_screencastor.sh
 --- screencastor_test.orig/go_screencastor.sh	2013-06-09 18:01:50.000000000 +0200
-+++ screencastor_test/go_screencastor.sh	2013-08-11 12:36:11.000000000 +0200
-@@ -17,20 +17,20 @@
- 	do
- 		case "${option}" in
- 			"--help")
--				echo -e "${BLEUFONCE}$(eval_gettext $'For more information:') ${FUSHIA}man screencastor${RAZ}" ;;
-+				echo -e "${BLEUFONCE}$(gettext $'For more information:') ${FUSHIA}man screencastor${RAZ}" ;;
- 
- 			"--pause")
--				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(eval_gettext $'Pause of the screencast')${RAZ}"; touch "${tmp}/pause"; } ;;
-+				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(gettext $'Pause of the screencast')${RAZ}"; touch "${tmp}/pause"; } ;;
- 
- 			"--stop")
--				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(eval_gettext $'Stop of the screencast')${RAZ}"; touch "${tmp}/stop"; } ;;
-+				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(gettext $'Stop of the screencast')${RAZ}"; touch "${tmp}/stop"; } ;;
- 
- 			"--start")
--				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(eval_gettext $'Start of the screencast')${RAZ}"; touch "${tmp}/start"; } ;;
-+				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(gettext $'Start of the screencast')${RAZ}"; touch "${tmp}/start"; } ;;
- 
- 			"--version")
--				echo -e "${BLEUFONCE}$(eval_gettext $'Screencastor version:') ${FUSHIA}$(sed -n "s/^version=.\(.*\)./\1/p" "screencastor.sh")${RAZ}"
--				echo -e "${BLEUFONCE}$(eval_gettext $'Screencastor last modification:') ${FUSHIA}$(stat -c %y "screencastor.sh" | cut -d" " -f 1)${RAZ}" ;;
-+				echo -e "${BLEUFONCE}$(gettext $'Screencastor version:') ${FUSHIA}$(sed -n "s/^version=.\(.*\)./\1/p" "screencastor.sh")${RAZ}"
-+				echo -e "${BLEUFONCE}$(gettext $'Screencastor last modification:') ${FUSHIA}$(stat -c %y "screencastor.sh" | cut -d" " -f 1)${RAZ}" ;;
- 		esac
- 	done
- 
++++ screencastor_test/go_screencastor.sh	2013-08-11 15:11:56.000000000 +0200
 @@ -191,12 +191,14 @@
  --combobox='@@_audio_provenance@@col
  pulse
@@ -43,18 +16,9 @@
  oss' \
  --combobox="@@_video_vpre@@col
  ${liste_preset}" \
-diff -ur screencastor_test.orig/screencastor.py screencastor_test/screencastor.py
---- screencastor_test.orig/screencastor.py	2013-06-09 18:01:49.000000000 +0200
-+++ screencastor_test/screencastor.py	2013-08-11 12:31:59.000000000 +0200
-@@ -1,4 +1,4 @@
--#! /usr/bin/env python
-+#!/usr/bin/env python2
- # -*- coding:Utf­8 ­-*-
- ############################################################################
- ##                                                                        ##
 diff -ur screencastor_test.orig/screencastor.sh screencastor_test/screencastor.sh
 --- screencastor_test.orig/screencastor.sh	2013-06-09 18:01:49.000000000 +0200
-+++ screencastor_test/screencastor.sh	2013-08-11 12:36:37.000000000 +0200
++++ screencastor_test/screencastor.sh	2013-08-11 15:13:03.000000000 +0200
 @@ -1292,13 +1292,15 @@
  case "${G2S_audio_provenance}" in
  	0) G2S_audio_provenance=pulse ;;

Added: trunk/overlays/proaudio/media-video/screencastor/files/screencastor-1.3.0_python+gettext.patch
===================================================================
--- trunk/overlays/proaudio/media-video/screencastor/files/screencastor-1.3.0_python+gettext.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-video/screencastor/files/screencastor-1.3.0_python+gettext.patch	2013-08-11 13:28:52 UTC (rev 2789)
@@ -0,0 +1,39 @@
+diff -ur screencastor_test.orig/go_screencastor.sh screencastor_test/go_screencastor.sh
+--- screencastor_test.orig/go_screencastor.sh	2013-06-09 18:01:50.000000000 +0200
++++ screencastor_test/go_screencastor.sh	2013-08-11 15:08:52.000000000 +0200
+@@ -17,20 +17,20 @@
+ 	do
+ 		case "${option}" in
+ 			"--help")
+-				echo -e "${BLEUFONCE}$(eval_gettext $'For more information:') ${FUSHIA}man screencastor${RAZ}" ;;
++				echo -e "${BLEUFONCE}$(gettext $'For more information:') ${FUSHIA}man screencastor${RAZ}" ;;
+ 
+ 			"--pause")
+-				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(eval_gettext $'Pause of the screencast')${RAZ}"; touch "${tmp}/pause"; } ;;
++				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(gettext $'Pause of the screencast')${RAZ}"; touch "${tmp}/pause"; } ;;
+ 
+ 			"--stop")
+-				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(eval_gettext $'Stop of the screencast')${RAZ}"; touch "${tmp}/stop"; } ;;
++				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(gettext $'Stop of the screencast')${RAZ}"; touch "${tmp}/stop"; } ;;
+ 
+ 			"--start")
+-				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(eval_gettext $'Start of the screencast')${RAZ}"; touch "${tmp}/start"; } ;;
++				[[ ${tmp} ]] && { echo -e "${BLEUFONCE}$(gettext $'Start of the screencast')${RAZ}"; touch "${tmp}/start"; } ;;
+ 
+ 			"--version")
+-				echo -e "${BLEUFONCE}$(eval_gettext $'Screencastor version:') ${FUSHIA}$(sed -n "s/^version=.\(.*\)./\1/p" "screencastor.sh")${RAZ}"
+-				echo -e "${BLEUFONCE}$(eval_gettext $'Screencastor last modification:') ${FUSHIA}$(stat -c %y "screencastor.sh" | cut -d" " -f 1)${RAZ}" ;;
++				echo -e "${BLEUFONCE}$(gettext $'Screencastor version:') ${FUSHIA}$(sed -n "s/^version=.\(.*\)./\1/p" "screencastor.sh")${RAZ}"
++				echo -e "${BLEUFONCE}$(gettext $'Screencastor last modification:') ${FUSHIA}$(stat -c %y "screencastor.sh" | cut -d" " -f 1)${RAZ}" ;;
+ 		esac
+ 	done
+ 
+diff -ur screencastor_test.orig/screencastor.py screencastor_test/screencastor.py
+--- screencastor_test.orig/screencastor.py	2013-06-09 18:01:49.000000000 +0200
++++ screencastor_test/screencastor.py	2013-08-11 12:31:59.000000000 +0200
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#!/usr/bin/env python2
+ # -*- coding:Utf­8 ­-*-
+ ############################################################################
+ ##                                                                        ##

Modified: trunk/overlays/proaudio/media-video/screencastor/screencastor-1.3.0.ebuild
===================================================================
--- trunk/overlays/proaudio/media-video/screencastor/screencastor-1.3.0.ebuild	2013-08-11 12:01:25 UTC (rev 2788)
+++ trunk/overlays/proaudio/media-video/screencastor/screencastor-1.3.0.ebuild	2013-08-11 13:28:52 UTC (rev 2789)
@@ -15,7 +15,7 @@
 LICENSE="CC-BY-NC-SA-3.0"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
+IUSE="jack"
 
 RDEPEND="${PYTHON_DEPS}
 	dev-python/pygtk
@@ -24,16 +24,21 @@
 	media-gfx/imagemagick
 	x11-apps/xwininfo
 	virtual/ffmpeg
-	dev-python/pygtksourceview"
+	dev-python/pygtksourceview
+	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, gettext call, add jack support
+	# fix python shebang and gettext calls
 	epatch \
-		"${FILESDIR}"/${P}_jack.patch
+		"${FILESDIR}"/${P}_python+gettext.patch
+	# add jack support
+	if use jack ; then
+		epatch "${FILESDIR}"/${P}_jack.patch
+	fi
 }
 
 src_install() {


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