git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/lightscribe@1569 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-10-27 10:34:44 +00:00
parent f90772e38f
commit 18c93e7c20
2 changed files with 87 additions and 0 deletions

View File

@ -1,4 +1,5 @@
DIST lightscribeApplications-1.18.6.1-linux-2.6-intel.rpm 9756223 RMD160 d48e1964a6e1291ec33e20562591fd3750f0c5a5 SHA1 59683e13814558c0c04212fa9ad90250d99756ad SHA256 1b5b13df54b55db06b447398dbe2a8c3c52821fb418896a5eef540cdcb96eeae
EBUILD lightscribe-simplelabeler-1.18.6.1-r1.ebuild 2918 RMD160 2877d5ed63c145a22c3612ce603b18e13bb7361d SHA1 8e989712144ea1dd7022d5dc083b805ede0541b5 SHA256 8a4765d953dabac3788ef0c9ceaa00ab8faa1ba001e7ab012b7499c639119366
EBUILD lightscribe-simplelabeler-1.18.6.1.ebuild 2668 RMD160 3cab7f6ed7c220d391d88cdc71f124a03bf98c68 SHA1 99ed2ef787bb3e3ccca1ad9708d8e2398315069e SHA256 3afe61d6b285148c808c878f6bc93845eb38e24faf1ddb4b4b3e360eca7104b4
MISC ChangeLog 3167 RMD160 9ed1610923da8c353ceff64b3260d6804d4e41c4 SHA1 d9402790d335028a990831c338da1ce8a62efef9 SHA256 e476f7bf40a5f32188a665f2141457ea4cc4f52fddbc6a1c61d3c0b117f4ad35
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,86 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils rpm multilib
DESCRIPTION="LightScribe Simple Labeler by HP (binary only GUI)"
HOMEPAGE="http://www.lightscribe.com/downloadSection/linux/index.aspx"
SRC_URI="http://download.lightscribe.com/ls/lightscribeApplications-${PV}-linux-2.6-intel.rpm"
LICENSE="lightscribe"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="multilib"
DEPEND=""
RDEPEND="virtual/libc
>=app-cdr/liblightscribe-1.4.113.1
x86? ( sys-libs/libstdc++-v3
>=media-libs/fontconfig-2.3.2
>=media-libs/freetype-2.1.10
>=media-libs/libpng-1.2.8
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/qt-core[qt3support]
x11-libs/qt-gui[qt3support]
x11-libs/qt-qt3support
x11-libs/qt-sql[qt3support] )
amd64? ( app-emulation/emul-linux-x86-xlibs
app-emulation/emul-linux-x86-baselibs
sys-libs/libstdc++-v3[multilib] )
sys-devel/gcc
sys-libs/zlib"
RESTRICT="mirror strip fetch"
src_unpack() {
rpm_src_unpack
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
into /opt/lightscribe/SimpleLabeler
exeinto /opt/lightscribe/SimpleLabeler
doexe "${WORKDIR}"/opt/lightscribeApplications/SimpleLabeler/SimpleLabeler
doexe "${WORKDIR}"/opt/lightscribeApplications/SimpleLabeler/*.*
exeinto /opt/lightscribe/SimpleLabeler/plugins/accessible
doexe "${WORKDIR}"/opt/lightscribeApplications/SimpleLabeler/plugins/accessible/*.so
insinto /opt/lightscribe/SimpleLabeler/content
doins -r "${WORKDIR}"/opt/lightscribeApplications/SimpleLabeler/content/*
use amd64 && dolib.so "${WORKDIR}"/opt/lightscribeApplications/common/Qt/*
dodoc "${WORKDIR}"/opt/lightscribeApplications/*.*
into /opt
make_wrapper SimpleLabeler "./SimpleLabeler" /opt/lightscribe/SimpleLabeler /usr/$(get_libdir)/libstdc++-v3
# cope with libraries being in /opt/lightscribe/SimpleLabeler/lib
use amd64 && dodir /etc/env.d
use amd64 && echo "LDPATH=/opt/lightscribe/SimpleLabeler/$(get_libdir)" > "${D}"/etc/env.d/80lightscribe-simplelabeler
# install revdep-rebuild file as this binary blob thingy is buggy
use amd64 && dodir /etc/revdep-rebuild
use amd64 && echo "SEARCH_DIRS_MASK=\"/opt/lightscribe/SimpleLabeler/$(get_libdir)\"" > "${D}"/etc/revdep-rebuild/90lightscribe-simplelabeler
newicon "${WORKDIR}"/opt/lightscribeApplications/SimpleLabeler/content/images/LabelWizardIcon.png ${PN}.png
make_desktop_entry SimpleLabeler "LightScribe Simple Labeler" ${PN}.png "Application;AudioVideo;DiscBurning;Recorder;"
}
pkg_nofetch() {
einfo "Please download the appropriate Lightscribe Simple Labeler archive"
einfo "( lightscribeApplications-${PV}-linux-2.6-intel.rpm )"
einfo "from ${HOMEPAGE} (requires to accept license)"
einfo
einfo "Then put the file in ${DISTDIR}"
}