summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-26 07:06:28 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-26 07:06:28 +0000
commit9bd7a148d64e89ecaeb7f4ecdc7f49bda6353bf5 (patch)
tree71c33e55f28c5bbda3a4f0aed12d87114914ff06 /xfce-base
parentInitial commit. (diff)
downloadgentoo-2-9bd7a148d64e89ecaeb7f4ecdc7f49bda6353bf5.tar.gz
gentoo-2-9bd7a148d64e89ecaeb7f4ecdc7f49bda6353bf5.tar.bz2
gentoo-2-9bd7a148d64e89ecaeb7f4ecdc7f49bda6353bf5.zip
USE branding to install Gentoo background image by default.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'xfce-base')
-rw-r--r--xfce-base/xfdesktop/ChangeLog6
-rw-r--r--xfce-base/xfdesktop/xfdesktop-4.6.1.ebuild20
2 files changed, 23 insertions, 3 deletions
diff --git a/xfce-base/xfdesktop/ChangeLog b/xfce-base/xfdesktop/ChangeLog
index cb7849d5ec76..b9d21d271e8c 100644
--- a/xfce-base/xfdesktop/ChangeLog
+++ b/xfce-base/xfdesktop/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for xfce-base/xfdesktop
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfdesktop/ChangeLog,v 1.147 2009/08/23 19:27:43 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfdesktop/ChangeLog,v 1.148 2009/08/26 07:06:28 ssuominen Exp $
+
+ 26 Aug 2009; Samuli Suominen <ssuominen@gentoo.org>
+ xfdesktop-4.6.1.ebuild:
+ USE branding to install Gentoo background image by default.
23 Aug 2009; Samuli Suominen <ssuominen@gentoo.org>
xfdesktop-4.6.1.ebuild, metadata.xml:
diff --git a/xfce-base/xfdesktop/xfdesktop-4.6.1.ebuild b/xfce-base/xfdesktop/xfdesktop-4.6.1.ebuild
index c10df29283d5..6c18f84257fe 100644
--- a/xfce-base/xfdesktop/xfdesktop-4.6.1.ebuild
+++ b/xfce-base/xfdesktop/xfdesktop-4.6.1.ebuild
@@ -1,17 +1,19 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfdesktop/xfdesktop-4.6.1.ebuild,v 1.12 2009/08/23 19:27:43 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfdesktop/xfdesktop-4.6.1.ebuild,v 1.13 2009/08/26 07:06:28 ssuominen Exp $
EAPI=2
inherit xfconf
DESCRIPTION="Desktop manager for Xfce4"
HOMEPAGE="http://www.xfce.org/projects/xfdesktop"
+SRC_URI="mirror://xfce/src/xfce/${PN}/4.6/${P}.tar.bz2
+ branding? ( http://www.gentoo.org/images/backgrounds/gentoo-minimal-1280x1024.jpg )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="debug doc +menu-plugin thunar"
+IUSE="+branding debug doc +menu-plugin thunar"
LINGUAS="be ca cs da de el es et eu fi fr he hu it ja ko nb_NO nl pa pl pt_BR ro ru sk sv tr uk vi zh_CN zh_TW"
@@ -29,6 +31,7 @@ RDEPEND="gnome-base/libglade
>=xfce-base/libxfcegui4-4.6
>=xfce-base/libxfce4menu-4.6
>=xfce-base/xfconf-4.6
+ branding? ( >=x11-libs/gtk+-2.10:2[jpeg] )
thunar? ( >=xfce-base/thunar-1
>=xfce-base/exo-0.3.100
dev-libs/dbus-glib )
@@ -52,9 +55,22 @@ pkg_setup() {
DOCS="AUTHORS ChangeLog NEWS TODO README"
}
+src_prepare() {
+ if use branding; then
+ sed -i -e "s:xfce-stripes.png:gentoo-minimal-1280x1024.jpg:" \
+ common/xfdesktop-common.h || die "sed failed"
+ fi
+ xfconf_src_prepare
+}
+
src_install() {
xfconf_src_install
+ if use branding; then
+ insinto /usr/share/xfce4/backdrops
+ doins "${DISTDIR}"/gentoo-minimal-1280x1024.jpg || die "doins failed"
+ fi
+
local config lang
for config in ${XFCE_LOCALIZED_CONFIGS}; do
for lang in ${LINGUAS}; do