summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Fetka <mario.fetka@gmail.com>2010-02-02 21:32:03 +0000
committerMario Fetka <mario.fetka@gmail.com>2010-02-02 21:32:03 +0000
commit2436fa6bdef6ba0d677380284b7084cd90a324d9 (patch)
treed31d1a277b5307125f2d645f89422fa8b493cd80
parentAutomatic update to use.local.desc (diff)
downloadsunrise-2436fa6bdef6ba0d677380284b7084cd90a324d9.tar.gz
sunrise-2436fa6bdef6ba0d677380284b7084cd90a324d9.tar.bz2
sunrise-2436fa6bdef6ba0d677380284b7084cd90a324d9.zip
dev-libs/liblightscribe: add block on old location
svn path=/sunrise/; revision=9969
-rw-r--r--dev-libs/liblightscribe/ChangeLog12
-rw-r--r--dev-libs/liblightscribe/Manifest5
-rw-r--r--dev-libs/liblightscribe/liblightscribe-1.18.11.1.ebuild89
-rw-r--r--dev-libs/liblightscribe/metadata.xml8
4 files changed, 114 insertions, 0 deletions
diff --git a/dev-libs/liblightscribe/ChangeLog b/dev-libs/liblightscribe/ChangeLog
new file mode 100644
index 000000000..3a8b62fc6
--- /dev/null
+++ b/dev-libs/liblightscribe/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-libs/liblightscribe
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 02 Feb 2010; Mario Fetka <mario.fetka@gmail.com>
+ liblightscribe-1.18.11.1.ebuild:
+ add block on old location
+
+ 01 Feb 2010; Mario Fetka <mario.fetka@gmail.com>
+ +liblightscribe-1.18.11.1.ebuild, +metadata.xml:
+ New Ebuild for bug 152031 thx to wschlich@g.o for the initial ebuild
+
diff --git a/dev-libs/liblightscribe/Manifest b/dev-libs/liblightscribe/Manifest
new file mode 100644
index 000000000..01e3809c6
--- /dev/null
+++ b/dev-libs/liblightscribe/Manifest
@@ -0,0 +1,5 @@
+DIST lightscribe-1.18.11.1-linux-2.6-intel.rpm 817351 RMD160 eb2241a2f9643bbf797020e5db6899e888582450 SHA1 839cdd9c6f219747e9964f2d0f89023a66e9d24a SHA256 efecac85a70b32b12ab9bff1e2229de3bc8f5b1403eaf1ccb867b7ed6b2a5bee
+DIST lightscribePublicSDK-1.18.6.1-linux-2.6-intel.rpm 622177 RMD160 6ac5bc74fb2de7602b5f42aecd4ea312c272cad4 SHA1 e46003c06293b62297d5780b24f1ea7ef94bf84d SHA256 174ccb9c39d9e115836fc696f69c8fe8ffc2a78b5f4f0185b8f930afc93e40bf
+EBUILD liblightscribe-1.18.11.1.ebuild 3222 RMD160 ca3efdfe4e6503c96c99ad072629dd027a0717a8 SHA1 87d67ccedd0d65875617f790e97e31a27f9128bf SHA256 1a465ea658e1ac23503a8a12aff6f35b696c314119ccf38bac99b99758eadbc1
+MISC ChangeLog 415 RMD160 e8ee26bef9ad95ead352c444a29616b9126d229b SHA1 cf1af74533271415fa2de75322a6c7b1bf3b8937 SHA256 7c0b33433fad847076af0c7cf4bed2741b210d8697a4deba1484b3afea76ae48
+MISC metadata.xml 262 RMD160 951acb15f4c2d71ca7ff7449bc9bd736ad4d6190 SHA1 434452c22d6215f0034a043a43a9f578ffc8dac7 SHA256 b54644472fbde5ba97eefc51b310095e23d44e9a30578c08b68c09418b988c2b
diff --git a/dev-libs/liblightscribe/liblightscribe-1.18.11.1.ebuild b/dev-libs/liblightscribe/liblightscribe-1.18.11.1.ebuild
new file mode 100644
index 000000000..730829dbb
--- /dev/null
+++ b/dev-libs/liblightscribe/liblightscribe-1.18.11.1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils rpm multilib
+
+SDK_PV=1.18.6.1
+
+DESCRIPTION="LightScribe System Software (binary only library)"
+HOMEPAGE="http://www.lightscribe.com/downloadSection/linux/index.aspx"
+SRC_URI="http://download.lightscribe.com/ls/lightscribe-${PV}-linux-2.6-intel.rpm
+ http://download.lightscribe.com/ls/lightscribePublicSDK-${SDK_PV}-linux-2.6-intel.rpm"
+
+LICENSE="lightscribe lightscribeSDK"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="multilib"
+
+RDEPEND="x86? ( sys-libs/libstdc++-v3 )
+ amd64? ( sys-libs/libstdc++-v3[multilib] )
+ !app-cdr/lightscribe
+ !app-cdr/liblightscribe"
+
+RESTRICT="mirror fetch"
+
+S="${WORKDIR}"
+
+QA_PRESTRIPPED="
+ opt/lightscribe/lib32/liblightscribe.so.0.0.1
+ opt/lightscribe/lib32/libstdcv3.so.5.0.7
+ opt/lightscribe/lib/liblightscribe.so.0.0.1
+ opt/lightscribe/lib/libstdcv3.so.5.0.7"
+
+pkg_setup() {
+ # This is a binary x86 package => ABI=x86
+ # Please keep this in future versions
+ has_multilib_profile && ABI="x86"
+}
+
+src_prepare() {
+ # hack in to use provided libstdc++ rename it to libstdcv3
+ # can't add an rpath or a LD_PRELOAD to a already build lib to work around
+ # the libstdc++ "no version information available" problem Bug 152031 comment 66
+ sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" usr/lib/liblightscribe.so.1 || die "sed failed"
+ sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" usr/lib/lightscribe/libstdc++.so.5.0.7 || die "sed failed"
+}
+
+src_install() {
+ local LSDIR="opt/lightscribe/$(get_libdir)"
+
+ exeinto /${LSDIR}/lightscribe/updates
+ doexe usr/lib/lightscribe/updates/fallback.sh || die "fallback.sh install failed"
+ exeinto /${LSDIR}/lightscribe
+ doexe usr/lib/lightscribe/elcu.sh || die "elcu.sh install failed"
+ into /opt/lightscribe
+ # make revdep-rebuild happy Bug 152031 comment 74
+ newlib.so usr/lib/liblightscribe.so.1 liblightscribe.so.0.0.1 || die "liblightscribe.so.* install failed"
+ newlib.so usr/lib/lightscribe/libstdc++.so.5.0.7 libstdcv3.so.5.0.7 || die "libstdcv3.so.* install failed"
+ dosym liblightscribe.so.0.0.1 /${LSDIR}/liblightscribe.so
+ insinto /usr/include/lightscribe
+ doins -r usr/include/* || die "includes install failed"
+ insinto /etc
+ doins -r etc/* || die "config install failed"
+ sed -i "s%/usr/lib%${ROOT}${LSDIR}%" "${D}"/etc/lightscribe.rc || die "sed failed"
+ dodoc usr/share/doc/*.* \
+ usr/share/doc/lightscribe-sdk/*.* \
+ usr/share/doc/lightscribe-sdk/docs/* || die "doc install failed"
+ docinto sample/lsprint
+ dodoc usr/share/doc/lightscribe-sdk/sample/lsprint/* || die "lsprint sample install failed"
+ dodir /etc/env.d
+ echo "LDPATH=${ROOT}${LSDIR}" > "${D}"/etc/env.d/80lightscribe
+}
+
+pkg_postinst() {
+ elog "This version also support Enhanced Contrast"
+ elog "You can activate it by running:"
+ elog "${ROOT}opt/lightscribe/$(get_libdir)/lightscribe/elcu.sh"
+}
+
+pkg_nofetch() {
+ einfo "Please download the appropriate Lightscribe System Software & Linux Public SDK archive's"
+ einfo "( lightscribe-${PV}-linux-2.6-intel.rpm"
+ einfo " lightscribePublicSDK-${SDK_PV}-linux-2.6-intel.rpm )"
+ einfo "from ${HOMEPAGE} (requires to accept license)"
+ einfo
+ einfo "Then put the files in ${DISTDIR}"
+}
diff --git a/dev-libs/liblightscribe/metadata.xml b/dev-libs/liblightscribe/metadata.xml
new file mode 100644
index 000000000..751900772
--- /dev/null
+++ b/dev-libs/liblightscribe/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>maintainer-wanted</herd>
+ <use>
+ <flag name='multilib'>Installs the lib into the right dir on amd64</flag>
+ </use>
+</pkgmetadata>