From 8a9cbc6cefda89ad7b71f4f564e936c5be9a9748 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 6 Nov 2010 19:31:55 +0000 Subject: [PATCH] add menu package git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/lightscribe@2675 6952d904-891a-0410-993b-d76249ca496b --- dev-libs/liblightscribe/Manifest | 2 +- ...ild => liblightscribe-1.18.19.1-r1.ebuild} | 13 +++++-- x11-apps/menu/Manifest | 2 ++ x11-apps/menu/menu-2.1.44.ebuild | 34 +++++++++++++++++++ 4 files changed, 47 insertions(+), 4 deletions(-) rename dev-libs/liblightscribe/{liblightscribe-1.18.19.1.ebuild => liblightscribe-1.18.19.1-r1.ebuild} (87%) create mode 100644 x11-apps/menu/Manifest create mode 100644 x11-apps/menu/menu-2.1.44.ebuild diff --git a/dev-libs/liblightscribe/Manifest b/dev-libs/liblightscribe/Manifest index 026c4bf..6ca41f5 100644 --- a/dev-libs/liblightscribe/Manifest +++ b/dev-libs/liblightscribe/Manifest @@ -16,6 +16,6 @@ EBUILD liblightscribe-1.18.15.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378 EBUILD liblightscribe-1.18.16.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248 EBUILD liblightscribe-1.18.17.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248 EBUILD liblightscribe-1.18.18.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248 -EBUILD liblightscribe-1.18.19.1.ebuild 3479 RMD160 c9106da8ba57929934b97ee577977c63d50c6b99 SHA1 2f5121646f1bfff756ba6560a8e9386f5f8b6efb SHA256 946e5aded4b8c989491fe9e5af55bdea7777928f556927a03e4fd82e8e04d5ff +EBUILD liblightscribe-1.18.19.1-r1.ebuild 3437 RMD160 c7afd6c03c988a0f1a3a38bb0f8f1cb1d18ac5cd SHA1 229f47a64aee6deeabf89c6eb4594a0e2c75d836 SHA256 1c6dc8a9ae9f8a1dec4d881b094b34db67cc7a677dd02fa942b33447f6012da4 MISC ChangeLog 7993 RMD160 74f4acc21688e659ea1b005cb90d13dd93edab91 SHA1 f52922bc98c12bcc885fca5fa7b4ec86a50e2005 SHA256 a2148cada34b1942c1fb2d689bb6222e881c3d12be2beb36eb0b70935b046dbf MISC metadata.xml 262 RMD160 951acb15f4c2d71ca7ff7449bc9bd736ad4d6190 SHA1 434452c22d6215f0034a043a43a9f578ffc8dac7 SHA256 b54644472fbde5ba97eefc51b310095e23d44e9a30578c08b68c09418b988c2b diff --git a/dev-libs/liblightscribe/liblightscribe-1.18.19.1.ebuild b/dev-libs/liblightscribe/liblightscribe-1.18.19.1-r1.ebuild similarity index 87% rename from dev-libs/liblightscribe/liblightscribe-1.18.19.1.ebuild rename to dev-libs/liblightscribe/liblightscribe-1.18.19.1-r1.ebuild index 0e8c0c6..08095b9 100644 --- a/dev-libs/liblightscribe/liblightscribe-1.18.19.1.ebuild +++ b/dev-libs/liblightscribe/liblightscribe-1.18.19.1-r1.ebuild @@ -11,13 +11,16 @@ 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" + http://download.lightscribe.com/ls/lightscribePublicSDK-${SDK_PV}-linux-2.6-intel.rpm + http://www.lacie.com/download/images/LightScribe_logo_black.zip" LICENSE="lightscribe lightscribeSDK" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="multilib" +DEPEND="media-gfx/imagemagick" + RDEPEND="x86? ( sys-libs/libstdc++-v3 ) amd64? ( sys-libs/libstdc++-v3[multilib] ) !app-cdr/lightscribe @@ -51,6 +54,7 @@ src_prepare() { # 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" + convert -size 48x48 "${WORKDIR}"/LightScribe_logo_black.eps "${WORKDIR}"/${PN}.png } src_install() { @@ -69,8 +73,8 @@ src_install() { 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" - sed -i "s%update%updates%" "${D}"/etc/lightscribe.rc || die "sed 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" @@ -78,6 +82,9 @@ src_install() { 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 + doicon "${WORKDIR}"/${PN}.png + make_desktop_entry jping "Lightscribe Core Enhanced Contrast Changer" ${PN} "Application;AudioVideo;DiscBurning;Recorder;" + } pkg_postinst() { diff --git a/x11-apps/menu/Manifest b/x11-apps/menu/Manifest new file mode 100644 index 0000000..005a845 --- /dev/null +++ b/x11-apps/menu/Manifest @@ -0,0 +1,2 @@ +DIST menu_2.1.44.tar.gz 479420 RMD160 83397eca1935dffff4529f8273ec08b8450f5eb5 SHA1 f8b25a8acbc4cd93730adef03a230c669040ecc5 SHA256 1684b07f32b0eae8c62dbf4fbe283fbca206fd2257fc65d23c60c5ffe1cb4353 +EBUILD menu-2.1.44.ebuild 699 RMD160 240249c9261b6ee96be61901a151d1be1e869891 SHA1 dfb87d3d356fbc73a780355f0c4e6569c8d486ab SHA256 b454116237ff00af2dbe9ba0fefafc00437c005b1c75cb83cf4a297936d97f9e diff --git a/x11-apps/menu/menu-2.1.44.ebuild b/x11-apps/menu/menu-2.1.44.ebuild new file mode 100644 index 0000000..28b8951 --- /dev/null +++ b/x11-apps/menu/menu-2.1.44.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils autotools + +DESCRIPTION="generates programs menu for all menu-aware applications" +HOMEPAGE="http://qa.debian.org/developer.php?login=ballombe%40debian.org" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" +RESTRICT="mirror" + +S="${WORKDIR}/${PN}" + +SRC_URI_BASE="mirror://debian/pool/main/${PN:0:1}/${PN}/" +SRC_URI="${SRC_URI_BASE}${PN}_${PV}.tar.gz" + +DEPEND="" + +src_prepare() { + echo "SUBDIRS = scripts po-su-to-root" > Makefile.am + eautoreconf +} + +src_install() { + mkdir "${D}"/usr/sbin + emake DESTDIR="${D}" install + doman doc/su-to-root.1 +}