Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add lightscribe burning utilities

  • Loading branch information...
commit f6db0c0ef713e497a24e3d607cd2b329f093d41b 1 parent c433c8a
@nightmorph authored
View
2  app-cdr/qlscribe/Manifest
@@ -0,0 +1,2 @@
+DIST qlscribe-0.15.tar.gz 94425 RMD160 57b53954c29f07cd784fab566766859cf937ae56 SHA1 52d888ccab96e8ffc3fa2ffe89497669ba2939a7 SHA256 aac9801e3fd8d2368dcad6ad5b4c69227593dddec569316014e5bb8763b8551f
+EBUILD qlscribe-0.15.ebuild 661 RMD160 ceb77a1141d910d0bbd85b78cb93549e69704af2 SHA1 38da1dbfe83d8bcd74d459b38dab77494cf899be SHA256 f488e973d58125f0cd160e8a1973e42d8250c0418c88421aba7a8112ef74620b
View
28 app-cdr/qlscribe/qlscribe-0.15.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+inherit cmake-utils
+
+DESCRIPTION="OS lightScribe labeler"
+HOMEPAGE="http://sourceforge.net/projects/qlscribe/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/qt-gui:4[dbus]
+ dev-libs/liblightscribe
+ amd64? ( app-emulation/emul-linux-x86-baselibs )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ "-DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d"
+ "-DDBUS_SYSTEM_SERVICE_DIR=/usr/share/dbus-1/system-services" )
+
+ cmake-utils_src_configure
+}
View
3  dev-libs/liblightscribe/Manifest
@@ -0,0 +1,3 @@
+DIST lightscribe-1.18.24.1-linux-2.6-intel.rpm 825987 RMD160 e35caebb2ed6a237ec0d5a98cd438f103eec5896 SHA1 c619c7f78596ed3a8ad4c4968c137629ad0fb339 SHA256 8928a55c5aa0438cde4109c93a30ff2fb8fa62f71855b2df497dd5ef603febf5
+DIST lightscribePublicSDK-1.18.6.1-linux-2.6-intel.rpm 622177 RMD160 6ac5bc74fb2de7602b5f42aecd4ea312c272cad4 SHA1 e46003c06293b62297d5780b24f1ea7ef94bf84d SHA256 174ccb9c39d9e115836fc696f69c8fe8ffc2a78b5f4f0185b8f930afc93e40bf
+EBUILD liblightscribe-1.18.24.1.ebuild 3443 RMD160 ef4ac2a172c5aa99ff8fa63fdfef53a2edca099f SHA1 a31ddeeac0573fd6afc4f77469ddfb35282d4548 SHA256 03ea0ab3eb3a405bbf5829fc285230ee059b311aa520abc1afcecb7a8455e4cc
View
96 dev-libs/liblightscribe/liblightscribe-1.18.24.1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+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"
+
+QA_DT_HASH="
+ 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 -e "s%/usr/lib%${ROOT}${LSDIR}%" \
+ -e"s%update%updates%" -i "${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}"
+}
Please sign in to comment.
Something went wrong with that request. Please try again.