| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdg-user-dirs-gtk/xdg-user-dirs-gtk-0.9.ebuild,v 1.10 2012/05/27 17:51:33 maekke Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
inherit gnome.org |
| 7 |
|
| 8 |
DESCRIPTION="xdg-user-dirs-gtk integrates xdg-user-dirs into the Gnome desktop and Gtk+ applications" |
| 9 |
HOMEPAGE="http://www.freedesktop.org/wiki/Software/xdg-user-dirs" |
| 10 |
|
| 11 |
LICENSE="GPL-2" |
| 12 |
SLOT="0" |
| 13 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris" |
| 14 |
IUSE="" |
| 15 |
|
| 16 |
RDEPEND=">=x11-misc/xdg-user-dirs-0.14 |
| 17 |
x11-libs/gtk+:3" |
| 18 |
DEPEND="${RDEPEND} |
| 19 |
dev-util/intltool |
| 20 |
virtual/pkgconfig" |
| 21 |
|
| 22 |
src_prepare() { |
| 23 |
sed -i \ |
| 24 |
-e '/Encoding/d' \ |
| 25 |
-e 's:OnlyShowIn=GNOME;LXDE;Unity;:NotShowIn=KDE;:' \ |
| 26 |
user-dirs-update-gtk.desktop.in || die |
| 27 |
} |
| 28 |
|
| 29 |
pkg_postinst() { |
| 30 |
elog |
| 31 |
elog " This package tries to automatically use some sensible default " |
| 32 |
elog " directories for your documents, music, video and other stuff. " |
| 33 |
elog |
| 34 |
elog " If you want to change those directories to your needs, see " |
| 35 |
elog " the settings in ~/.config/user-dir.dirs " |
| 36 |
elog |
| 37 |
} |