[proaudio] [968] fixing xjadeo again ;)

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


Revision: 968
Author:   evermind
Date:     2007-11-25 01:05:26 +0000 (Sun, 25 Nov 2007)

Log Message:
-----------
fixing xjadeo again ;)

Modified Paths:
--------------
    trunk/overlays/proaudio/media-video/xjadeo/Manifest
    trunk/overlays/proaudio/media-video/xjadeo/xjadeo-0.4.1.ebuild


Modified: trunk/overlays/proaudio/media-video/xjadeo/Manifest
===================================================================
--- trunk/overlays/proaudio/media-video/xjadeo/Manifest	2007-11-24 17:51:33 UTC (rev 967)
+++ trunk/overlays/proaudio/media-video/xjadeo/Manifest	2007-11-25 01:05:26 UTC (rev 968)
@@ -3,10 +3,10 @@
 RMD160 c0ae3b7ea5f5d453e74a7ca2dd02fbf56f5ebb70 files/xjadeo-0.4.1-use_sws_scale.patch 3230
 SHA256 fd9c2067ee1e3e542c05a578fdc231061c1d3f092e12763f3b3ca0e4e1a01e90 files/xjadeo-0.4.1-use_sws_scale.patch 3230
 DIST xjadeo-0.4.1.tar.gz 303342 RMD160 ac60bee6df532516bdd64a841c3778b18dfb055f SHA1 18e3728e51ddc6bd408aeda931251b2ea91a3a9f SHA256 f78c2b9cd7ddad4c550ad4c4b0b178fe2cbdb9c09393baaf0ad19d814a4f5736
-EBUILD xjadeo-0.4.1.ebuild 2073 RMD160 027dfa8d5f8b0f582febfe92a13bfb758148ca9f SHA1 b02821c8d4f692f8210cb98490d65ff404efd822 SHA256 e586cdb841c252da0a49a973ff3419148ef1c13a84e36499dd2a390e1ffd8406
-MD5 cb56228039e65c04d7017e5028bc21b9 xjadeo-0.4.1.ebuild 2073
-RMD160 027dfa8d5f8b0f582febfe92a13bfb758148ca9f xjadeo-0.4.1.ebuild 2073
-SHA256 e586cdb841c252da0a49a973ff3419148ef1c13a84e36499dd2a390e1ffd8406 xjadeo-0.4.1.ebuild 2073
+EBUILD xjadeo-0.4.1.ebuild 1831 RMD160 f756af0e344c46887e2337af29861287cb23a902 SHA1 19c1ab11a9c8ef811f6e9626b4b08fbf4295b99e SHA256 b00eba48086a14b3e678ed5031f9ecb695f9f1893bb86fee02f4aabc8548448f
+MD5 9f4f77f697e3e9099b03f6f08270ece3 xjadeo-0.4.1.ebuild 1831
+RMD160 f756af0e344c46887e2337af29861287cb23a902 xjadeo-0.4.1.ebuild 1831
+SHA256 b00eba48086a14b3e678ed5031f9ecb695f9f1893bb86fee02f4aabc8548448f xjadeo-0.4.1.ebuild 1831
 MD5 3768aa403f7b86fb28a2ab4191f52e01 files/digest-xjadeo-0.4.1 238
 RMD160 2eef33c8f86c7ae72d61a03e6c2afaa57e4f6543 files/digest-xjadeo-0.4.1 238
 SHA256 7ea42eebd73858dfb6e9eeafa3a5f67e94172c84bf0c4c9f8db01ad8ffcde786 files/digest-xjadeo-0.4.1 238

Modified: trunk/overlays/proaudio/media-video/xjadeo/xjadeo-0.4.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-video/xjadeo/xjadeo-0.4.1.ebuild	2007-11-24 17:51:33 UTC (rev 967)
+++ trunk/overlays/proaudio/media-video/xjadeo/xjadeo-0.4.1.ebuild	2007-11-25 01:05:26 UTC (rev 968)
@@ -23,24 +23,18 @@
 DEPEND="${RDPEND}
 	>=sys-libs/zlib-1.2.2
 	qt3? ( >=x11-libs/qt-3 )
-	qt4? ( >=x11-libs/qt-4.1 )"
+	qt4? ( >=x11-libs/qt-4.1 )
+	dev-util/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"
 
 pkg_setup() {
-	sws_support="$(strings /usr/lib/libavcodec.so|grep -c sws_scale)"
-	if [ "$sws_support" == "1" ];then
+	if  pkg-config --exists libswscale ;then
 		einfo "ffmpeg offers sws_scale support --> enabled"
 		append-flags -DHAVE_SWSCALE
 		export enable_sws_scale=true
 	else
-		img_support="$(strings /usr/lib/libavcodec.so|grep -c img_import)"
-		if [ "$img_support" == "1" ];then
-			ewarn "ffmpeg: no sws_scale support trying old img_convert"
-		else
-			eerror "ffmpeg: BUG please report this messages and to the proaudio team"
-			die
-		fi
+		ewarn "ffmpeg: no sws_scale support trying old img_convert"
 	fi
 }
 


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