summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-01-21 16:21:07 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-01-21 16:21:07 +0000
commit9c4ca70fd4e1590387902ac4da08b64ef97ace2d (patch)
tree20bf70e2f3a0ff4d2423fabdfdd4236d72c7580c /x11-misc
parentVersion bump: 7.3.102 (diff)
downloadgentoo-2-9c4ca70fd4e1590387902ac4da08b64ef97ace2d.tar.gz
gentoo-2-9c4ca70fd4e1590387902ac4da08b64ef97ace2d.tar.bz2
gentoo-2-9c4ca70fd4e1590387902ac4da08b64ef97ace2d.zip
Version bump.
(Portage version: 2.2.0_alpha15/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xdg-utils/ChangeLog10
-rw-r--r--x11-misc/xdg-utils/xdg-utils-1.1.0_rc1.ebuild52
2 files changed, 60 insertions, 2 deletions
diff --git a/x11-misc/xdg-utils/ChangeLog b/x11-misc/xdg-utils/ChangeLog
index 5f2231b95728..306244acff52 100644
--- a/x11-misc/xdg-utils/ChangeLog
+++ b/x11-misc/xdg-utils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/xdg-utils
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdg-utils/ChangeLog,v 1.66 2010/11/02 14:48:17 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdg-utils/ChangeLog,v 1.67 2011/01/21 16:21:07 ssuominen Exp $
+
+*xdg-utils-1.1.0_rc1 (21 Jan 2011)
+
+ 21 Jan 2011; Samuli Suominen <ssuominen@gentoo.org>
+ +xdg-utils-1.1.0_rc1.ebuild:
+ Version bump.
*xdg-utils-1.0.2_p20101101 (02 Nov 2010)
diff --git a/x11-misc/xdg-utils/xdg-utils-1.1.0_rc1.ebuild b/x11-misc/xdg-utils/xdg-utils-1.1.0_rc1.ebuild
new file mode 100644
index 000000000000..19b4c4888f58
--- /dev/null
+++ b/x11-misc/xdg-utils/xdg-utils-1.1.0_rc1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdg-utils/xdg-utils-1.1.0_rc1.ebuild,v 1.1 2011/01/21 16:21:07 ssuominen Exp $
+
+EAPI=3
+
+MY_P=${P/_/-}
+
+DESCRIPTION="Portland utils for cross-platform/cross-toolkit/cross-desktop interoperability"
+HOMEPAGE="http://portland.freedesktop.org/"
+SRC_URI="http://portland.freedesktop.org/download/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="doc"
+
+RDEPEND="x11-apps/xprop
+ x11-apps/xset
+ x11-misc/shared-mime-info"
+PDEPEND="dev-util/desktop-file-utils"
+
+RESTRICT="test" # root access required
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc ChangeLog README RELEASE_NOTES TODO || die
+ newdoc scripts/README README.scripts || die
+
+ if use doc; then
+ dohtml -r scripts/html || die
+ fi
+
+ # Install default XDG_DATA_DIRS, bug #264647
+ echo 'XDG_DATA_DIRS="/usr/local/share"' > 30xdg-data-local
+ echo 'COLON_SEPARATED="XDG_DATA_DIRS XDG_CONFIG_DIRS"' >> 30xdg-data-local
+ doenvd 30xdg-data-local || die
+
+ echo 'XDG_DATA_DIRS="/usr/share"' > 90xdg-data-base
+ echo 'XDG_CONFIG_DIRS="/etc/xdg"' >> 90xdg-data-base
+ doenvd 90xdg-data-base || die
+}
+
+pkg_postinst() {
+ if ! has_version "x11-libs/gtk+:2"; then
+ echo
+ elog "Install x11-libs/gtk+:2 if you need the gtk-update-icon-cache command."
+ echo
+ fi
+}