From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2368A13835B for ; Mon, 14 Jun 2021 18:35:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 415AAE0B4C; Mon, 14 Jun 2021 18:35:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1525AE0B4C for ; Mon, 14 Jun 2021 18:35:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A85A335D68 for ; Mon, 14 Jun 2021 18:35:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9F8F796 for ; Mon, 14 Jun 2021 18:35:15 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1623695704.0575b09d5c96e32a70701556519af447d0652f04.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/sc2mpd/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/sc2mpd/Manifest media-sound/sc2mpd/sc2mpd-1.1.8.ebuild X-VCS-Directories: media-sound/sc2mpd/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0575b09d5c96e32a70701556519af447d0652f04 X-VCS-Branch: master Date: Mon, 14 Jun 2021 18:35:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c53c880a-64e1-4ea4-adbe-c5dff649915f X-Archives-Hash: 9a23d27c1b78d6f303ab00ebcb89d4cd commit: 0575b09d5c96e32a70701556519af447d0652f04 Author: Sam James gentoo org> AuthorDate: Mon Jun 14 18:03:12 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jun 14 18:35:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0575b09d media-sound/sc2mpd: add 1.1.8 Bug: https://bugs.gentoo.org/787902 Signed-off-by: Sam James gentoo.org> media-sound/sc2mpd/Manifest | 1 + media-sound/sc2mpd/sc2mpd-1.1.8.ebuild | 93 ++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) diff --git a/media-sound/sc2mpd/Manifest b/media-sound/sc2mpd/Manifest index 752ca377b0e..e15087d642d 100644 --- a/media-sound/sc2mpd/Manifest +++ b/media-sound/sc2mpd/Manifest @@ -1,2 +1,3 @@ DIST openhome-sc2-20200704.tar.gz 22352681 BLAKE2B a5131f3b5c3400ff0ca58f0ce9b45c25db6fc13dcf6827ed9e4531effd3b35026d59495adf690ba65c09624c12f7755b9373ec4e4309de73f17fdeb866beeba7 SHA512 04586fbfd8053c7f01d2c3dbf421f75d0d93ac179cf5f58bc7966d364a3477a87985a1a2db1b35018aa5193a07977b7b4be60d317e7c10b275234adf9a2bd5d2 DIST sc2mpd-1.1.7.tar.gz 238674 BLAKE2B 35fd57797612e3883ad5cc04be3f5328dbf4ec9aedb0461a801fe79566ef20de4026ad653eec6e7d932ffcd0385bb618331a519ec54838fd856d09c20f1971b8 SHA512 0b39e200f013602c851bec1ba41210c40d1a984638c86bd8dd5d61286aff19b315f282182753426e4470c8e6ccb60265b16dc6ba2e5117f59a3d40194464b4b3 +DIST sc2mpd-1.1.8.tar.gz 244898 BLAKE2B 81c3ff1b25db25cbd1bdb50f2343acb07740611dbad504fcc4670a6d351c1daace481de5292f291bdf208a911f67f4ebcc0884c0ef9eece962114860941e1941 SHA512 214b60ee154ab84e9a7ace285afa71b015987c6b6838fb2686cc81f65800f10228cc3f52e5f5e7e836fa181ea6fea5b0c4c83acc5c6eff989c82c79990f19497 diff --git a/media-sound/sc2mpd/sc2mpd-1.1.8.ebuild b/media-sound/sc2mpd/sc2mpd-1.1.8.ebuild new file mode 100644 index 00000000000..ef6557395fe --- /dev/null +++ b/media-sound/sc2mpd/sc2mpd-1.1.8.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Implements the SongCast protocol for use by upmpdcli and mpd" +HOMEPAGE="https://www.lesbonscomptes.com/upmpdcli/index.html" + +openhome_packageversion="20200704" + +SRC_URI=" + https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz + https://www.lesbonscomptes.com/upmpdcli/downloads/openhome-sc2-${openhome_packageversion}.tar.gz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-libs/expat + media-libs/alsa-lib + media-libs/libsamplerate + media-libs/libmpdclient + <=net-libs/libmicrohttpd-0.9.70 +" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${P}.tar.gz + mkdir openhome || die "Can't create openhome directory" + cd openhome || die "Can't enter openhome directory" + unpack openhome-sc2-${openhome_packageversion}.tar.gz +} + +src_configure() { + econf "--with-openhome=${WORKDIR}/openhome" +} + +src_compile() { + #### Begin ohbuild.sh reverse engineer + + # build_ohNet + cd "${WORKDIR}/openhome/ohNet" || die "Couldn't cd to ohNet dir" + einfo "Building ohnet" + emake native_only=yes + + # build_ohNetGenerated + cd "${WORKDIR}/openhome/ohNetGenerated" || die "Couldn't cd to ohNetGenerated dir" + # TODO: get from environment/make target + deps="${WORKDIR}/openhome/ohNetGenerated/dependencies/Linux-x64/ohNet-Linux-x64-Release" + mkdir -p ${deps}/{include/ohnet,lib/{ohnet,t4,ui,PyOhNet}} || die "Couldn't mkdir deps" + cd ${deps} || die "Couldn't cd to deps dir" + + ohnet="${WORKDIR}/openhome/ohNet" + find "$ohnet/Build" \( -name '*.a' -o -name '*.so' \) \ + -exec cp '{}' lib ';' \ + || die "Couldn't cp binary libs" + + cd "$ohnet/Build/Include" || die "Couldn't cd to include" + cp -R * "${deps}/include/ohnet" || die "Couldn't cp include" + # cd "$ohnet/Build/Tools" || die "Couldn't cd to tools" + # cp -R * "${deps}/lib/t4" || die "Couldn't cp tools" + cd "$ohnet/OpenHome/Net/T4/Templates" || die "Couldn't cd to templates" + cp -R * "${deps}/lib/t4" || die "Couldn't cp templates" + cd "$ohnet/OpenHome/Net/Bindings/Js/ControlPoint" || die "Couldn't cd to ui" + cp -R * "${deps}/lib/ui" || die "Couldn't cp ui" + cd "$ohnet/OpenHome/Net/Bindings/Python/PyOhNet" || die "Couldn't cd to py" + cp -R * "${deps}/lib/PyOhNet" || die "Couldn't cp py" + + cd "${WORKDIR}/openhome/ohNetGenerated" || die "Couldn't cd later to ohNetGenerated dir" + einfo "Building ohnetgenerated" + emake native_only=yes + + cd "Build/Include" || die "Couldn't cd later to include" + cp -R * "$ohnet/Build/Include" || die "Couldn't cp generated includes" + + # build_ohTopology + cd "${WORKDIR}/openhome/ohTopology" || die "Couldn't cd to ohTopology dir" + mkdir -p build/Include/OpenHome/Av || die "Couldn't mkdir av" + cp -p OpenHome/Av/*.h build/Include/OpenHome/Av/ || die "Couldn't cp to av" + + # build_ohSongcast + cd "${WORKDIR}/openhome/ohSongcast" || die "Couldn't cd to ohSongcast dir" + einfo "Building ohSongcast" + emake release=1 library_static + + #### End ohbuild.sh reverse engineer + + cd "${S}" || die "Failed to cd to source directory" + einfo "Building sc2mpd" + emake +}