summaryrefslogtreecommitdiff
path: root/x11-misc/xdg-user-dirs-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xdg-user-dirs-gtk')
-rw-r--r--x11-misc/xdg-user-dirs-gtk/Manifest2
-rw-r--r--x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10-r1.ebuild24
2 files changed, 18 insertions, 8 deletions
diff --git a/x11-misc/xdg-user-dirs-gtk/Manifest b/x11-misc/xdg-user-dirs-gtk/Manifest
index fa06a53446d0..c7a07f252b43 100644
--- a/x11-misc/xdg-user-dirs-gtk/Manifest
+++ b/x11-misc/xdg-user-dirs-gtk/Manifest
@@ -1,3 +1,3 @@
DIST xdg-user-dirs-gtk-0.10.tar.xz 116528 BLAKE2B f86237859636046ecc72bdd62ee5c6a3726ad701aabe04f14bff6541554d3e9de82265cb95b353714adba5d6c8742f94150df9b6f3e4043db9e6885e61e569c1 SHA512 c3ef070244cd1c87312c2c2602dbe7bc3dd26eed632b0d8d779580d7ee6259efdda453ab7bdf4415cc72fad7a74d9dd36476189fe446d5627e4db75d905302f5
-EBUILD xdg-user-dirs-gtk-0.10-r1.ebuild 1111 BLAKE2B 5abdbd8773c2f83c1076ce5a8b2073c1e00343c0ec7752e84ae016fc8577b1b2b671971c37e532797ffaefac5c60e7dde8c7ebb03233036475ee0dae99e6d236 SHA512 7a46fc7f040c7b9d873c1cdc0942ffb1d6ffbc281bfce3e4b17814c1e527adc0bc99606bcec7e1f2a1a14c4b35313f93d75dbdb6faf4e8e7e00e425ec5868c87
+EBUILD xdg-user-dirs-gtk-0.10-r1.ebuild 1412 BLAKE2B da64628f1729724aa072cf3171cc1a7523f40c0164ad6c741fad9afaa23f75bf1771db6199487f18330eddc98f99626d2dcc8cfcf2df11c60065082905f2bd68 SHA512 c337e6c93510b951cb1480ba12df9194dfa3768602bf3d0a3b087e8a383c1ea5d9142d501a1852691ac044f9fa15f9906e1e7405a725aa9ceb775111ce57b112
MISC metadata.xml 232 BLAKE2B b8ca675b002ba96d45a3afe7b6dd9f0e74d21db87eb002f72bae4e23fd49602115a18b372084596fdc09c3dccef80ae95ab540dad93fdf5dab0c9fb34f5d28db SHA512 21ba416ac701f1c9deb55d07f8afbf9da930fb04d274d84c5cf0df5e549554059959228ee6a4b8523d985fe0762af1a7c36aaefcb0e5b3c7baa5866e2841cfb4
diff --git a/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10-r1.ebuild b/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10-r1.ebuild
index d433d5e80cee..2d9acf66e618 100644
--- a/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10-r1.ebuild
+++ b/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit gnome.org readme.gentoo-r1
+EAPI=7
+inherit gnome.org readme.gentoo-r1 toolchain-funcs
DESCRIPTION="Integrates xdg-user-dirs into the Gnome desktop and Gtk+ applications"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
@@ -10,14 +10,14 @@ HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
-IUSE=""
RDEPEND="
dev-libs/glib
- >=x11-misc/xdg-user-dirs-0.14
>=x11-libs/gtk+-3.5.1:3
+ >=x11-misc/xdg-user-dirs-0.14
"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
dev-util/intltool
virtual/pkgconfig
"
@@ -30,15 +30,25 @@ DOC_CONTENTS="
"
src_prepare() {
- default_src_prepare
+ default
sed -i \
-e '/Encoding/d' \
-e 's:OnlyShowIn=GNOME;LXDE;Unity;:NotShowIn=KDE;:' \
user-dirs-update-gtk.desktop.in || die
}
+src_configure() {
+ local -a myeconfargs=(
+ # Skip configure.ac disabling the cross-compiling pkg-config.
+ ac_cv_path_PKG_CONFIG="$(tc-getPKG_CONFIG)"
+ # Skip searching for this program in the CBUILD root.
+ XDG_USER_DIRS_UPDATE="${EPREFIX}/usr/bin/xdg-user-dirs-update"
+ )
+ econf "${myeconfargs[@]}"
+}
+
src_install() {
- default_src_install
+ default
readme.gentoo_create_doc
}