public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matthew Smith" <matthew@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Sereal-Decoder/
Date: Sat,  4 Jun 2022 19:49:55 +0000 (UTC)	[thread overview]
Message-ID: <1654372166.bb88134e0de08bf417c06beb9af45635945cc0cc.matthew@gentoo> (raw)

commit:     bb88134e0de08bf417c06beb9af45635945cc0cc
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  4 09:00:40 2022 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sat Jun  4 19:49:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb88134e

dev-perl/Sereal-Decoder: Use miniz pkg-config file

Bug: https://bugs.gentoo.org/849578
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 .../Sereal-Decoder/Sereal-Decoder-4.23.0-r1.ebuild | 61 ++++++++++++++++++++++
 1 file changed, 61 insertions(+)

diff --git a/dev-perl/Sereal-Decoder/Sereal-Decoder-4.23.0-r1.ebuild b/dev-perl/Sereal-Decoder/Sereal-Decoder-4.23.0-r1.ebuild
new file mode 100644
index 000000000000..1570f492ae58
--- /dev/null
+++ b/dev-perl/Sereal-Decoder/Sereal-Decoder-4.23.0-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=YVES
+DIST_VERSION=4.023
+inherit edo perl-module toolchain-funcs
+
+DESCRIPTION="Fast, compact, powerful binary deserialization"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	virtual/perl-XSLoader
+	app-arch/csnappy:=
+	app-arch/zstd:=
+	>=dev-libs/miniz-2.2.0-r1:=
+"
+DEPEND="
+	app-arch/csnappy:=
+	app-arch/zstd:=
+	>=dev-libs/miniz-2.2.0-r1:=
+"
+BDEPEND="${RDEPEND}
+	>=virtual/perl-ExtUtils-MakeMaker-7.0
+	>=virtual/perl-ExtUtils-ParseXS-2.210.0
+	virtual/perl-File-Path
+	test? (
+		virtual/perl-Data-Dumper
+		virtual/perl-File-Spec
+		virtual/perl-Scalar-List-Utils
+		dev-perl/Test-Deep
+		dev-perl/Test-Differences
+		dev-perl/Test-LongString
+		>=virtual/perl-Test-Simple-0.880.0
+		dev-perl/Test-Warn
+	)
+"
+
+src_prepare() {
+	local bundled_lib
+	for bundled_lib in inc/Devel snappy miniz{.c,.h} zstd ; do
+		edo rm -r ${bundled_lib}
+	done
+
+	sed -i -e "/miniz.*OBJ_EXT/d" inc/Sereal/BuildTools.pm || die
+
+	perl-module_src_prepare
+}
+
+src_compile() {
+	DIST_MAKE=(
+		  "INC=$($(tc-getPKG_CONFIG) --cflags miniz)"
+		  "OTHERLDFLAGS=$($(tc-getPKG_CONFIG) --libs miniz)"
+	)
+
+	perl-module_src_compile
+}


             reply	other threads:[~2022-06-04 19:49 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-04 19:49 Matthew Smith [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-11 14:42 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Sereal-Decoder/ Jakov Smolić
2025-01-10 11:44 Arthur Zamarin
2025-01-10  8:48 Arthur Zamarin
2025-01-10  4:41 WANG Xuerui
2025-01-10  4:17 Sam James
2025-01-10  4:17 Sam James
2023-08-02 13:19 Sam James
2023-07-24  4:03 Sam James
2023-06-18 23:46 Sam James
2023-01-13 14:09 Arthur Zamarin
2023-01-02  5:37 Sam James
2023-01-02  5:37 Sam James
2023-01-02  5:37 Sam James
2023-01-02  5:37 Sam James
2022-06-28 15:44 Arthur Zamarin
2022-06-20 17:57 Arthur Zamarin
2022-06-09 19:39 Arthur Zamarin
2022-06-06  0:54 Sam James
2022-06-05 12:47 Jakov Smolić
2022-06-04 21:03 Sam James
2022-06-04 20:00 Jakov Smolić
2022-06-04  1:17 Sam James
2022-06-04  0:06 Sam James
2021-08-06 19:33 Andreas K. Hüttel
2021-08-02  2:25 Sam James
2021-08-01  7:40 Sam James
2021-04-30 21:27 Andreas K. Hüttel
2018-07-21 12:27 Kent Fredric
2018-06-24 20:25 Sergei Trofimovich
2018-06-10 18:14 Sergei Trofimovich
2018-06-10 16:55 Thomas Deutschmann
2018-06-10 15:38 Aaron Bauman
2018-06-09 10:06 Sergei Trofimovich
2018-01-08 23:36 Kent Fredric
2016-12-08 19:09 Kent Fredric

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=1654372166.bb88134e0de08bf417c06beb9af45635945cc0cc.matthew@gentoo \
    --to=matthew@gentoo.org \
    --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