From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/gsm/
Date: Sun, 20 Oct 2019 12:34:38 +0000 (UTC) [thread overview]
Message-ID: <1571574852.e2f76130d252cbbefd0173a4d5154b711f2401b5.soap@gentoo> (raw)
commit: e2f76130d252cbbefd0173a4d5154b711f2401b5
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Oct 6 23:29:47 2019 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 12:34:12 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2f76130
media-sound/gsm: do not install static libraries
Closes: https://github.com/gentoo/gentoo/pull/13069
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
media-sound/gsm/gsm-1.0.13-r1.ebuild | 28 +++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/media-sound/gsm/gsm-1.0.13-r1.ebuild b/media-sound/gsm/gsm-1.0.13-r1.ebuild
index 60550df0a10..13399780272 100644
--- a/media-sound/gsm/gsm-1.0.13-r1.ebuild
+++ b/media-sound/gsm/gsm-1.0.13-r1.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator
+EAPI=7
+
+inherit flag-o-matic multilib-minimal toolchain-funcs
DESCRIPTION="Lossy speech compression library and tool"
HOMEPAGE="https://packages.qa.debian.org/libg/libgsm.html"
@@ -11,24 +12,33 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="gsm"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86"
-IUSE=""
-S=${WORKDIR}/${PN}-"$(replace_version_separator 2 '-pl' )"
+S="${WORKDIR}/${PN}-$(ver_rs 2 '-pl' )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-shared.patch
+ "${FILESDIR}"/${PN}-1.0.12-memcpy.patch
+ "${FILESDIR}"/${PN}-1.0.12-64bit.patch
+)
DOCS=( ChangeLog MACHINES MANIFEST README )
src_prepare() {
- epatch "${FILESDIR}"/${P}-shared.patch \
- "${FILESDIR}"/${PN}-1.0.12-memcpy.patch \
- "${FILESDIR}"/${PN}-1.0.12-64bit.patch
+ default
+ sed -e 's/\$(GSM_INSTALL_LIB)\/libgsm.a //g' -i Makefile || die
+
multilib_copy_sources
}
-multilib_src_compile() {
+src_configure() {
# From upstream Makefile. Define this if your host multiplies
# floats faster than integers, e.g. on a SPARCstation.
use sparc && append-flags -DUSE_FLOAT_MUL -DFAST
+ multilib-minimal_src_compile
+}
+
+multilib_src_compile() {
emake -j1 CCFLAGS="${CFLAGS} -c -DNeedFunctionPrototypes=1" \
LD="$(tc-getCC)" AR="$(tc-getAR)" CC="$(tc-getCC)"
}
@@ -44,7 +54,7 @@ multilib_src_install() {
TOAST_INSTALL_MAN="${ED}"/usr/share/man/man1 \
install
- dolib lib/libgsm.so*
+ dolib.so lib/libgsm.so*
dosym ../gsm/gsm.h /usr/include/libgsm/gsm.h
}
next reply other threads:[~2019-10-20 12:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-20 12:34 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-17 3:10 [gentoo-commits] repo/gentoo:master commit in: media-sound/gsm/ Sam James
2023-03-04 8:17 Arthur Zamarin
2023-03-04 7:19 Arthur Zamarin
2023-03-04 7:04 Arthur Zamarin
2023-03-04 6:17 Arthur Zamarin
2023-03-04 5:48 Arthur Zamarin
2023-03-04 5:48 Arthur Zamarin
2023-03-04 5:47 Arthur Zamarin
2022-05-26 5:20 WANG Xuerui
2021-08-10 8:58 Yixun Lan
2019-10-20 12:38 David Seifert
2019-06-08 13:27 James Le Cuirot
2017-09-23 6:46 Jeroen Roovers
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=1571574852.e2f76130d252cbbefd0173a4d5154b711f2401b5.soap@gentoo \
--to=soap@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