linamh/app-cdr/qlscribe/qlscribe-0.9.ebuild
2009-03-21 14:53:44 +00:00

40 lines
967 B
Bash

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit qt4 cmake-utils
DESCRIPTION="Qt lightScribe - OS labeler for Linux"
HOMEPAGE="http://sourceforge.net/projects/qlscribe/"
SRC_URI="mirror://sourceforge/${PN}/${PF}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
DEPEND="x11-libs/qt-gui:4
app-cdr/liblightscribe
app-emulation/emul-linux-x86-baselibs"
RDEPEND="${DEPEND}
dev-util/cmake[qt4]"
mycmakeargs="-DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d
-DDBUS_SYSTEM_SERVICE_DIR=/usr/share/dbus-1/services"
src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo-2.patch || die "Error applying patch"
}
src_compile() {
export LD_LIBRARY_PATH="/usr/lib32/libstdc++-v3:${LD_LIBRARY_PATH}"
cmake-utils_src_make
}
src_install() {
cmake-utils_src_install
# make_desktop_entry q4wine Q4Wine wine16x16 "Utility" || die "make_desktop_entry failed"
}