From e68913c62f0c416b021e4748153d86d0424b374d Mon Sep 17 00:00:00 2001 From: geos_one Date: Sun, 12 Dec 2010 18:46:53 +0000 Subject: [PATCH] add replaygain with multilib support git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2778 6952d904-891a-0410-993b-d76249ca496b --- .../irtrans-irclient-6.01.05.ebuild | 66 ++++++++ .../irtrans-irserver-6.03.02.ebuild | 67 ++++++++ app-text/pdfsam/pdfsam-2.2.1e.ebuild | 156 ++++++++++++++++++ dev-java/ICEpdf/ICEpdf-4.1.1.ebuild | 46 ++++++ eclass/gst-plugins-base.eclass | 4 + media-libs/libreplaygain/ChangeLog | 77 +++++++++ media-libs/libreplaygain/Manifest | 5 + .../files/libreplaygain-444-multilib.patch | 42 +++++ .../libreplaygain/libreplaygain-465.ebuild | 30 ++++ media-libs/libreplaygain/metadata.xml | 5 + 10 files changed, 498 insertions(+) create mode 100644 app-misc/irtrans-irclient/irtrans-irclient-6.01.05.ebuild create mode 100644 app-misc/irtrans-irserver/irtrans-irserver-6.03.02.ebuild create mode 100644 app-text/pdfsam/pdfsam-2.2.1e.ebuild create mode 100644 dev-java/ICEpdf/ICEpdf-4.1.1.ebuild create mode 100644 media-libs/libreplaygain/ChangeLog create mode 100644 media-libs/libreplaygain/Manifest create mode 100644 media-libs/libreplaygain/files/libreplaygain-444-multilib.patch create mode 100644 media-libs/libreplaygain/libreplaygain-465.ebuild create mode 100644 media-libs/libreplaygain/metadata.xml diff --git a/app-misc/irtrans-irclient/irtrans-irclient-6.01.05.ebuild b/app-misc/irtrans-irclient/irtrans-irclient-6.01.05.ebuild new file mode 100644 index 00000000..e8569274 --- /dev/null +++ b/app-misc/irtrans-irclient/irtrans-irclient-6.01.05.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils flag-o-matic toolchain-funcs + +RESTRICT="strip" + +DESCRIPTION="IRTrans Server" +HOMEPAGE="http://www.irtrans.de" +SRC_URI="http://www.irtrans.de/download/Client/irclient-src.tar.gz -> irclient-src-${PV}.tar.gz + http://ftp.disconnected-by-peer.at/irtrans/${PN}-5.11.04-ip_assign-1.patch.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~arm" +IUSE="" + +RDEPEND="virtual/libc" + +S="${WORKDIR}" + +src_prepare() { + epatch "${DISTDIR}/${PN}"-5.11.04-ip_assign-1.patch.bz2 +} + +src_compile() { + + append-flags -DLINUX + + # Set sane defaults (arm target has no -D flags added) + irbuild=irclient_arm + irclient=irclient + ipbuild=ip_assign_arm + ip_assign=ip_assign + + # change variable by need + if use x86 ; then + irbuild=irclient + ipbuild=ip_assign + elif use amd64 ; then + irbuild=irclient64 + irclient=irclient64 + ipbuild=ip_assign64 + ip_assign=ip_assign64 + fi + + # Some output for bugreport + einfo "CFLAGS=\"${CFLAGS}\"" + einfo "Build client Target=\"${irbuild}\"" + einfo "Build client Binary=\"${irclient}\"" + einfo "Build ip_assign Target=\"${ipbuild}\"" + einfo "Build ip_assign Binary=\"${ip_assign}\"" + + # Build + emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" "${irbuild}" || die "emake irclient failed" + emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" "${ipbuild}" || die "emake ip_assign failed" +} + +src_install() { + + newbin "${WORKDIR}/${irclient}" irclient + newbin "${WORKDIR}/${ip_assign}" ip_assign +} diff --git a/app-misc/irtrans-irserver/irtrans-irserver-6.03.02.ebuild b/app-misc/irtrans-irserver/irtrans-irserver-6.03.02.ebuild new file mode 100644 index 00000000..207b6515 --- /dev/null +++ b/app-misc/irtrans-irserver/irtrans-irserver-6.03.02.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils flag-o-matic toolchain-funcs + +RESTRICT="strip" + +DESCRIPTION="IRTrans Server" +HOMEPAGE="http://www.irtrans.de" +SRC_URI="http://www.irtrans.de/download/Server/Linux/irserver-src.tar.gz -> irserver-src-${PV}.tar.gz + http://ftp.disconnected-by-peer.at/irtrans/irserver-src-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~arm" +IUSE="" + +RDEPEND="virtual/libc" + +S="${WORKDIR}" + +src_prepare() { + epatch "${FILESDIR}/${PN}"-6.01.15-arm-1.patch +} + +src_compile() { + + append-flags -DLINUX + + # Set sane defaults (arm target has no -D flags added) + irbuild=irserver_arm_noccf + irserver=irserver + + # change variable by need + if use x86 ; then + irbuild=irserver + elif use amd64 ; then + irbuild=irserver64 + irserver=irserver64 + elif use arm ; then + irbuild=irserver_arm + fi + + # Some output for bugreport + einfo "CFLAGS=\"${CFLAGS}\"" + einfo "Build Target=\"${irbuild}\"" + einfo "Build Binary=\"${irserver}\"" + + # Build + emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" "${irbuild}" || die "emake irserver failed" +} + +src_install() { + + newbin "${WORKDIR}/${irserver}" irserver + + keepdir /etc/irserver/remotes + + docinto remotes + dodoc remotes/* + + newinitd "${FILESDIR}"/irtrans-server.initd irtrans-server + newconfd "${FILESDIR}"/irtrans-server.confd irtrans-server +} diff --git a/app-text/pdfsam/pdfsam-2.2.1e.ebuild b/app-text/pdfsam/pdfsam-2.2.1e.ebuild new file mode 100644 index 00000000..48b70237 --- /dev/null +++ b/app-text/pdfsam/pdfsam-2.2.1e.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=1 +JAVA_PKG_IUSE="doc" +inherit java-pkg-2 eutils java-ant-2 + +DESCRIPTION="A free open source tool to split and merge pdf documents" +HOMEPAGE="http://www.pdfsam.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}-out-src.zip" +LICENSE="GPL-2" +SLOT="2.0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}/pdfsam" + +COMMON_DEP="dev-java/dom4j:1 + dev-java/log4j + dev-java/itext + dev-java/jaxen:1.1 + dev-java/bcmail + dev-java/bcprov + dev-java/jgoodies-looks:2.0 + dev-java/commons-lang:2.1 + dev-java/iscwt + dev-java/isfreetype + dev-java/isnativec + dev-java/isrt + dev-java/jPod + dev-java/jPodRenderer + dev-java/sun-jai-bin + dev-java/jai-imageio + dev-java/jbig2 + dev-java/jna + dev-java/swt:3.4" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.5 + sys-devel/gettext + app-arch/unzip + ${COMMON_DEP}" + +src_unpack() { + unpack ${A} || die "unpack failed" + mkdir "${S}" + cd "${S}" + for zip in "${WORKDIR}"/*.zip + do + unpack ../work/${zip##*/} || die "unpacking ${zip} failed" + done + + for bldprop in emp4j jcmdline pdfsam-maine pdfsam-console pdfsam-cover \ + pdfsam-decrypt pdfsam-docinfo pdfsam-encrypt pdfsam-langpack \ + pdfsam-merge pdfsam-mix pdfsam-rotate pdfsam-setviewer pdfsam-split \ + pdfsam-unpack pdfsam-vcomposer pdfsam-vpagereorder jpodrenderercreator + do + echo > ${S}/${bldprop}/ant/build.properties + echo "pdfsam.deploy.dir=${S}/deploy" >> ${S}/${bldprop}/ant/build.properties + echo "template.dir=${S}/template-enhanced-2" >> ${S}/${bldprop}/ant/build.properties + echo "workspace.dir=${S}" >> ${S}/${bldprop}/ant/build.properties + echo "build.dir=${S}/build" >> ${S}/${bldprop}/ant/build.properties + echo "libs.dir=${S}" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam.version=enhanced" >> ${S}/${bldprop}/ant/build.properties + echo "itext.jar.name=iText" >> ${S}/${bldprop}/ant/build.properties + echo "log4j.jar.name=log4j" >> ${S}/${bldprop}/ant/build.properties + echo "dom4j.jar.name=dom4j" >> ${S}/${bldprop}/ant/build.properties + echo "jaxen.jar.name=jaxen" >> ${S}/${bldprop}/ant/build.properties + echo "bcmail.jar.name=bcmail" >> ${S}/${bldprop}/ant/build.properties + echo "bcprov.jar.name=bcprov" >> ${S}/${bldprop}/ant/build.properties + echo "looks.jar.name=looks" >> ${S}/${bldprop}/ant/build.properties + echo "commons-lang.jar.name=commons-lang" >> ${S}/${bldprop}/ant/build.properties + echo "iscwt.jar.name=iscwt" >> ${S}/${bldprop}/ant/build.properties + echo "isfreetype.jar.name=isfreetype" >> ${S}/${bldprop}/ant/build.properties + echo "isnativec.jar.name=isnativec" >> ${S}/${bldprop}/ant/build.properties + echo "isrt.jar.name=isrt" >> ${S}/${bldprop}/ant/build.properties + echo "jPod.jar.name=jPod" >> ${S}/${bldprop}/ant/build.properties + echo "jPodFonts.jar.name=jPodFonts" >> ${S}/${bldprop}/ant/build.properties + echo "jPodRenderer.jar.name=jPodRenderer" >> ${S}/${bldprop}/ant/build.properties + echo "jai_codec.jar.name=jai_codec" >> ${S}/${bldprop}/ant/build.properties + echo "jai_core.jar.name=jai_core" >> ${S}/${bldprop}/ant/build.properties + echo "jai_imageio.jar.name=jai_imageio" >> ${S}/${bldprop}/ant/build.properties + echo "jcmdline.jar.name=pdfsam-jcmdline" >> ${S}/${bldprop}/ant/build.properties + echo "emp4j.jar.name=emp4j" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam.jar.name=pdfsam" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam-console.jar.name=pdfsam-console" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam-split.jar.name=pdfsam-split" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam-merge.jar.name=pdfsam-merge" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam-cover.jar.name=pdfsam-cover" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam-encrypt.jar.name=pdfsam-encrypt" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam-decrypt.jar.name=pdfsam-decrypt" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam-mix.jar.name=pdfsam-mix" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam-unpack.jar.name=pdfsam-unpack" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam-langpack.jar.name=pdfsam-langpack" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam-setviewer.jar.name=pdfsam-setviewer" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam-vpagereorder.jar.name=pdfsam-vpagereorder" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam-vcomposer.jar.name=pdfsam-vcomposer" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam-docinfo.jar.name=pdfsam-docinfo" >> ${S}/${bldprop}/ant/build.properties + echo "pdfsam-rotate.jar.name=pdfsam-rotate" >> ${S}/${bldprop}/ant/build.properties + echo "jpodcreator.jar.name=jpodcreator" >> ${S}/${bldprop}/ant/build.properties + + done + + java-pkg_jarfrom itext + java-pkg_jarfrom dom4j-1 + java-pkg_jarfrom log4j + java-pkg_jarfrom jaxen-1.1 + java-pkg_jarfrom bcmail + java-pkg_jarfrom bcprov + java-pkg_jarfrom jgoodies-looks-2.0 + java-pkg_jarfrom isrt + java-pkg_jarfrom isnativec + java-pkg_jarfrom isfreetype + java-pkg_jarfrom iscwt + java-pkg_jarfrom jPod + java-pkg_jarfrom jPodRenderer + java-pkg_jarfrom sun-jai-bin + java-pkg_jarfrom jai-imageio + java-pkg_jarfrom swt-3.4 + java-pkg_jarfrom commons-lang-2.1 +} + +src_compile() { + eant -buildfile pdfsam-maine/ant/build.xml || die "build failed" + + use doc && eant -buildfile pdfsam-maine/ant/build.xml javadoc +} + +src_install() { + insinto /usr/share/${PN}-${SLOT}/lib + doins build/pdfsam-maine/release/dist/pdfsam-enhanced/*.xml || die "config install failed" + java-pkg_dojar build/pdfsam-maine/release/dist/pdfsam-enhanced/pdfsam.jar + java-pkg_dojar build/pdfsam-maine/release/dist/pdfsam-enhanced/lib/pdfsam-*.jar + java-pkg_dojar build/pdfsam-maine/release/dist/pdfsam-enhanced/lib/emp4j.jar + java-pkg_dojar build/pdfsam-maine/release/dist/pdfsam-enhanced/ext/jpodcreator.jar + + for plugins in cover decrypt docinfo encrypt merge mix rotate setviewer split unpack vcomposer vpagereorder + do + java-pkg_jarinto /usr/share/${PN}-${SLOT}/lib/plugins/${plugins} + insinto /usr/share/${PN}-${SLOT}/lib/plugins/${plugins} + + java-pkg_dojar build/pdfsam-maine/release/dist/pdfsam-enhanced/plugins/${plugins}/*.jar + doins build/pdfsam-maine/release/dist/pdfsam-enhanced/plugins/${plugins}/*.xml || die "config install failed" + done + + java-pkg_dolauncher ${PN}-${SLOT} --main org.pdfsam.guiclient.GuiClient --pwd "/usr/share/${PN}-${SLOT}/lib" + java-pkg_dolauncher ${PN}-console-${SLOT} --main org.pdfsam.console.ConsoleClient --pwd "/usr/share/${PN}-${SLOT}/lib" + + newicon pdfsam-maine/images/pdf.png pdfsam-${SLOT}.png + make_desktop_entry ${PN} "PDF Split and Merge ${PV}" pdfsam-${SLOT} Office + + use doc && dodoc pdfsam-maine/doc/enhanced/* + + use doc && java-pkg_dojavadoc build/pdfsam-maine/apidocs +} diff --git a/dev-java/ICEpdf/ICEpdf-4.1.1.ebuild b/dev-java/ICEpdf/ICEpdf-4.1.1.ebuild new file mode 100644 index 00000000..c64a1b4f --- /dev/null +++ b/dev-java/ICEpdf/ICEpdf-4.1.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=1 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Java PDF Renderer" +HOMEPAGE="http://www.icepdf.org/" +SRC_URI="${PN}-${PV}-src.zip" +RESTRICT="fetch" + + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +IUSE="" + +COMMON_DEP=" + " + +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${COMMON_DEP}" + +S=${WORKDIR}/${PN}-${PV}-src/icepdf + +src_unpack() { + unpack ${A} + cd "${S}" +} + +EANT_BUILD_TARGET="build.jars" +EANT_DOC_TARGET="" + +src_install() { + die + java-pkg_dojar + use doc && java-pkg_dojavadoc + use source && java-pkg_dosrc +} diff --git a/eclass/gst-plugins-base.eclass b/eclass/gst-plugins-base.eclass index bb3daf64..fca6aec2 100644 --- a/eclass/gst-plugins-base.eclass +++ b/eclass/gst-plugins-base.eclass @@ -98,12 +98,16 @@ gst-plugins-base_src_prepare() { -e "s:\${top_builddir}/gst-libs/gst/interfaces/libgstinterfaces-\$(GST_MAJORMINOR).la:${ROOT}/usr/$(get_libdir)/libgstinterfaces-\$(GST_MAJORMINOR).so:" \ -e "s:\$(top_builddir)/gst-libs/gst/audio/libgstaudio-\$(GST_MAJORMINOR).la:${ROOT}/usr/$(get_libdir)/libgstaudio-\$(GST_MAJORMINOR).so:" \ -e "s:\${top_builddir}/gst-libs/gst/audio/libgstaudio-\$(GST_MAJORMINOR).la:${ROOT}/usr/$(get_libdir)/libgstaudio-\$(GST_MAJORMINOR).so:" \ + -e "s:\$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la:${ROOT}/usr/$(get_libdir)/libgstaudio-@GST_MAJORMINOR@.so:" \ + -e "s:\${top_builddir}/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la:${ROOT}/usr/$(get_libdir)/libgstaudio-@GST_MAJORMINOR@.so:" \ -e "s:\$(top_builddir)/gst-libs/gst/cdda/libgstcdda-\$(GST_MAJORMINOR).la:${ROOT}/usr/$(get_libdir)/libgstcdda-\$(GST_MAJORMINOR).so:" \ -e "s:\${top_builddir}/gst-libs/gst/cdda/libgstcdda-\$(GST_MAJORMINOR).la:${ROOT}/usr/$(get_libdir)/libgstcdda-\$(GST_MAJORMINOR).so:" \ -e "s:\$(top_builddir)/gst-libs/gst/riff/libgstriff-\$(GST_MAJORMINOR).la:${ROOT}/usr/$(get_libdir)/libgstriff-\$(GST_MAJORMINOR).so:" \ -e "s:\${top_builddir}/gst-libs/gst/riff/libgstriff-\$(GST_MAJORMINOR).la:${ROOT}/usr/$(get_libdir)/libgstriff-\$(GST_MAJORMINOR).so:" \ -e "s:\$(top_builddir)/gst-libs/gst/tag/libgsttag-\$(GST_MAJORMINOR).la:${ROOT}/usr/$(get_libdir)/libgsttag-\$(GST_MAJORMINOR).so:" \ -e "s:\${top_builddir}/gst-libs/gst/tag/libgsttag-\$(GST_MAJORMINOR).la:${ROOT}/usr/$(get_libdir)/libgsttag-\$(GST_MAJORMINOR).so:" \ + -e "s:\$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la:${ROOT}/usr/$(get_libdir)/libgsttag-@GST_MAJORMINOR@.so:" \ + -e "s:\${top_builddir}/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la:${ROOT}/usr/$(get_libdir)/libgsttag-@GST_MAJORMINOR@.so:" \ -e "s:\$(top_builddir)/gst-libs/gst/video/libgstvideo-\$(GST_MAJORMINOR).la:${ROOT}/usr/$(get_libdir)/libgstvideo-\$(GST_MAJORMINOR).so:" \ -e "s:\${top_builddir}/gst-libs/gst/video/libgstvideo-\$(GST_MAJORMINOR).la:${ROOT}/usr/$(get_libdir)/libgstvideo-\$(GST_MAJORMINOR).so:" \ -e "s:\$(top_builddir)/gst-libs/gst/netbuffer/libgstnetbuffer-\$(GST_MAJORMINOR).la:${ROOT}/usr/$(get_libdir)/libgstnetbuffer-\$(GST_MAJORMINOR).so:" \ diff --git a/media-libs/libreplaygain/ChangeLog b/media-libs/libreplaygain/ChangeLog new file mode 100644 index 00000000..43158efd --- /dev/null +++ b/media-libs/libreplaygain/ChangeLog @@ -0,0 +1,77 @@ +# ChangeLog for media-libs/libreplaygain +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libreplaygain/ChangeLog,v 1.20 2010/10/01 19:03:19 grobian Exp $ + + 01 Oct 2010; Fabian Groffen libreplaygain-465.ebuild: + Marked ~x86-solaris + +*libreplaygain-465 (21 Jul 2010) + + 21 Jul 2010; Samuli Suominen + +libreplaygain-465.ebuild: + Version bump. + + 03 Feb 2010; Fabian Groffen libreplaygain-458.ebuild: + Drop install_name_tool hack, I managed to fix the issue sort of with cmake + + 03 Feb 2010; Fabian Groffen libreplaygain-458.ebuild: + Marked ~x86-macos + + 12 Jan 2010; Jonathan Callen libreplaygain-458.ebuild: + Add ~x86-linux keyword + + 09 Jan 2010; Fabian Groffen libreplaygain-458.ebuild: + Marked ~amd64-linux (bug #300037). Fixed for and marked ~ppc-macos. + +*libreplaygain-458 (09 Dec 2009) + + 09 Dec 2009; Samuli Suominen + +libreplaygain-458.ebuild: + Version bump. + + 01 Oct 2009; Tobias Klausmann + libreplaygain-444.ebuild: + Stable on alpha, bug #284781 + + 27 Sep 2009; nixnut libreplaygain-444.ebuild: + ppc stable #284781 + + 27 Sep 2009; nixnut libreplaygain-444.ebuild: + ~ppc #279069 + + 26 Sep 2009; Brent Baude libreplaygain-444.ebuild: + Marking libreplaygain-444 ppc64 for bug 284781 + + 20 Sep 2009; Markus Meier libreplaygain-444.ebuild: + amd64/x86 stable, bug #284781 + + 15 Sep 2009; Jeroen Roovers libreplaygain-444.ebuild: + Stable for HPPA (bug #284781). + + 31 Aug 2009; Brent Baude libreplaygain-444.ebuild: + Marking libreplaygain-444 ~ppc64 for bug 279069 + + 28 Aug 2009; Tobias Klausmann + libreplaygain-444.ebuild: + Keyworded on alpha, bug #279069 + + 31 Jul 2009; Samuli Suominen + libreplaygain-444.ebuild, files/libreplaygain-444-multilib.patch: + Update patch for upstream. + + 29 Jul 2009; Jeroen Roovers libreplaygain-444.ebuild: + Marked ~hppa (bug #279069). + + 27 Jul 2009; Alexis Ballier + libreplaygain-444.ebuild: + keyword ~x86-fbsd, bug #279069 + + 26 Jul 2009; Mark Loeser libreplaygain-444.ebuild: + Marked ~x86; bug #279069 + +*libreplaygain-444 (25 Jul 2009) + + 25 Jul 2009; Samuli Suominen + +libreplaygain-444.ebuild, +files/libreplaygain-444-multilib.patch: + Initial commit. + diff --git a/media-libs/libreplaygain/Manifest b/media-libs/libreplaygain/Manifest new file mode 100644 index 00000000..e2d9547e --- /dev/null +++ b/media-libs/libreplaygain/Manifest @@ -0,0 +1,5 @@ +AUX libreplaygain-444-multilib.patch 2030 RMD160 368cdc1ab3c3524714267bec47f6ef1b4ce4f83e SHA1 ede663c5db226c5959a7c4314e328c96dbf1c1cf SHA256 d7513551551558ceb7f60b5511a8ed8f86b2f6f36c8563c2b1f231e0c2d66926 +DIST libreplaygain-465.tar.bz2 9085 RMD160 ea978ada6e43aa6f3c9e2d5cd1e73bed90652659 SHA1 8fb38d3257184c2a01cc7b26098156036c443151 SHA256 6030bb0b072750736bf255be86f3cd8e549af05382b75828d1a7dcd7424fb9e4 +EBUILD libreplaygain-465.ebuild 916 RMD160 572329be03428b30396bf44c428eadc79af1d41b SHA1 ac3e5da0a05ae983c9d9e753ea1a161ee8d74eb0 SHA256 f766405245a5036bc7ed038ed10a6a3ce1c33398919e7e176b98e2a956f837ad +MISC ChangeLog 2608 RMD160 800615debcc07054c391f37c5194ef3f4ac3d20f SHA1 858c006fb8803a09e03f160cfbfeffd886c12685 SHA256 f5b4f354967d593f0be4dcab0093a3d4ec8a9cced241de521016849c78053662 +MISC metadata.xml 159 RMD160 568344dc99ebe68c2e2d43d268d186757532144d SHA1 3f9589301dbaa4363c56de0f309cf792d8c38b63 SHA256 eb5b8cfa9aed067cd72d6439beac2dd0abdba30248f27e4b337012b493a18369 diff --git a/media-libs/libreplaygain/files/libreplaygain-444-multilib.patch b/media-libs/libreplaygain/files/libreplaygain-444-multilib.patch new file mode 100644 index 00000000..16bc0ea5 --- /dev/null +++ b/media-libs/libreplaygain/files/libreplaygain-444-multilib.patch @@ -0,0 +1,42 @@ +diff -ruN libreplaygain-444.orig/CMakeLists.txt libreplaygain-444/CMakeLists.txt +--- libreplaygain-444.orig/CMakeLists.txt 2009-07-25 14:49:52.000000000 +0300 ++++ libreplaygain-444/CMakeLists.txt 2009-07-31 16:29:50.000000000 +0300 +@@ -4,8 +4,11 @@ + + set(CMAKE_VERBOSE_MAKEFILE false) + ++option(SHARED "Use shared libreplaygain" OFF) ++ + if(NOT MSVC) + set(CMAKE_C_FLAGS "-O3 -fomit-frame-pointer -pipe") + endif(NOT MSVC) + +-add_subdirectory(src) +\ No newline at end of file ++add_subdirectory(src) ++add_subdirectory(include) +diff -ruN libreplaygain-444.orig/include/CMakeLists.txt libreplaygain-444/include/CMakeLists.txt +--- libreplaygain-444.orig/include/CMakeLists.txt 1970-01-01 02:00:00.000000000 +0200 ++++ libreplaygain-444/include/CMakeLists.txt 2009-07-31 16:28:59.000000000 +0300 +@@ -0,0 +1 @@ ++INSTALL(DIRECTORY replaygain DESTINATION include) +diff -ruN libreplaygain-444.orig/src/CMakeLists.txt libreplaygain-444/src/CMakeLists.txt +--- libreplaygain-444.orig/src/CMakeLists.txt 2009-07-25 14:49:52.000000000 +0300 ++++ libreplaygain-444/src/CMakeLists.txt 2009-07-31 16:31:36.000000000 +0300 +@@ -3,7 +3,13 @@ + add_library(replaygain-static STATIC gain_analysis) + set_target_properties(replaygain-static PROPERTIES OUTPUT_NAME replaygain CLEAN_DIRECT_OUTPUT 1) + +-add_library(replaygain-shared SHARED gain_analysis) +-set_target_properties(replaygain-shared PROPERTIES OUTPUT_NAME replaygain CLEAN_DIRECT_OUTPUT 1 VERSION 1.0.0 SOVERSION 1) ++if(SHARED) ++ add_library(replaygain-shared SHARED gain_analysis) ++ set_target_properties(replaygain-shared PROPERTIES OUTPUT_NAME replaygain CLEAN_DIRECT_OUTPUT 1 VERSION 1.0.0 SOVERSION 1) ++endif(SHARED) + +-install(TARGETS replaygain-static replaygain-shared LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) ++install(TARGETS replaygain-static LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}") ++ ++if(SHARED) ++ install(TARGETS replaygain-shared LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}") ++endif(SHARED) diff --git a/media-libs/libreplaygain/libreplaygain-465.ebuild b/media-libs/libreplaygain/libreplaygain-465.ebuild new file mode 100644 index 00000000..0843db24 --- /dev/null +++ b/media-libs/libreplaygain/libreplaygain-465.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libreplaygain/libreplaygain-465.ebuild,v 1.2 2010/10/01 19:03:19 grobian Exp $ + +EAPI=3 +inherit cmake-utils + +# svn export http://svn.musepack.net/libreplaygain libreplaygain-${PV} +# tar -cjf libreplaygain-${PV}.tar.bz2 libreplaygain-${PV} + +DESCRIPTION="Replay Gain library from Musepack" +HOMEPAGE="http://www.musepack.net" +SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.bz2" +#SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +src_prepare() { + cmake-utils_src_prepare + sed -e "s!-O3!${CFLAGS}!" -i CMakeLists.txt +} + +src_install() { + cmake-utils_src_install + insinto /usr/include + doins -r include/replaygain || die +} diff --git a/media-libs/libreplaygain/metadata.xml b/media-libs/libreplaygain/metadata.xml new file mode 100644 index 00000000..ae573a60 --- /dev/null +++ b/media-libs/libreplaygain/metadata.xml @@ -0,0 +1,5 @@ + + + + sound +