From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0C66A158086 for ; Thu, 23 Dec 2021 16:29:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 242D62BC03A; Thu, 23 Dec 2021 16:29:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 159F52BC03A for ; Thu, 23 Dec 2021 16:29:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B32B7342EDD for ; Thu, 23 Dec 2021 16:29:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7DD06D0 for ; Thu, 23 Dec 2021 16:29:17 +0000 (UTC) From: "Aisha Tammy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" Message-ID: <1640276935.1eee809c3bb4833241bab9dfcc03be164ec0d4fe.epsilon-0@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: app-arch/libdeflate/, app-arch/libdeflate/files/ X-VCS-Repository: proj/sci X-VCS-Files: app-arch/libdeflate/files/libdeflate-1.2-respect_EPREFIX.patch app-arch/libdeflate/libdeflate-1.8.ebuild X-VCS-Directories: app-arch/libdeflate/files/ app-arch/libdeflate/ X-VCS-Committer: epsilon-0 X-VCS-Committer-Name: Aisha Tammy X-VCS-Revision: 1eee809c3bb4833241bab9dfcc03be164ec0d4fe X-VCS-Branch: master Date: Thu, 23 Dec 2021 16:29:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 703c84db-e7f5-488b-b595-54b250656dc6 X-Archives-Hash: 2e753b44173376187cbb7bd4b986706a commit: 1eee809c3bb4833241bab9dfcc03be164ec0d4fe Author: Aisha Tammy aisha cc> AuthorDate: Tue Nov 9 19:57:21 2021 +0000 Commit: Aisha Tammy aisha cc> CommitDate: Thu Dec 23 16:28:55 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1eee809c app-arch/libdeflate: version bump to 1.8 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Aisha Tammy aisha.cc> .../files/libdeflate-1.2-respect_EPREFIX.patch | 2 +- app-arch/libdeflate/libdeflate-1.8.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/app-arch/libdeflate/files/libdeflate-1.2-respect_EPREFIX.patch b/app-arch/libdeflate/files/libdeflate-1.2-respect_EPREFIX.patch index a583d7d2e..790aa6de9 100644 --- a/app-arch/libdeflate/files/libdeflate-1.2-respect_EPREFIX.patch +++ b/app-arch/libdeflate/files/libdeflate-1.2-respect_EPREFIX.patch @@ -5,7 +5,7 @@ override CFLAGS := \ - $(CFLAGS) -O2 -fomit-frame-pointer -std=c99 -I. -Icommon \ -+ -O2 $(CFLAGS) -fomit-frame-pointer -std=c99 -I. -Icommon \ ++ $(CFLAGS) -fomit-frame-pointer -std=c99 -I. -Icommon \ -Wall -Wundef \ $(call cc-option,-Wpedantic) \ $(call cc-option,-Wdeclaration-after-statement) \ diff --git a/app-arch/libdeflate/libdeflate-1.8.ebuild b/app-arch/libdeflate/libdeflate-1.8.ebuild new file mode 100644 index 000000000..bfafcfecd --- /dev/null +++ b/app-arch/libdeflate/libdeflate-1.8.ebuild @@ -0,0 +1,28 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Heavily optimized DEFLATE/zlib/gzip (de)compression" +HOMEPAGE="https://github.com/ebiggers/libdeflate" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ebiggers/libdeflate" +else + SRC_URI="https://github.com/ebiggers/libdeflate/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +src_install() { + emake DESTDIR="${ED}" PREFIX=/usr LIBDIR="/usr/$(get_libdir)" install + if ! use static-libs; then + find "${ED}" -name '*.a' -delete || die + fi + dodoc NEWS README.md +}