add qt LightScribe

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@891 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-03-21 14:12:23 +00:00
parent b942d3876a
commit 7bbc25787d
3 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,3 @@
AUX qlscribe-0.9-gentoo-1.patch 1053 RMD160 9fc2c8dc2607b967bf33239fe04a995bdefc1f2b SHA1 fdfd5c58753b2d82d87004a0b028106af189f457 SHA256 882b5bd26599328c5ce96e4de69a2636d26de0d99cb2c93c1fdf4a2ab0d5f573
DIST qlscribe-0.9.tar.gz 88106 RMD160 68fdff43e8f09654a3c3e70f4c9fdd7f0b7f5990 SHA1 7eb24180003629e02e6c783cd00013d038ecb505 SHA256 8f77ba545e95d9684530bfc4998ebc913fcfad912a66b7201eaff5279145cbeb
EBUILD qlscribe-0.9.ebuild 841 RMD160 d2f6f03c1ea10bad59739f54f06ba26120a39bfe SHA1 35a3477ed2821b3a3636c305666512b1700f7443 SHA256 e89ecc248171fce3657a853d1d1b8f85e49f525e93dc015965023cb2e3bf71ad

View File

@ -0,0 +1,22 @@
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2009-03-21
Initial Package Version: 0.9
Origin: me
Upstream Status: unknown
Description: find liblightscribe in opt
diff -Naur qlscribe-0.9.orig/cmake/FindLightScribe.cmake qlscribe-0.9/cmake/FindLightScribe.cmake
--- qlscribe-0.9.orig/cmake/FindLightScribe.cmake 2009-03-21 11:53:47.855760793 +0000
+++ qlscribe-0.9/cmake/FindLightScribe.cmake 2009-03-21 11:54:35.472058563 +0000
@@ -18,9 +18,9 @@
#
# $Id: FindLightScribe.cmake 72 2009-02-22 01:27:45Z ruglory $
-FIND_PATH( LSCRIBE_INCLUDE_DIR lightscribe.h /usr/local/include $ENV{LIGHTSCRIBEDIR}/include )
+FIND_PATH( LSCRIBE_INCLUDE_DIR lightscribe.h /usr/local/include /usr/include/lightsribe $ENV{LIGHTSCRIBEDIR}/include )
-FIND_LIBRARY( LSCRIBE_LIBRARY lightscribe /usr/local/lib $ENV{LIGHTSCRIBEDIR}/lib )
+FIND_LIBRARY( LSCRIBE_LIBRARY lightscribe /usr/local/lib /opt/lightscribe/lib /opt/lightscribe/lib32 $ENV{LIGHTSCRIBEDIR}/lib )
if( LSCRIBE_INCLUDE_DIR AND LSCRIBE_LIBRARY )
SET( LSCRIBE_FOUND TRUE )

View File

@ -0,0 +1,36 @@
# 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]"
src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo-1.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"
}