2598c9282d
git-svn-id: http://svn.sabayonlinux.org/overlay@1105 d7aec97c-591d-0410-af39-a8856400b30a
66 lines
1.5 KiB
Bash
66 lines
1.5 KiB
Bash
# Copyright 2006 SabayonLinux
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
inherit eutils subversion
|
|
|
|
DESCRIPTION="Acceleration Manager for AIGLX/XGL on SabayonLinux"
|
|
HOMEPAGE="http://www.sabayonlinux.org"
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~x86 ~amd64 ~ppc ~ppc64"
|
|
IUSE=""
|
|
ESVN_REPO_URI="http://svn.sabayonlinux.org/projects/${PN}/tags/${PV}"
|
|
|
|
DEPEND=">=x11-base/xorg-x11-7.1
|
|
>=x11-libs/qt-4.2
|
|
|| ( >=kde-base/kdesu-3.5.0 >=kde-base/kdebase-3.5.0 )
|
|
x11-misc/desktop-acceleration-helpers
|
|
x11-base/xgl
|
|
"
|
|
|
|
src_unpack() {
|
|
subversion_src_unpack
|
|
}
|
|
|
|
src_compile () {
|
|
cd ${S}
|
|
addwrite "${QTDIR}/etc/settings"
|
|
qmake ${PN}.pro
|
|
emake || die "make failed"
|
|
mv accel-manager accel-manager-bin
|
|
}
|
|
|
|
|
|
src_install () {
|
|
cd ${S}
|
|
dodir /usr/share/accel-manager
|
|
|
|
exeinto /usr/sbin
|
|
doexe accel-manager-bin
|
|
doexe utils/accel-manager
|
|
|
|
exeinto /usr/share/accel-manager
|
|
doexe utils/desktop-accel-selector
|
|
|
|
exeinto /usr/share/accel-manager
|
|
doexe utils/accel-server-handler
|
|
|
|
exeinto /usr/share/accel-manager
|
|
doexe utils/accel-manager-session
|
|
|
|
|
|
insinto /usr/share/accel-manager
|
|
doins pics/icon.png
|
|
doins pics/accelicon.png
|
|
|
|
insinto /usr/share/pixmaps
|
|
doins pics/accel-manager.png
|
|
|
|
insinto /usr/share/applications
|
|
doins utils/accel-manager.desktop
|
|
|
|
insinto /usr/share/xsessions
|
|
doins utils/accel-server.desktop
|
|
|
|
}
|