From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1259157-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 9193913835A
	for <garchives@archives.gentoo.org>; Tue,  9 Mar 2021 09:49:13 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D12C7E091B;
	Tue,  9 Mar 2021 09:49:12 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id B82F6E091B
	for <gentoo-commits@lists.gentoo.org>; Tue,  9 Mar 2021 09:49:12 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id BE1BB335DB4
	for <gentoo-commits@lists.gentoo.org>; Tue,  9 Mar 2021 09:49:11 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6F6C458C
	for <gentoo-commits@lists.gentoo.org>; Tue,  9 Mar 2021 09:49:10 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1615283317.49bc18dfc6e5882cabb8b2d45ba47f0c63b41d66.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libebml/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-libs/libebml/libebml-1.4.2.ebuild
X-VCS-Directories: dev-libs/libebml/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 49bc18dfc6e5882cabb8b2d45ba47f0c63b41d66
X-VCS-Branch: master
Date: Tue,  9 Mar 2021 09:49:10 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 020d3ef4-21bd-4eff-8449-cc93aa671253
X-Archives-Hash: 780872ed5c037180e3008ecd6e6e55ad

commit:     49bc18dfc6e5882cabb8b2d45ba47f0c63b41d66
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  9 09:48:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  9 09:48:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49bc18df

dev-libs/libebml: tidy up ebuild

* Drop unnecessary src_prepare by moving eapply into PATCHES
* Drop unnecessary src_configure as shared libs implied by cmake.eclass

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libebml/libebml-1.4.2.ebuild | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/dev-libs/libebml/libebml-1.4.2.ebuild b/dev-libs/libebml/libebml-1.4.2.ebuild
index d70dba6ad08..4fb676d19f7 100644
--- a/dev-libs/libebml/libebml-1.4.2.ebuild
+++ b/dev-libs/libebml/libebml-1.4.2.ebuild
@@ -13,15 +13,6 @@ LICENSE="LGPL-2.1"
 SLOT="0/5" # subslot = soname major version
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 
-src_prepare() {
-	eapply "${FILESDIR}/${P}-header-fixes-for-gcc11.patch"
-	cmake_src_prepare
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DBUILD_SHARED_LIBS=YES
-	)
-
-	cmake_src_configure
-}
+PATCHES=(
+	"${FILESDIR}/${P}-header-fixes-for-gcc11.patch"
+)