Received: from mail.gw90.de ([188.40.100.199]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1Nxmnh-00053D-7p for openembedded-devel@lists.openembedded.org; Fri, 02 Apr 2010 21:45:13 +0200 Received: from f053032126.adsl.alicedsl.de ([78.53.32.126] helo=[192.168.178.21]) by mail.gw90.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NxmkX-0006z6-Tw for openembedded-devel@lists.openembedded.org; Fri, 02 Apr 2010 19:41:50 +0000 From: Paul Menzel To: openembedded-devel@lists.openembedded.org In-Reply-To: References: <1270222917.3873.18.camel@mattotaupa> Date: Fri, 02 Apr 2010 21:41:48 +0200 Message-ID: <1270237308.3714.8.camel@mattotaupa> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 X-SA-Exim-Connect-IP: 188.40.100.199 X-SA-Exim-Mail-From: paulepanter@users.sourceforge.net X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: [PATCH] libplayer: Use `${PN}` instead of `libplayer`. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2010 19:45:16 -0000 X-Groupsio-MsgNum: 18402 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-sKjOTvymm4aWUqzNzr/P" --=-sKjOTvymm4aWUqzNzr/P Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Freitag, den 02.04.2010, 11:21 -0700 schrieb Khem Raj: > On Fri, Apr 2, 2010 at 8:41 AM, Paul Menzel > wrote: > > > > Signed-off-by: Paul Menzel > > --- > > recipes/libplayer/libplayer.inc | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/recipes/libplayer/libplayer.inc b/recipes/libplayer/libpla= yer.inc > > index 823e4b5..ea74aee 100644 > > --- a/recipes/libplayer/libplayer.inc > > +++ b/recipes/libplayer/libplayer.inc > > @@ -6,7 +6,7 @@ DEPENDS =3D "virtual/libx11 libxcb mplayer gstreamer" > > > > INC_PR =3D "r1" > > > > -SRC_URI =3D "http://libplayer.geexbox.org/releases/${P}.tar.bz2;name= =3D${PN}" > > +SRC_URI =3D "http://${PN}.geexbox.org/releases/${P}.tar.bz2;name=3D${P= N}" >=20 > 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. [=E2=80=A6] Thanks, Paul --=-sKjOTvymm4aWUqzNzr/P Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAku2SHwACgkQPX1aK2wOHVhA5wCfZPzfygcPY/3CigLcBZEI5N8f ZdMAni/Rz8YideZQZrklR2DGmP46xPj0 =iBpL -----END PGP SIGNATURE----- --=-sKjOTvymm4aWUqzNzr/P--