From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/shared-mime-info/files/, x11-misc/shared-mime-info/
Date: Mon, 15 Jun 2020 20:06:25 +0000 (UTC) [thread overview]
Message-ID: <1592251579.1e87a64d415f618ab7773bf251f4a96a2932be8c.polynomial-c@gentoo> (raw)
commit: 1e87a64d415f618ab7773bf251f4a96a2932be8c
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 20:05:59 2020 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 20:06:19 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e87a64d
x11-misc/shared-mime-info: Use upstream patch for previous fix
Closes: https://bugs.gentoo.org/728404
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
...ared-mime-info-2.0-pkgconfig_install_path.patch | 22 ++++++++++++++++++++++
.../shared-mime-info-2.0-r2.ebuild | 9 ++++-----
2 files changed, 26 insertions(+), 5 deletions(-)
diff --git a/x11-misc/shared-mime-info/files/shared-mime-info-2.0-pkgconfig_install_path.patch b/x11-misc/shared-mime-info/files/shared-mime-info-2.0-pkgconfig_install_path.patch
new file mode 100644
index 00000000000..e694928728f
--- /dev/null
+++ b/x11-misc/shared-mime-info/files/shared-mime-info-2.0-pkgconfig_install_path.patch
@@ -0,0 +1,22 @@
+From 6bf9e4ff0fb7eff11a02bd937045bf5dc291841a Mon Sep 17 00:00:00 2001
+From: Bastien Nocera <hadess@hadess.net>
+Date: Wed, 6 May 2020 16:48:47 +0200
+Subject: [PATCH] data: Fix pkg-config installation path
+
+---
+ data/meson.build | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/data/meson.build b/data/meson.build
+index 25ce031..e22b544 100644
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -38,4 +38,5 @@ pkgconfig.generate(
+ name: 'shared-mime-info',
+ description: 'Freedesktop common MIME database',
+ version: meson.project_version(),
++ install_dir: get_option('datadir') / 'pkgconfig'
+ )
+--
+2.26.2
+
diff --git a/x11-misc/shared-mime-info/shared-mime-info-2.0-r2.ebuild b/x11-misc/shared-mime-info/shared-mime-info-2.0-r2.ebuild
index b21ac610129..dc5eca64624 100644
--- a/x11-misc/shared-mime-info/shared-mime-info-2.0-r2.ebuild
+++ b/x11-misc/shared-mime-info/shared-mime-info-2.0-r2.ebuild
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND}"
DOCS=( HACKING.md NEWS README.md )
+PATCHES=(
+ "${FILESDIR}/${P}-pkgconfig_install_path.patch" #728404
+)
+
src_install() {
meson_src_install
@@ -39,11 +43,6 @@ src_install() {
echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share\"" > "${T}"/50mimeinfo || die
doenvd "${T}"/50mimeinfo
fi
-
- # Move pkgconfig file to /usr/share/pkgconfig #728404
- dodir /usr/share/pkgconfig
- mv "${ED}"/usr/{$(get_libdir),share}/pkgconfig/${PN}.pc || die
- rm "${ED}"/usr/$(get_libdir) -r || die
}
pkg_postinst() {
next reply other threads:[~2020-06-15 20:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-15 20:06 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-11-21 23:39 [gentoo-commits] repo/gentoo:master commit in: x11-misc/shared-mime-info/files/, x11-misc/shared-mime-info/ Mike Gilbert
2023-10-19 13:12 Sam James
2024-02-06 3:31 Sam James
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=1592251579.1e87a64d415f618ab7773bf251f4a96a2932be8c.polynomial-c@gentoo \
--to=polynomial-c@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