app-cdr/lightscribe-simplelabeler: fix libstdc++.so.5: no version information available

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@830 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-02-24 20:42:58 +00:00
parent d81f75df87
commit b32702e9c4
3 changed files with 93 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# ChangeLog for app-cdr/lightscribe-simplelabler
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
24 Feb 2009; Mario Fetka <mario.fetka@gmail.com>
+lightscribe-simplelabeler-1.10.19.1-r1.ebuild:
fix libstdc++.so.5: no version information available
07 Dec 2008; Mario Fetka <mario.fetka@gmail.com>
lightscribe-simplelabeler-1.10.19.1.ebuild:
correct dependency

View File

@ -1,4 +1,5 @@
DIST lightscribeApplications-1.10.19.1-linux-2.6-intel.rpm 6732109 RMD160 5e01c111d30dedf2dd51a726422ba09013e4988c SHA1 e799bff68cc3c5ea1a188221190e9c270c10eb4d SHA256 4938a9f8c38f6c0c63fc0ef5964ce61371d8e4e2dae27a25836228f4c751fa43
EBUILD lightscribe-simplelabeler-1.10.19.1-r1.ebuild 2779 RMD160 eefaf16947d971d6c2b119826f2df3e5d5c4552a SHA1 09a464470ffeb919719c467ac2e1cc4148ff2f70 SHA256 1a40142a352c5e5aacb3bbd7cf719f37fb739145ddadb9c3b9a06ad7346f96b5
EBUILD lightscribe-simplelabeler-1.10.19.1.ebuild 2747 RMD160 1fca2ac5088cc4b1c89b3498c66f4b31b23b5e0d SHA1 6d3a1ea5a182428d621b578eebdf72753bc243a1 SHA256 aa87acf38af11025834ca2eddf12233a1c6595ff0b6f97798d773e09216e3abc
MISC ChangeLog 2529 RMD160 27cfcc241faf28f636768db6ea42629d93b9e00e SHA1 d5f4040d46e5a5039fc0d5fc6595c2ffcfaa40e1 SHA256 65c5b0c9de1e48ede2d7d0a234cd4e24b884b4961b58c4cfd97a46531351791e
MISC ChangeLog 2686 RMD160 5bb7eb96d54726311ca66ec20a643fbe3dc7dd8d SHA1 ffe891845257eb9af859ab676bdb28c6cc1599c7 SHA256 6f9ecf191e4f9a7aeff6f014d66427787ea9e9f56577dcccf33e7c78b20e7661
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: $
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
sys-libs/libstdc++-v3
x86? ( >=media-libs/fontconfig-2.3.2
>=media-libs/freetype-2.1.10
>=media-libs/libpng-1.2.8
>=x11-libs/qt-4.2.2
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXext )
amd64? ( multilib? ( app-emulation/emul-linux-x86-xlibs
app-emulation/emul-linux-x86-compat ) )
sys-devel/gcc
sys-libs/zlib"
RESTRICT="mirror strip fetch"
pkg_setup() {
if use x86; then
if has_version ">=x11-libs/qt-4.2.2" && ! built_with_use x11-libs/qt qt3support; then
eerror
eerror "You need to rebuild x11-libs/qt with USE=qt3support enabled"
eerror
die "please rebuild x11-libs/qt with USE=qt3support"
fi
fi
}
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
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}"
}