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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Sep 29 17:05:16 2012 UTC (21 months, 3 weeks ago) by ssuominen
Branch: MAIN
Version bump.

(Portage version: 2.2.0_alpha128/cvs/Linux x86_64)

1 ssuominen 1.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-utils/xdg-utils-1.1.0_rc1_p20120823.ebuild,v 1.1 2012/08/23 02:33:35 ssuominen Exp $
4    
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     SRC_URI="http://dev.gentoo.org/~ssuominen/${P/0823/2308}.tar.xz -> ${P}.tar.xz" # typo :(
15     #SRC_URI="http://portland.freedesktop.org/download/${MY_P}.tar.gz"
16    
17     LICENSE="MIT"
18     SLOT="0"
19     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     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     #app-text/xmlto || ( www-client/links www-client/lynx virtual/w3m )
29    
30     DOCS="ChangeLog README RELEASE_NOTES TODO"
31    
32     RESTRICT="test" # Disabled because of sandbox violation(s)
33    
34     S=${WORKDIR}/${P/0823/2308}
35    
36     #src_prepare() {
37     # emake scripts-clean -C scripts
38     #}
39     #
40     #src_compile() {
41     # emake man scripts -C scripts
42     #}
43    
44     src_install() {
45     default
46    
47     newdoc scripts/README README.scripts
48     use doc && dohtml -r scripts/html
49    
50     # Install default XDG_DATA_DIRS, bug #264647
51     echo 'XDG_DATA_DIRS="/usr/local/share"' > 30xdg-data-local
52     echo 'COLON_SEPARATED="XDG_DATA_DIRS XDG_CONFIG_DIRS"' >> 30xdg-data-local
53     doenvd 30xdg-data-local
54    
55     echo 'XDG_DATA_DIRS="/usr/share"' > 90xdg-data-base
56     echo 'XDG_CONFIG_DIRS="/etc/xdg"' >> 90xdg-data-base
57     doenvd 90xdg-data-base
58     }
59    
60     pkg_postinst() {
61     [[ -x $(type -P gtk-update-icon-cache) ]] || elog "Install x11-libs/gtk+:2 for the gtk-update-icon-cache command."
62     }

  ViewVC Help
Powered by ViewVC 1.1.20