Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xdg-user-dirs-gtk/
Date: Sat, 06 May 2017 08:30:26
Message-Id: 1494059410.e46b05fdc46b6e551681567af625fb801bfc6172.kensington@gentoo
1 commit: e46b05fdc46b6e551681567af625fb801bfc6172
2 Author: Kris Scott <kris <AT> syntosis <DOT> net>
3 AuthorDate: Sat May 6 08:26:34 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat May 6 08:30:10 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e46b05fd
7
8 x11-misc/xdg-user-dirs-gtk: port to gentoo.readme-r1
9
10 Gentoo-bug: 617552
11 Package-Manager: Portage-2.3.5, Repoman-2.3.2
12
13 .../xdg-user-dirs-gtk-0.10-r1.ebuild | 47 ++++++++++++++++++++++
14 1 file changed, 47 insertions(+)
15
16 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
17 new file mode 100644
18 index 00000000000..6e04717f73d
19 --- /dev/null
20 +++ b/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.10-r1.ebuild
21 @@ -0,0 +1,47 @@
22 +# Copyright 1999-2017 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=6
26 +inherit gnome.org readme.gentoo-r1
27 +
28 +DESCRIPTION="Integrates xdg-user-dirs into the Gnome desktop and Gtk+ applications"
29 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
30 +
31 +LICENSE="GPL-2"
32 +SLOT="0"
33 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
34 +IUSE=""
35 +
36 +RDEPEND="
37 + dev-libs/glib
38 + >=x11-misc/xdg-user-dirs-0.14
39 + >=x11-libs/gtk+-3.5.1:3
40 +"
41 +DEPEND="${RDEPEND}
42 + dev-util/intltool
43 + virtual/pkgconfig
44 +"
45 +
46 +DOC_CONTENTS="
47 + This package tries to automatically use some sensible default
48 + directories for your documents, music, video and other stuff.
49 + If you want to change those directories to your needs, see
50 + the settings in ~/.config/user-dirs.dirs
51 +"
52 +
53 +src_prepare() {
54 + default_src_prepare
55 + sed -i \
56 + -e '/Encoding/d' \
57 + -e 's:OnlyShowIn=GNOME;LXDE;Unity;:NotShowIn=KDE;:' \
58 + user-dirs-update-gtk.desktop.in || die
59 +}
60 +
61 +src_install() {
62 + default_src_install
63 + readme.gentoo_create_doc
64 +}
65 +
66 +pkg_postinst() {
67 + readme.gentoo_print_elog
68 +}