Skip to contentSkip to conversation

ffmpeg: Convert recipe to use INC_PR.

PATCH New Paul Menzel 1 participant 1 message Mar 15, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ffmpeg: Convert recipe to use INC_PR.

---
 recipes/ffmpeg/ffmpeg.inc           |    2 ++
 recipes/ffmpeg/ffmpeg_0.4.9-pre1.bb |    2 +-
 recipes/ffmpeg/ffmpeg_0.5.bb        |    2 +-
 recipes/ffmpeg/ffmpeg_git.bb        |    2 +-
 recipes/ffmpeg/ffmpeg_svn.bb        |    2 +-
 5 files changed, 6 insertions(+), 4 deletions(-)
recipes/ffmpeg/ffmpeg.inc +2 -0
index cdb3f7e..3ec06bc 100644
@@ -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"
recipes/ffmpeg/ffmpeg_0.4.9-pre1.bb +1 -1
index 6e347b1..54991f5 100644
@@ -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 \
recipes/ffmpeg/ffmpeg_0.5.bb +1 -1
index b80fa88..e39e41e 100644
@@ -3,7 +3,7 @@ require ffmpeg.inc
 DEPENDS += "schroedinger libgsm"
 
 PE = "1"
-PR = "r5"
+PR = "${INC_PR}.0"
 
 DEFAULT_PREFERENCE = "1"
 
recipes/ffmpeg/ffmpeg_git.bb +1 -1
index 1cfc3e2..fc9bdf2 100644
@@ -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"
 
recipes/ffmpeg/ffmpeg_svn.bb +1 -1
index ec30821..620783c 100644
@@ -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"
Signature · 1 line
1.7.0