Diff xdg-user-dirs-gtk-0.11 with a xdg-user-dirs-gtk-0.14
| /usr/portage/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.14.ebuild 2025-07-29 16:22:17.972470390 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2022 Gentoo Authors |
|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 |
inherit gnome.org readme.gentoo-r1 toolchain-funcs |
|
| 5 | ||
| 6 |
inherit gnome.org meson readme.gentoo-r1 |
|
| 6 | 7 | |
| 7 | 8 |
DESCRIPTION="Integrates xdg-user-dirs into the Gnome desktop and Gtk+ applications" |
| 8 | 9 |
HOMEPAGE="https://gitlab.gnome.org/GNOME/xdg-user-dirs-gtk" |
| 9 | 10 | |
| 10 |
LICENSE="GPL-2" |
|
| 11 |
LICENSE="GPL-2+" |
|
| 11 | 12 |
SLOT="0" |
| 12 | 13 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" |
| 13 | 14 | |
| ... | ... | |
| 18 | 19 |
" |
| 19 | 20 |
DEPEND="${RDEPEND}"
|
| 20 | 21 |
BDEPEND=" |
| 21 |
dev-util/intltool |
|
| 22 |
sys-devel/gettext |
|
| 22 | 23 |
virtual/pkgconfig |
| 23 | 24 |
" |
| 24 | 25 | |
| 25 | 26 |
DOC_CONTENTS=" |
| 26 | 27 |
This package tries to automatically use some sensible default |
| 27 |
directories for your documents, music, video and other stuff. |
|
| 28 |
directories for your documents, music, video, and other stuff. |
|
| 28 | 29 |
If you want to change those directories to your needs, see |
| 29 | 30 |
the settings in ~/.config/user-dirs.dirs |
| 30 | 31 |
" |
| ... | ... | |
| 37 | 38 |
user-dirs-update-gtk.desktop.in || die |
| 38 | 39 |
} |
| 39 | 40 | |
| 40 |
src_configure() {
|
|
| 41 |
local -a myeconfargs=( |
|
| 42 |
# Skip configure.ac disabling the cross-compiling pkg-config. |
|
| 43 |
ac_cv_path_PKG_CONFIG="$(tc-getPKG_CONFIG)" |
|
| 44 |
# Skip searching for this program in the CBUILD root. |
|
| 45 |
XDG_USER_DIRS_UPDATE="${EPREFIX}/usr/bin/xdg-user-dirs-update"
|
|
| 46 |
) |
|
| 47 |
econf "${myeconfargs[@]}"
|
|
| 48 |
} |
|
| 49 | ||
| 50 | 41 |
src_install() {
|
| 51 |
default |
|
| 42 |
meson_src_install |
|
| 52 | 43 |
readme.gentoo_create_doc |
| 53 | 44 |
} |
| 54 | 45 | |