From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-945817-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 4A9C1139694 for <garchives@archives.gentoo.org>; Mon, 24 Apr 2017 18:58:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A437FE0C52; Mon, 24 Apr 2017 18:58:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E8A1E0C52 for <gentoo-commits@lists.gentoo.org>; Mon, 24 Apr 2017 18:58:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 2E11633E4AD for <gentoo-commits@lists.gentoo.org>; Mon, 24 Apr 2017 18:58:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 967417434 for <gentoo-commits@lists.gentoo.org>; Mon, 24 Apr 2017 18:58:36 +0000 (UTC) From: "Jeroen Roovers" <jer@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, "Jeroen Roovers" <jer@gentoo.org> Message-ID: <1493060315.baac7ebc97dcaf1f3df4a7b9d44aba497f425be3.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/resid/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/resid/resid-0.16_p2-r1.ebuild X-VCS-Directories: media-libs/resid/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: baac7ebc97dcaf1f3df4a7b9d44aba497f425be3 X-VCS-Branch: master Date: Mon, 24 Apr 2017 18:58:36 +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-Archives-Salt: 811c1d7f-cad3-4237-8a58-91a7a196e835 X-Archives-Hash: b0a913e57e8a09adf198ba6f405a2f6a commit: baac7ebc97dcaf1f3df4a7b9d44aba497f425be3 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Mon Apr 24 18:47:45 2017 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Mon Apr 24 18:58:35 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baac7ebc media-libs/resid: Add multilib support. Package-Manager: Portage-2.3.5, Repoman-2.3.2 media-libs/resid/resid-0.16_p2-r1.ebuild | 46 ++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/media-libs/resid/resid-0.16_p2-r1.ebuild b/media-libs/resid/resid-0.16_p2-r1.ebuild new file mode 100644 index 00000000000..aff86979f43 --- /dev/null +++ b/media-libs/resid/resid-0.16_p2-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils multilib-minimal versionator + +MY_MAJ=$(get_version_component_range 1-2) + +DESCRIPTION="C++ library to emulate the C64 SID chip" +HOMEPAGE="http://sidplay2.sourceforge.net" +SRC_URI="mirror://sourceforge/sidplay2/${P/_p/-p}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="static-libs" + +S=${WORKDIR}/${PN}-${MY_MAJ} + +DOCS=( + AUTHORS ChangeLog NEWS README THANKS TODO VC_CC_SUPPORT.txt +) + +src_prepare() { + default + + # This is required, otherwise the shared libraries get installed as + # libresid.0.0.0 instead of libresid.so.0.0.0. + eautoreconf + + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + $(use_enable static-libs static) \ + --disable-dependency-tracking \ + --enable-resid-install \ + --enable-shared +} + +multilib_src_install() { + default + + prune_libtool_files +}