From efda5cfd6ad2b8df51df11403a34b173a8a03e39 Mon Sep 17 00:00:00 2001 From: Stefan Schweizer Date: Thu, 8 Mar 2007 09:51:42 +0000 Subject: [PATCH] Do not use eclass vars before pkg_setup, bug 168051 Package-Manager: portage-2.1.2-r12 --- media-tv/rivatv/ChangeLog | 6 +++++- media-tv/rivatv/Manifest | 24 ++++++++++++------------ media-tv/rivatv/rivatv-0.8.6-r1.ebuild | 10 +++++++--- media-tv/rivatv/rivatv-0.8.6.ebuild | 10 +++++++--- 4 files changed, 31 insertions(+), 19 deletions(-) diff --git a/media-tv/rivatv/ChangeLog b/media-tv/rivatv/ChangeLog index 236e457b73e7..feba07c60518 100644 --- a/media-tv/rivatv/ChangeLog +++ b/media-tv/rivatv/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-tv/rivatv # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/rivatv/ChangeLog,v 1.16 2007/02/22 01:39:07 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/rivatv/ChangeLog,v 1.17 2007/03/08 09:51:42 genstef Exp $ + + 08 Mar 2007; rivatv-0.8.6.ebuild, + rivatv-0.8.6-r1.ebuild: + Do not use eclass vars before pkg_setup, bug 168051 22 Feb 2007; Piotr Jaroszyński ChangeLog: Transition to Manifest2. diff --git a/media-tv/rivatv/Manifest b/media-tv/rivatv/Manifest index 36c304e3cc56..4a58bbc4a1d9 100644 --- a/media-tv/rivatv/Manifest +++ b/media-tv/rivatv/Manifest @@ -4,18 +4,18 @@ RMD160 e5f7b477cdbe395ac670325ee9e3d0d5e0996316 files/rivatv-0.8.6-tuner.patch 5 SHA256 d6f307f33f2a44bf66cc7910ac441e9f775656988e09d1fba38ae6fca53b1a24 files/rivatv-0.8.6-tuner.patch 508 DIST rivatv-0.8.6.tar.gz 203401 RMD160 a1ef6955829ab620ec6e9e8dd2dfb88eb0d25ea5 SHA1 68163663e2615007c3062b33ce94c667897ca03f SHA256 718a8c4993e9cfb0909fc6d5bdb444b3ee22afe171691df47fbe3b463d638a7e DIST rivatv-linux-2.6.14.patch.gz 23949 RMD160 fd3078aa9a5193b086e87a4bc479661b2955b8b2 SHA1 f913ed48969ec3fd5f15183e8f9f5522d0e3a87f SHA256 5999bb4a59354a4414597ea05b68b5ff18d795139dc5ee8ed79064ea3315d523 -EBUILD rivatv-0.8.6-r1.ebuild 1716 RMD160 2f92272fe6d42a6d7ccf641fa0d5382785d33b1c SHA1 193b624bff98ee8027cf0c2912812767bc52a4f3 SHA256 7256a03a02c4d055f189a1d76fd354ed1150d2726f788a034e18f535ff789129 -MD5 2f02b1111767cc096beb1339f21fa9ea rivatv-0.8.6-r1.ebuild 1716 -RMD160 2f92272fe6d42a6d7ccf641fa0d5382785d33b1c rivatv-0.8.6-r1.ebuild 1716 -SHA256 7256a03a02c4d055f189a1d76fd354ed1150d2726f788a034e18f535ff789129 rivatv-0.8.6-r1.ebuild 1716 -EBUILD rivatv-0.8.6.ebuild 1549 RMD160 8f490c5d6d5559bd53f5836b8151f2ecc597cd7a SHA1 2fe204855dc9348d9c622fd84ceeab735fc29afb SHA256 b964369334b6a4d977bcf9e30cfd2af4d6bff60ab2581d590da8597a68632122 -MD5 4ccf2019460426667498574453a52a1e rivatv-0.8.6.ebuild 1549 -RMD160 8f490c5d6d5559bd53f5836b8151f2ecc597cd7a rivatv-0.8.6.ebuild 1549 -SHA256 b964369334b6a4d977bcf9e30cfd2af4d6bff60ab2581d590da8597a68632122 rivatv-0.8.6.ebuild 1549 -MISC ChangeLog 4122 RMD160 15bab1dd522b6bd6f1f31637e3e8ff141578bdfa SHA1 7545ff87e731f97bfef062b1aeabcaebf60eae2c SHA256 d97b161812ce295ac96f5ea3b898337ca5b95fa5db5bcd8372e1f60e0d4c70e8 -MD5 d831ce6962e276731e42098715c0ad5f ChangeLog 4122 -RMD160 15bab1dd522b6bd6f1f31637e3e8ff141578bdfa ChangeLog 4122 -SHA256 d97b161812ce295ac96f5ea3b898337ca5b95fa5db5bcd8372e1f60e0d4c70e8 ChangeLog 4122 +EBUILD rivatv-0.8.6-r1.ebuild 1754 RMD160 e3b2679c58e049772b6e5c2c0a3b72242f6ea211 SHA1 1a32ba2deadb0851df1af5108b1bd7769816b5d1 SHA256 1eaeafbb60f9bcc26d26b091de47b87e3d3e833cd6ddc486213ac0d3275d6843 +MD5 e650817ebe915363eb85e04f4f92e3e7 rivatv-0.8.6-r1.ebuild 1754 +RMD160 e3b2679c58e049772b6e5c2c0a3b72242f6ea211 rivatv-0.8.6-r1.ebuild 1754 +SHA256 1eaeafbb60f9bcc26d26b091de47b87e3d3e833cd6ddc486213ac0d3275d6843 rivatv-0.8.6-r1.ebuild 1754 +EBUILD rivatv-0.8.6.ebuild 1587 RMD160 77c24845aeb92e78655df70036ed5092d5b5ad4a SHA1 7b42cb3c4f65a41a39951df1e313be5e90037381 SHA256 672a58400f9a267a65d480dc89effdc15a5ed29aa27a96ffb94ff99cba7bcae9 +MD5 4f4bc3836a6bd8d99c36365d4442bd70 rivatv-0.8.6.ebuild 1587 +RMD160 77c24845aeb92e78655df70036ed5092d5b5ad4a rivatv-0.8.6.ebuild 1587 +SHA256 672a58400f9a267a65d480dc89effdc15a5ed29aa27a96ffb94ff99cba7bcae9 rivatv-0.8.6.ebuild 1587 +MISC ChangeLog 4262 RMD160 c9ef899062b96c5e0cf93faf451fe1b2468e5161 SHA1 d81955c579b3d737342d8bbc6a180984d7f3df32 SHA256 abdef8788b957c18d32ecca444976f865e7e664fa11915305ab6b89bb5c1a7ce +MD5 91132796ae518d639eb30395864b7b0e ChangeLog 4262 +RMD160 c9ef899062b96c5e0cf93faf451fe1b2468e5161 ChangeLog 4262 +SHA256 abdef8788b957c18d32ecca444976f865e7e664fa11915305ab6b89bb5c1a7ce ChangeLog 4262 MISC metadata.xml 161 RMD160 fee76f69ba822cd04301c58fa0c26ecaf8cc8fb9 SHA1 0aee2176f15a238a6d8fbbf83e4e0fd58653a3fa SHA256 82d33b3ca60662bc745d30d53bb20d04ea588d5aae556ed16efcacdcc37fd4bd MD5 20e2255501865de5b568424821abf69d metadata.xml 161 RMD160 fee76f69ba822cd04301c58fa0c26ecaf8cc8fb9 metadata.xml 161 diff --git a/media-tv/rivatv/rivatv-0.8.6-r1.ebuild b/media-tv/rivatv/rivatv-0.8.6-r1.ebuild index 82ada1eac0f6..2795ecc8bd23 100644 --- a/media-tv/rivatv/rivatv-0.8.6-r1.ebuild +++ b/media-tv/rivatv/rivatv-0.8.6-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/rivatv/rivatv-0.8.6-r1.ebuild,v 1.1 2005/11/16 16:50:52 blauwers Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/rivatv/rivatv-0.8.6-r1.ebuild,v 1.2 2007/03/08 09:51:42 genstef Exp $ inherit linux-mod toolchain-funcs eutils @@ -20,10 +20,14 @@ CONFIG_CHECK="VIDEO_DEV I2C_ALGOBIT" MODULE_NAMES="tuner(media/video:${S}:${S}/bttv) tvmixer(media/video:${S}:${S}/bttv) tvaudio(media/video:${S}:${S}/bttv) rivatv(media/video:${S}:${S}/src) \ saa7108e(media/video:${S}:${S}/src) saa7111a(media/video:${S}:${S}/src) saa7113h(media/video:${S}:${S}/src) saa7174hl(media/video:${S}:${S}/src) \ tw98(media/video:${S}:${S}/src) vpx32xx(media/video:${S}:${S}/src)" -BUILD_PARAMS="KSRC=${ROOT}${KV_DIR} KVERS=${KV_MAJOR}${KV_MINOR}" BUILD_TARGETS="all" MODULESD_TUNER_ALIASES=("/dev/video0 char-major-81" "/dev/video1 char-major-81" "/dev/video2 char-major-81" "/dev/video3 char-major-81") +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KSRC=${ROOT}${KV_DIR} KVERS=${KV_MAJOR}${KV_MINOR}" +} + src_unpack() { unpack ${A} diff --git a/media-tv/rivatv/rivatv-0.8.6.ebuild b/media-tv/rivatv/rivatv-0.8.6.ebuild index f8634edb6a44..9218c3a3a133 100644 --- a/media-tv/rivatv/rivatv-0.8.6.ebuild +++ b/media-tv/rivatv/rivatv-0.8.6.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/rivatv/rivatv-0.8.6.ebuild,v 1.3 2005/11/03 23:23:23 blauwers Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/rivatv/rivatv-0.8.6.ebuild,v 1.4 2007/03/08 09:51:42 genstef Exp $ inherit linux-mod toolchain-funcs @@ -19,10 +19,14 @@ CONFIG_CHECK="VIDEO_DEV I2C_ALGOBIT" MODULE_NAMES="tuner(media/video:${S}:${S}/bttv) tvmixer(media/video:${S}:${S}/bttv) tvaudio(media/video:${S}:${S}/bttv) rivatv(media/video:${S}:${S}/src) \ saa7108e(media/video:${S}:${S}/src) saa7111a(media/video:${S}:${S}/src) saa7113h(media/video:${S}:${S}/src) saa7174hl(media/video:${S}:${S}/src) \ tw98(media/video:${S}:${S}/src) vpx32xx(media/video:${S}:${S}/src)" -BUILD_PARAMS="KSRC=${ROOT}${KV_DIR} KVERS=${KV_MAJOR}${KV_MINOR}" BUILD_TARGETS="all" MODULESD_TUNER_ALIASES=("/dev/video0 char-major-81" "/dev/video1 char-major-81" "/dev/video2 char-major-81" "/dev/video3 char-major-81") +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KSRC=${ROOT}${KV_DIR} KVERS=${KV_MAJOR}${KV_MINOR}" +} + src_unpack() { unpack ${A} -- 2.26.2