| 1 |
hwoarang |
1.1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
blueness |
1.3 |
# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxde-common/lxde-common-0.5.5-r2.ebuild,v 1.2 2012/05/04 05:50:39 jdhore Exp $
|
| 4 |
hwoarang |
1.1 |
|
| 5 |
|
|
EAPI="4"
|
| 6 |
|
|
|
| 7 |
|
|
inherit eutils autotools
|
| 8 |
|
|
|
| 9 |
|
|
DESCRIPTION="LXDE Session default configuration files and nuoveXT2 iconset"
|
| 10 |
|
|
HOMEPAGE="http://lxde.sf.net/"
|
| 11 |
|
|
SRC_URI="mirror://sourceforge/lxde/${P}.tar.gz"
|
| 12 |
|
|
|
| 13 |
|
|
LICENSE="GPL-2"
|
| 14 |
|
|
SLOT="0"
|
| 15 |
blueness |
1.3 |
KEYWORDS="~alpha ~amd64 ~arm ppc ~x86"
|
| 16 |
hwoarang |
1.1 |
IUSE=""
|
| 17 |
|
|
|
| 18 |
|
|
RDEPEND="x11-libs/gtk+:2"
|
| 19 |
|
|
DEPEND="${RDEPEND}
|
| 20 |
jdhore |
1.2 |
virtual/pkgconfig
|
| 21 |
hwoarang |
1.1 |
sys-devel/gettext"
|
| 22 |
|
|
PDEPEND="lxde-base/lxde-icon-theme"
|
| 23 |
|
|
|
| 24 |
|
|
src_prepare() {
|
| 25 |
|
|
#bug 380043
|
| 26 |
|
|
epatch "${FILESDIR}"/${P}-logout.patch
|
| 27 |
|
|
|
| 28 |
|
|
# Rerun autotools
|
| 29 |
|
|
einfo "Regenerating autotools files..."
|
| 30 |
|
|
eautoreconf
|
| 31 |
|
|
}
|
| 32 |
|
|
|
| 33 |
|
|
src_install () {
|
| 34 |
|
|
emake DESTDIR="${D}" install
|
| 35 |
|
|
# install session file
|
| 36 |
|
|
insinto /etc/X11/Sessions/
|
| 37 |
|
|
doins ${FILESDIR}/lxde
|
| 38 |
|
|
dodoc AUTHORS ChangeLog README
|
| 39 |
|
|
}
|
| 40 |
|
|
|
| 41 |
|
|
pkg_postinst() {
|
| 42 |
|
|
elog "${P} has renamed the configuration file name to"
|
| 43 |
|
|
elog "/etc/xdg/lxsession/LXDE/desktop.conf"
|
| 44 |
|
|
elog "Keep in mind you have to migrate your custom settings"
|
| 45 |
|
|
elog "from /etc/xdg/lxsession/LXDE/config"
|
| 46 |
|
|
}
|