From: "Craig Andrews" <candrews@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libudfread/
Date: Wed, 3 Jun 2020 19:08:38 +0000 (UTC) [thread overview]
Message-ID: <1591211311.3ac82734b02001568f19740a29aedb8030f6f0ad.candrews@gentoo> (raw)
commit: 3ac82734b02001568f19740a29aedb8030f6f0ad
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 3 19:05:02 2020 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Jun 3 19:08:31 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ac82734
dev-libs/libudfread: add static-libs USE flag
Closes: https://bugs.gentoo.org/726988
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
.../{libudfread-9999.ebuild => libudfread-1.0.0-r1.ebuild} | 11 +++++++++--
dev-libs/libudfread/libudfread-9999.ebuild | 11 +++++++++--
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/dev-libs/libudfread/libudfread-9999.ebuild b/dev-libs/libudfread/libudfread-1.0.0-r1.ebuild
similarity index 76%
copy from dev-libs/libudfread/libudfread-9999.ebuild
copy to dev-libs/libudfread/libudfread-1.0.0-r1.ebuild
index b3304062e6a..6dd66e41c5c 100644
--- a/dev-libs/libudfread/libudfread-9999.ebuild
+++ b/dev-libs/libudfread/libudfread-1.0.0-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://code.videolan.org/videolan/libudfread/-/archive/${PV}/${P}.tar.gz"
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Library for reading UDF from raw devices and image files"
@@ -18,7 +18,7 @@ HOMEPAGE="https://code.videolan.org/videolan/libudfread/"
LICENSE="LGPL-2.1+"
SLOT="0"
-IUSE=""
+IUSE="static-libs"
src_prepare() {
default
@@ -28,3 +28,10 @@ src_prepare() {
multilib_src_configure() {
ECONF_SOURCE="${S}" econf
}
+
+multilib_src_install_all() {
+ find "${D}" -name '*.la' -delete || die
+ if ! use static-libs ; then
+ find "${D}" -name '*.a' -delete || die
+ fi
+}
diff --git a/dev-libs/libudfread/libudfread-9999.ebuild b/dev-libs/libudfread/libudfread-9999.ebuild
index b3304062e6a..6dd66e41c5c 100644
--- a/dev-libs/libudfread/libudfread-9999.ebuild
+++ b/dev-libs/libudfread/libudfread-9999.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://code.videolan.org/videolan/libudfread/-/archive/${PV}/${P}.tar.gz"
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Library for reading UDF from raw devices and image files"
@@ -18,7 +18,7 @@ HOMEPAGE="https://code.videolan.org/videolan/libudfread/"
LICENSE="LGPL-2.1+"
SLOT="0"
-IUSE=""
+IUSE="static-libs"
src_prepare() {
default
@@ -28,3 +28,10 @@ src_prepare() {
multilib_src_configure() {
ECONF_SOURCE="${S}" econf
}
+
+multilib_src_install_all() {
+ find "${D}" -name '*.la' -delete || die
+ if ! use static-libs ; then
+ find "${D}" -name '*.a' -delete || die
+ fi
+}
next reply other threads:[~2020-06-03 19:08 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-03 19:08 Craig Andrews [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-24 21:03 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libudfread/ Andreas Sturmlechner
2023-03-22 5:30 Sam James
2021-08-21 8:44 Marek Szuba
2021-07-26 1:39 Sam James
2021-06-03 0:43 Sam James
2021-06-02 10:39 Sam James
2021-05-28 19:39 Agostino Sarubbo
2021-05-28 14:40 Sergei Trofimovich
2021-05-25 19:10 Agostino Sarubbo
2021-05-25 18:58 Agostino Sarubbo
2021-05-25 11:56 Sam James
2021-05-16 18:53 Sam James
2021-04-25 9:18 Sergei Trofimovich
2021-04-25 9:18 Sergei Trofimovich
2021-04-20 17:06 Sergei Trofimovich
2021-04-05 13:39 Craig Andrews
2021-03-29 14:50 Sam James
2020-10-31 20:27 Craig Andrews
2020-09-01 3:08 Sam James
2020-08-31 2:56 Craig Andrews
2020-08-04 15:11 Sam James
2020-06-30 13:51 Craig Andrews
2020-06-03 19:08 Craig Andrews
2020-05-06 1:01 Thomas Deutschmann
2020-04-11 19:58 Craig Andrews
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=1591211311.3ac82734b02001568f19740a29aedb8030f6f0ad.candrews@gentoo \
--to=candrews@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