libplayer: Use `${PN}` instead of `libplayer`.
PATCH 1/1 libplayer: Use `${PN}` instead of `libplayer`.
--- recipes/libplayer/libplayer.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/libplayer/libplayer.inc +1 -1
@@ -6,7 +6,7 @@ DEPENDS = "virtual/libx11 libxcb mplayer gstreamer" INC_PR = "r1" -SRC_URI = "http://libplayer.geexbox.org/releases/${P}.tar.bz2;name=${PN}" +SRC_URI = "http://${PN}.geexbox.org/releases/${P}.tar.bz2;name=${PN}" inherit autotools pkgconfig
Signature · 1 line
1.7.0.3
Quoted 14 lines · Paul Menzel
Signed-off-by Paul Menzel <[email protected]>---
recipes/libplayer/libplayer.inc | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)recipes/libplayer/libplayer.inc +0
-0@@ -6,7 +6,7 @@ DEPENDS = "virtual/libx11 libxcb mplayer gstreamer"INC_PR = "r1"
recipes/libplayer/libplayer.inc DEPENDS = "virtual/libx11 libxcb mplayer gstreamer" · line 9
Quoted 2 lines
recipes/libplayer/libplayer.inc +1
-1-SRC_URI = "http://libplayer.geexbox.org/releases/${P}.tar.bz2;name=${PN}" +SRC_URI = "http://${PN}.geexbox.org/releases/${P}.tar.bz2;name=${PN}"
is there any advantage of using PN here ?
Quoted 12 lines
inherit autotools pkgconfig
--
1.7.0.3_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Am Freitag, den 02.04.2010, 11:21 -0700 schrieb Khem Raj:
Quoted 14 lines
Quoted 12 lines · Paul Menzel
Signed-off-by Paul Menzel <[email protected]>--- recipes/libplayer/libplayer.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)recipes/libplayer/libplayer.inc +0
-0@@ -6,7 +6,7 @@ DEPENDS = "virtual/libx11 libxcb mplayer gstreamer"
Quoted 6 lines
recipes/libplayer/libplayer.inc DEPENDS = "virtual/libx11 libxcb mplayer gstreamer" · line 9
Quoted 4 lines
recipes/libplayer/libplayer.inc +1
-1INC_PR = "r1" -SRC_URI = "http://libplayer.geexbox.org/releases/${P}.tar.bz2;name=${PN}" +SRC_URI = "http://${PN}.geexbox.org/releases/${P}.tar.bz2;name=${PN}"is there any advantage of using PN here ?
I guess it is mostly taste.
But I see two small advantages in rare use cases.
1. If the recipe is taken as a template for another one, less adaptations have to be made.
2. If they should rename the program you only have to change the recipe name.
[…]
Thanks,
Paul