public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-gfx/silicon/
Date: Mon,  2 Dec 2024 10:48:33 +0000 (UTC)	[thread overview]
Message-ID: <1733061689.bd0b7e1df8f4025a34d57fde9a7019c62115e912.davidroman@gentoo> (raw)

commit:     bd0b7e1df8f4025a34d57fde9a7019c62115e912
Author:     YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red>
AuthorDate: Sun Dec  1 14:01:29 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sun Dec  1 14:01:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bd0b7e1d

media-gfx/silicon: patch in src_prepare rather than in src_configure

Signed-off-by: YOSHIOKA Takuma <lo48576 <AT> hard-wi.red>

 media-gfx/silicon/silicon-0.5.2-r1.ebuild | 9 +++++----
 media-gfx/silicon/silicon-0.5.2-r2.ebuild | 9 ++++++---
 media-gfx/silicon/silicon-0.5.3.ebuild    | 9 +++++----
 3 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/media-gfx/silicon/silicon-0.5.2-r1.ebuild b/media-gfx/silicon/silicon-0.5.2-r1.ebuild
index fe384972e..191835959 100644
--- a/media-gfx/silicon/silicon-0.5.2-r1.ebuild
+++ b/media-gfx/silicon/silicon-0.5.2-r1.ebuild
@@ -230,11 +230,12 @@ pkg_setup() {
 	rust_pkg_setup
 }
 
-src_unpack() {
-	cargo_src_unpack
-
+src_prepare() {
 	# Apply patch <https://github.com/rust-x-bindings/rust-xcb/pull/87> for python 3.9 and above.
-	( cd "${WORKDIR}"/cargo_home/gentoo/xcb-0.8.2 && eapply "${FILESDIR}"/rust-xcb-0.8.2-python-3.9.patch )
+	( cd "${WORKDIR}"/cargo_home/gentoo/xcb-0.8.2 && \
+		eapply "${FILESDIR}"/rust-xcb-0.8.2-python-3.9.patch )
+
+	default_src_prepare
 }
 
 src_install() {

diff --git a/media-gfx/silicon/silicon-0.5.2-r2.ebuild b/media-gfx/silicon/silicon-0.5.2-r2.ebuild
index 4905a55bd..2c218ae03 100644
--- a/media-gfx/silicon/silicon-0.5.2-r2.ebuild
+++ b/media-gfx/silicon/silicon-0.5.2-r2.ebuild
@@ -231,11 +231,14 @@ pkg_setup() {
 	rust_pkg_setup
 }
 
-src_unpack() {
+src_prepare() {
 	cargo_src_unpack
 
-	# Apply patch <https://github.com/rtbo/rust-xcb/pull/87> for python 3.9 support.
-	( cd "${WORKDIR}"/cargo_home/gentoo/xcb-0.8.2 && eapply "${FILESDIR}"/rust-xcb-0.8.2-python-3.9.patch )
+	# Apply patch <https://github.com/rust-x-bindings/rust-xcb/pull/87> for python 3.9 and above.
+	( cd "${WORKDIR}"/cargo_home/gentoo/xcb-0.8.2 \
+		&& eapply "${FILESDIR}"/rust-xcb-0.8.2-python-3.9.patch )
+
+	default_src_prepare
 }
 
 src_compile() {

diff --git a/media-gfx/silicon/silicon-0.5.3.ebuild b/media-gfx/silicon/silicon-0.5.3.ebuild
index 58e9f1359..52f95b697 100644
--- a/media-gfx/silicon/silicon-0.5.3.ebuild
+++ b/media-gfx/silicon/silicon-0.5.3.ebuild
@@ -254,11 +254,12 @@ pkg_setup() {
 	rust_pkg_setup
 }
 
-src_unpack() {
-	cargo_src_unpack
+src_prepare() {
+	# Apply patch <https://github.com/rust-x-bindings/rust-xcb/pull/87> for python 3.9 and above.
+	( cd "${WORKDIR}"/cargo_home/gentoo/xcb-0.8.2 && \
+		eapply "${FILESDIR}"/rust-xcb-0.8.2-python-3.9.patch )
 
-	# Apply patch <https://github.com/rtbo/rust-xcb/pull/87> for python 3.9 support.
-	( cd "${WORKDIR}"/cargo_home/gentoo/xcb-0.8.2 && eapply "${FILESDIR}"/rust-xcb-0.8.2-python-3.9.patch )
+	default_src_prepare
 }
 
 src_compile() {


             reply	other threads:[~2024-12-02 10:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-02 10:48 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-02 10:48 [gentoo-commits] repo/proj/guru:master commit in: media-gfx/silicon/ David Roman
2024-12-02 10:48 David Roman
2024-12-02 10:48 David Roman
2024-12-02 10:48 David Roman
2024-05-07 23:12 Julien Roy
2023-11-30 10:44 Andrew Ammerlaan
2023-02-25 20:43 Florian Schmaus
2022-10-17 11:26 Haelwenn Monnier
2021-04-08 10:12 Andrew Ammerlaan
2021-03-05 12:10 Andrew Ammerlaan
2021-01-23 11:49 Michał Górny
2020-12-04 15:00 Andrew Ammerlaan
2020-09-15  8:37 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1733061689.bd0b7e1df8f4025a34d57fde9a7019c62115e912.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox