/[gentoo-x86]/x11-misc/xdg-utils/xdg-utils-1.1.0_rc1_p20120319.ebuild
Gentoo

Contents of /x11-misc/xdg-utils/xdg-utils-1.1.0_rc1_p20120319.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (hide annotations) (download)
Mon May 28 17:05:53 2012 UTC (2 years, 2 months ago) by armin76
Branch: MAIN
Changes since 1.9: +2 -2 lines
alpha/ia64/s390/sh/sparc stable wrt #412905

(Portage version: 2.1.10.53/cvs/Linux ia64)

1 ssuominen 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 armin76 1.10 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xdg-utils/xdg-utils-1.1.0_rc1_p20120319.ebuild,v 1.9 2012/05/16 15:29:06 jer Exp $
4 ssuominen 1.1
5     # See .spec in http://pkgs.fedoraproject.org/gitweb/?p=xdg-utils.git;a=summary
6     # The source tree MUST be cleaned before rolling a snapshot tarball:
7     # make scripts-clean -C scripts
8     # make man scripts -C scripts
9    
10     EAPI=4
11    
12     DESCRIPTION="Portland utils for cross-platform/cross-toolkit/cross-desktop interoperability"
13     HOMEPAGE="http://portland.freedesktop.org/"
14 ssuominen 1.2 SRC_URI="mirror://gentoo/${P}.tar.xz"
15 ssuominen 1.1 #SRC_URI="http://portland.freedesktop.org/download/${MY_P}.tar.gz"
16    
17     LICENSE="MIT"
18     SLOT="0"
19 armin76 1.10 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
20 ssuominen 1.1 IUSE="doc +perl"
21    
22     RDEPEND="dev-util/desktop-file-utils
23     x11-misc/shared-mime-info
24     x11-apps/xprop
25     x11-apps/xset
26     perl? ( dev-perl/File-MimeInfo )"
27     DEPEND=""
28    
29     DOCS="ChangeLog README RELEASE_NOTES TODO"
30    
31     RESTRICT="test" # Disabled because of sandbox violation(s)
32    
33     src_install() {
34     default
35    
36     newdoc scripts/README README.scripts
37     use doc && dohtml -r scripts/html
38    
39     # Install default XDG_DATA_DIRS, bug #264647
40     echo 'XDG_DATA_DIRS="/usr/local/share"' > 30xdg-data-local
41     echo 'COLON_SEPARATED="XDG_DATA_DIRS XDG_CONFIG_DIRS"' >> 30xdg-data-local
42     doenvd 30xdg-data-local
43    
44     echo 'XDG_DATA_DIRS="/usr/share"' > 90xdg-data-base
45     echo 'XDG_CONFIG_DIRS="/etc/xdg"' >> 90xdg-data-base
46     doenvd 90xdg-data-base
47     }
48    
49     pkg_postinst() {
50     [[ -x $(type -P gtk-update-icon-cache) ]] || elog "Install x11-libs/gtk+:2 for the gtk-update-icon-cache command."
51     }

  ViewVC Help
Powered by ViewVC 1.1.20