diff options
author | Jim Ramsay <lack@gentoo.org> | 2008-09-29 14:16:45 +0000 |
---|---|---|
committer | Jim Ramsay <lack@gentoo.org> | 2008-09-29 14:16:45 +0000 |
commit | 4293d0c1544d0dff915391cd96ed1b1c5451ae26 (patch) | |
tree | 8b6cbc31bdf2a01bbf6b9ff70efc2f14608f1ab3 /net-misc/amazonmp3-libcompat | |
parent | Version bump. (diff) | |
download | gentoo-2-4293d0c1544d0dff915391cd96ed1b1c5451ae26.tar.gz gentoo-2-4293d0c1544d0dff915391cd96ed1b1c5451ae26.tar.bz2 gentoo-2-4293d0c1544d0dff915391cd96ed1b1c5451ae26.zip |
Adding library compatibility package for net-misc/amazonmp3
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'net-misc/amazonmp3-libcompat')
-rw-r--r-- | net-misc/amazonmp3-libcompat/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/amazonmp3-libcompat/Manifest | 5 | ||||
-rw-r--r-- | net-misc/amazonmp3-libcompat/amazonmp3-libcompat-0.1.ebuild | 71 | ||||
-rw-r--r-- | net-misc/amazonmp3-libcompat/metadata.xml | 9 |
4 files changed, 95 insertions, 0 deletions
diff --git a/net-misc/amazonmp3-libcompat/ChangeLog b/net-misc/amazonmp3-libcompat/ChangeLog new file mode 100644 index 000000000000..e062996633f0 --- /dev/null +++ b/net-misc/amazonmp3-libcompat/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/amazonmp3-libcompat +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/amazonmp3-libcompat/ChangeLog,v 1.1 2008/09/29 14:16:45 lack Exp $ + +*amazonmp3-libcompat-0.1 (29 Sep 2008) + + 29 Sep 2008; Jim Ramsay <lack@gentoo.org> +metadata.xml, + +amazonmp3-libcompat-0.1.ebuild: + Adding library compatibility package for net-misc/amazonmp3 + diff --git a/net-misc/amazonmp3-libcompat/Manifest b/net-misc/amazonmp3-libcompat/Manifest new file mode 100644 index 000000000000..7e8611f80e8c --- /dev/null +++ b/net-misc/amazonmp3-libcompat/Manifest @@ -0,0 +1,5 @@ +DIST amazonmp3-boost-1.34.1-7.fc8.i386.tar.bz2 66991 RMD160 262052b231762a2829f1f1a12af7498f9f101afb SHA1 199d58682db0de48fffe4c94cf827058d0d92574 SHA256 90becb7755c83204588d0d77cdfbf9b0c1c4492661646e71c79de30329fbcbd6 +DIST amazonmp3-libcompat-0.1.tar.bz2 1367468 RMD160 5d67ff5068deae1f567e8fbbd6bf212080245d8a SHA1 94c4bc1adcbb6222c078c9f435739174d25076f9 SHA256 485b46d1b0f53ee67213c0bb795a7109da73bcc5f6d8585662e534faee2cf15b +EBUILD amazonmp3-libcompat-0.1.ebuild 1806 RMD160 b3ccb0a46d7095c95198564027821701d3696183 SHA1 af34f52be597fb75d87b18c3beea418a695edd60 SHA256 1deff30e3dd93e12ccf5d088245d8b38725df7795a8b7eb96314ce9262362542 +MISC ChangeLog 326 RMD160 9cd1198c63413f8ce5d803c61641009016b41f39 SHA1 fba17acbe5547da5aea885ce0b8adc4336525cc3 SHA256 40066e19bac51bde81a446ae68111b26c711dc087f9de4f75634afdcf80c630c +MISC metadata.xml 254 RMD160 1f5a6322e4956b30592a1e0caf7edc67613ecc43 SHA1 f0813ac26740fae9e0f0899b5dad74b5a6fd5b3c SHA256 740784d71bef88214e4d8508e351a376d8908f4c4b6175d98b6b77e107799f12 diff --git a/net-misc/amazonmp3-libcompat/amazonmp3-libcompat-0.1.ebuild b/net-misc/amazonmp3-libcompat/amazonmp3-libcompat-0.1.ebuild new file mode 100644 index 000000000000..3f47fbc8423f --- /dev/null +++ b/net-misc/amazonmp3-libcompat/amazonmp3-libcompat-0.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/amazonmp3-libcompat/amazonmp3-libcompat-0.1.ebuild,v 1.1 2008/09/29 14:16:45 lack Exp $ + +EAPI="1" + +inherit multilib eutils + +BOOST_VERSION="1.34.1-7.fc8.i386" + +DESCRIPTION="Support dependencies for net-misc/amazonmp3" +HOMEPAGE="http://gentoo.org/proj/en/desktop" +SRC_URI="mirrors://gentoo/amazonmp3-boost-${BOOST_VERSION}.tar.bz2 + amd64? ( mirrors://gentoo/${P}.tar.bz2 )" +RESTRICT="strip" + +LICENSE="GPL-2" +SLOT="0" +# There are still problems with amd64 support, research on-going. +KEYWORDS="~x86 -amd64 -*" +IUSE="" + +DEPEND="" +RDEPEND="x86? ( + dev-cpp/gtkmm:2.4 + net-misc/curl + dev-libs/openssl + ) + amd64? ( + app-emulation/emul-linux-x86-gtklibs + )" + +S="${WORKDIR}/amazonmp3-boost-${BOOST_VERSION}" + +pkg_setup() { + if use x86 && ! built_with_use dev-cpp/gtkmm accessibility; then + eerror "Please recompile dev-cpp/gtkmm with USE=\"accessibility\"" + die "dev-cpp/gtkmm needs accessibility USE flag" + fi + + # 32-bit binary libs + has_multilib_profile && ABI="x86" +} + +src_install() { + local OPTDIR="/opt/${PN}" + exeinto "${OPTDIR}" + + # The amazonmp3 binary, compiled for Fedora 8, needs boost-1.34, so we provide a + # set of the libs, ripped right out of their boost-1.34.1-7.fc8.i386.rpm + doexe * + + if use amd64; then + # gtkmm (and its deps) and libcurl are not yet available in any + # emul-linux-x86 packages, so we rolled our own, based partially on FC8 + # gtkmm rpms. + + # TODO: Fix libcurl problems. + pushd "${WORKDIR}/${P}" + doexe * + popd + fi + + # They also need some local libraries named a bit funny: + # TODO: Maybe put a copy of these in /opt/amazonmp3-libcompat? + dosym "libcrypto.so" "/usr/$(get_libdir)/libcrypto.so.6" + dosym "libssl.so" "/usr/$(get_libdir)/libssl.so.6" + + echo "LDPATH=\"${OPTDIR}\"" > 99amazonmp3-libcompat + doenvd 99amazonmp3-libcompat +} diff --git a/net-misc/amazonmp3-libcompat/metadata.xml b/net-misc/amazonmp3-libcompat/metadata.xml new file mode 100644 index 000000000000..24f1e9f83097 --- /dev/null +++ b/net-misc/amazonmp3-libcompat/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-misc</herd> + <maintainer> + <email>lack@gentoo.org</email> + <name>Jim Ramsay</name> + </maintainer> +</pkgmetadata> |