diff options
author | Guillermo Joandet <gjoandet@gmail.com> | 2022-10-13 12:07:27 -0300 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-10-13 21:21:29 -0400 |
commit | 6ff91e98bd9da49155923fbb9b3b9cde7dda1de0 (patch) | |
tree | 2eb70d07e085669ec7b9eea3b128644852bd9483 /x11-misc | |
parent | www-servers/caddy: add 2.6.2 (diff) | |
download | gentoo-6ff91e98bd9da49155923fbb9b3b9cde7dda1de0.tar.gz gentoo-6ff91e98bd9da49155923fbb9b3b9cde7dda1de0.tar.bz2 gentoo-6ff91e98bd9da49155923fbb9b3b9cde7dda1de0.zip |
x11-misc/xdg-user-dirs-gtk: Version bump to 0.11
Closes: https://github.com/gentoo/gentoo/pull/27771
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/xdg-user-dirs-gtk/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.11.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/x11-misc/xdg-user-dirs-gtk/Manifest b/x11-misc/xdg-user-dirs-gtk/Manifest index 054a42dca717..80572cf4328a 100644 --- a/x11-misc/xdg-user-dirs-gtk/Manifest +++ b/x11-misc/xdg-user-dirs-gtk/Manifest @@ -1 +1,2 @@ DIST xdg-user-dirs-gtk-0.10.tar.xz 116528 BLAKE2B f86237859636046ecc72bdd62ee5c6a3726ad701aabe04f14bff6541554d3e9de82265cb95b353714adba5d6c8742f94150df9b6f3e4043db9e6885e61e569c1 SHA512 c3ef070244cd1c87312c2c2602dbe7bc3dd26eed632b0d8d779580d7ee6259efdda453ab7bdf4415cc72fad7a74d9dd36476189fe446d5627e4db75d905302f5 +DIST xdg-user-dirs-gtk-0.11.tar.xz 126488 BLAKE2B 45b8c3ab0b43214a1c1b39d368a283fb566bee115549468eb85e1e9e5407025690dbe320698df107523a3ea0d7cd8d0d3ef8d2296c80c79a74863d50eb581581 SHA512 2a650c6372126f807ac90fb0508e1b11636b38b5960a3037b547e9f1bb1a6b82653f20da7d5aae1144eebec040e3af89a02fbf70c1768724019b384f6d9cf85a diff --git a/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.11.ebuild b/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.11.ebuild new file mode 100644 index 000000000000..66289fc25a46 --- /dev/null +++ b/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.11.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit gnome.org readme.gentoo-r1 toolchain-funcs + +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 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" + +RDEPEND=" + dev-libs/glib:2 + >=x11-libs/gtk+-3.5.1:3 + >=x11-misc/xdg-user-dirs-0.14 +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/intltool + 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_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 + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} |