ffmpeg: Convert recipe to use INC_PR.
authorPaul Menzel <paulepanter@users.sourceforge.net>
Mon, 15 Mar 2010 12:34:27 +0000 (12:34 +0000)
committerMartin Jansa <Martin.Jansa@gmail.com>
Tue, 16 Mar 2010 09:14:20 +0000 (10:14 +0100)
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/ffmpeg/ffmpeg.inc
recipes/ffmpeg/ffmpeg_0.4.9-pre1.bb
recipes/ffmpeg/ffmpeg_0.5.bb
recipes/ffmpeg/ffmpeg_git.bb
recipes/ffmpeg/ffmpeg_svn.bb

index cdb3f7e..3ec06bc 100644 (file)
@@ -10,6 +10,8 @@ ARM_INSTRUCTION_SET = "arm"
 DEPENDS = "zlib libogg libvorbis libtheora faac faad2 ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'lame liba52', d)}"
 RSUGGESTS = "mplayer"
 
+INC_PR = "r9"
+
 inherit autotools pkgconfig
 
 LEAD_SONAME = "libavcodec.so"
index 6e347b1..54991f5 100644 (file)
@@ -1,6 +1,6 @@
 require ffmpeg.inc
 
-PR = "r9"
+PR = "${INC_PR}.0"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/ffmpeg/ffmpeg-${PV}.tar.gz \
            file://configure.patch;patch=0 \
index b80fa88..e39e41e 100644 (file)
@@ -3,7 +3,7 @@ require ffmpeg.inc
 DEPENDS += "schroedinger libgsm"
 
 PE = "1"
-PR = "r5"
+PR = "${INC_PR}.0"
 
 DEFAULT_PREFERENCE = "1"
 
index 1cfc3e2..fc9bdf2 100644 (file)
@@ -4,7 +4,7 @@ DEPENDS += "schroedinger libgsm"
 
 PE = "1"
 PV = "0.5.0+${PR}+gitr${SRCREV}" 
-PR = "r0"
+PR = "${INC_PR}.0"
 
 DEFAULT_PREFERENCE = "-1"
 
index ec30821..620783c 100644 (file)
@@ -6,7 +6,7 @@ SRCREV = "22521"
 
 PE = "1"
 PV = "0.5.0+${PR}+svnr${SRCPV}"
-PR = "r0"
+PR = "${INC_PR}.0"
 
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_angstrom = "1"