x11-misc/xdg-user-dirs-gtk: add 0.14

Another intltool consumer gone!

Also, update LICENSE to GPL-2+ per meson.build.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-02-16 08:03:49 +00:00
parent 25dd538634
commit a5f55e56e9
2 changed files with 49 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST xdg-user-dirs-gtk-0.11.tar.xz 126488 BLAKE2B 45b8c3ab0b43214a1c1b39d368a283fb566bee115549468eb85e1e9e5407025690dbe320698df107523a3ea0d7cd8d0d3ef8d2296c80c79a74863d50eb581581 SHA512 2a650c6372126f807ac90fb0508e1b11636b38b5960a3037b547e9f1bb1a6b82653f20da7d5aae1144eebec040e3af89a02fbf70c1768724019b384f6d9cf85a
DIST xdg-user-dirs-gtk-0.14.tar.xz 49564 BLAKE2B 9a7bd40c9e063b05dc4bdd401f79b7d473c6165b894ce84d86ba73ba70333de041b1bdb0bd59040b94f6993eb0d607673e6cef946b6d21e8731611a124f9436e SHA512 37c255650d57dc6f3dddb1cea592891ec0f883f63a6e01e6c2339bf325ca1aa35a59c5502fd1c8edb6abb569f12ac9e19f8de5f639779dae0e5ebc42ef9aade1

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome.org meson readme.gentoo-r1
DESCRIPTION="Integrates xdg-user-dirs into the Gnome desktop and Gtk+ applications"
HOMEPAGE="https://gitlab.gnome.org/GNOME/xdg-user-dirs-gtk"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
dev-libs/glib:2
>=x11-libs/gtk+-3.5.1:3
>=x11-misc/xdg-user-dirs-0.14
"
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/gettext
virtual/pkgconfig
"
DOC_CONTENTS="
This package tries to automatically use some sensible default
directories for your documents, music, video, and other stuff.
If you want to change those directories to your needs, see
the settings in ~/.config/user-dirs.dirs
"
src_prepare() {
default
sed -i \
-e '/Encoding/d' \
-e 's:OnlyShowIn=GNOME;LXDE;Unity;:NotShowIn=KDE;:' \
user-dirs-update-gtk.desktop.in || die
}
src_install() {
meson_src_install
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}