diff options
author | Kris Scott <kris@syntosis.net> | 2017-05-06 18:26:34 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-05-06 18:30:10 +1000 |
commit | e46b05fdc46b6e551681567af625fb801bfc6172 (patch) | |
tree | b00fcf1058bb42ad868860b8e4d758b6fa81586a /x11-misc/xdg-user-dirs-gtk | |
parent | dev-ruby/twitter: add ruby23 (diff) | |
download | gentoo-e46b05fdc46b6e551681567af625fb801bfc6172.tar.gz gentoo-e46b05fdc46b6e551681567af625fb801bfc6172.tar.bz2 gentoo-e46b05fdc46b6e551681567af625fb801bfc6172.zip |
x11-misc/xdg-user-dirs-gtk: port to gentoo.readme-r1
Gentoo-bug: 617552
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'x11-misc/xdg-user-dirs-gtk')
-rw-r--r-- | x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
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 new file mode 100644 index 000000000000..6e04717f73d0 --- /dev/null +++ b/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome.org readme.gentoo-r1 + +DESCRIPTION="Integrates xdg-user-dirs into the Gnome desktop and Gtk+ applications" +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 ~x86-fbsd ~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 +" +DEPEND="${RDEPEND} + 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_src_prepare + sed -i \ + -e '/Encoding/d' \ + -e 's:OnlyShowIn=GNOME;LXDE;Unity;:NotShowIn=KDE;:' \ + user-dirs-update-gtk.desktop.in || die +} + +src_install() { + default_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} |