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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2FE151382C5 for ; Fri, 22 Jan 2021 01:41:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAD63E08D3; Fri, 22 Jan 2021 01:41:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 93D0BE08D3 for ; Fri, 22 Jan 2021 01:41:53 +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 2FD73340E94 for ; Fri, 22 Jan 2021 01:41:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4AD294A6 for ; Fri, 22 Jan 2021 01:41:48 +0000 (UTC) From: "Sam James" 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" Message-ID: <1611279596.43641e27f87ff82f7cfa94d29b2cc6be4402e7fc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/libsmacker/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-games/libsmacker/Manifest dev-games/libsmacker/libsmacker-1.1.1.ebuild dev-games/libsmacker/libsmacker-1.1.1_p35.ebuild X-VCS-Directories: dev-games/libsmacker/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 43641e27f87ff82f7cfa94d29b2cc6be4402e7fc X-VCS-Branch: master Date: Fri, 22 Jan 2021 01:41:48 +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: 4c949719-fc02-44ca-bcfa-7fb3c1c89b83 X-Archives-Hash: 23115d491914c1803253aeb268d0a56e commit: 43641e27f87ff82f7cfa94d29b2cc6be4402e7fc Author: Sam James gentoo org> AuthorDate: Fri Jan 22 00:54:40 2021 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jan 22 01:39:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43641e27 dev-games/libsmacker: various fixups * Rename to _pN * Style changes * Drop static libs (.a) and libtool files (.la) Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-games/libsmacker/Manifest | 2 +- ...{libsmacker-1.1.1.ebuild => libsmacker-1.1.1_p35.ebuild} | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/dev-games/libsmacker/Manifest b/dev-games/libsmacker/Manifest index 56413ec12bd..b592a3102e2 100644 --- a/dev-games/libsmacker/Manifest +++ b/dev-games/libsmacker/Manifest @@ -1 +1 @@ -DIST libsmacker-1.1.1.tar.gz 27554 BLAKE2B d8735518d2e6c6dc2b03d5781fb7d58862ff59c7452e91eeea913c619ff4e22b9b01f5cc1512329a1678406f98844c09125caede1a963b0c690bfc8f6a60e367 SHA512 beeece71fe35a9d2554e082245f1f600e211f1431c2162c83d6bd1b378867f211f5687ad359ed5e035c0376cfa28a58651532f1dc58863fae8e0da4540283c33 +DIST libsmacker-1.1.1_p35.tar.gz 27554 BLAKE2B d8735518d2e6c6dc2b03d5781fb7d58862ff59c7452e91eeea913c619ff4e22b9b01f5cc1512329a1678406f98844c09125caede1a963b0c690bfc8f6a60e367 SHA512 beeece71fe35a9d2554e082245f1f600e211f1431c2162c83d6bd1b378867f211f5687ad359ed5e035c0376cfa28a58651532f1dc58863fae8e0da4540283c33 diff --git a/dev-games/libsmacker/libsmacker-1.1.1.ebuild b/dev-games/libsmacker/libsmacker-1.1.1_p35.ebuild similarity index 59% rename from dev-games/libsmacker/libsmacker-1.1.1.ebuild rename to dev-games/libsmacker/libsmacker-1.1.1_p35.ebuild index aaccb8e8dab..2e8ee41e9c8 100644 --- a/dev-games/libsmacker/libsmacker-1.1.1.ebuild +++ b/dev-games/libsmacker/libsmacker-1.1.1_p35.ebuild @@ -7,13 +7,22 @@ inherit autotools DESCRIPTION="A cross-platform C library for decoding .smk Smacker Video files." HOMEPAGE="http://libsmacker.sourceforge.net" -SRC_URI="https://sourceforge.net/projects/libsmacker/files/libsmacker-1.1/${P}r35.tar.gz/download -> ${P}.tar.gz" +SRC_URI="https://sourceforge.net/projects/libsmacker/files/libsmacker-$(ver_cut 1-2)/${P/_p/r}.tar.gz/download -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-$(ver_cut 1-3)" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64" -src_prepare(){ +src_prepare() { default eautoreconf } + +src_install() { + default + + # No .la files or static libraries + find "${ED}" -name '*.la' -delete || die + find "${ED}" -name '*.a' -delete || die +}