diff options
Diffstat (limited to 'media-plugins/mediastreamer-silk')
4 files changed, 88 insertions, 0 deletions
diff --git a/media-plugins/mediastreamer-silk/Manifest b/media-plugins/mediastreamer-silk/Manifest new file mode 100644 index 000000000000..cf0442eab7ac --- /dev/null +++ b/media-plugins/mediastreamer-silk/Manifest @@ -0,0 +1,7 @@ +AUX mediastreamer-silk-0.0.1-sdk.patch 1570 SHA256 029e1afd38deca4289ef37e98bdb931487de792356c5c5a73e044b6197a75d2a SHA512 c3bc9086c1a08e1a5757d4a06bb4f63ff115896deb704358b09f356a639c2f82addc05ec7da700f192d85aba13a7ab76741d5e22786f00d84ff50542ca9bd719 WHIRLPOOL 942995f99dd9bb1df5da49e895c96cf8a1c7cac45311438f6851d73b0194c20e1b98824f98f9602da6e349d320cd9d14f5177747a41371d3ff3192406da72803 +DIST SILK_SDK_SRC_v1.0.8.zip 65910872 SHA256 424536084ac2d5c105e22f8048d19103dd83cb54bc32187377f5341d17e1b838 SHA512 2d56552052ec8180de9bbbce2f89d76df63c1bf6a8ac936dacab104d39526c16b9ccac33e5602f3a757bb12057c2e6da6f955ae370b05b93ff1427632c3a9489 WHIRLPOOL a301ba53e3fd1d56bc45d75709eb1b13edcacb7b68811862f2bbb7eba561242594feff6ac13f460593eb97917ecf63d947997316561a74d0d879e7823caccbea +DIST mssilk-0.0.1.tar.gz 57674 SHA256 58f89360a06e5b8414c2a1389b2e0d801ea1548041d7791ca16c1fc3f136e1b0 SHA512 78325c0cf28bf035212583c76aa92f1291442e3f4fbe4c354056ad2b20ff72ba8d7149250431906942352c4deec7912567f512775d5a1dfe07b6b2bd44b5552e WHIRLPOOL da0d9ef8f0d0d83c8a29e981346c876e19f207dbc5f662d53e81dfd2d92c158294008625a9a261e153e33fd50a4bbf4af0d3d58da5a2e66f2871539d01da14bb +EBUILD mediastreamer-silk-0.0.1.ebuild 774 SHA256 aa353ba03c5cee32b9a27c7174b0e2f7e14d12232ff809c9713a18ea2e9c4312 SHA512 123535dcfc6c4b4197f25009321a7b4e29abd1f1b5f97baa87a90fb0a96565ee5bc3e7d6b61f79afb2ecef97ad8f3bd6fbc67d454242652b9d1754484f02157f WHIRLPOOL 29026667b0cfe0f7ec9b1849442741c857436bf4b4a5e1d7034ace6889d40ca51512a7d46ca8ea7823415f0edfa64d35c5c603fc0e60535b3e8a4a7b2b6aec15 +MISC ChangeLog 2452 SHA256 c553a3308e9fb2348da85361cedceaec03a689bf7b5d88a161d9b3799b10b07e SHA512 a4e50a607ec288bb8205b42b36bc1940ebb9301e804dbee56652cc6d2fcec842e4b94a81b262ca7869c4e41fea1fd9a638541f7d51aef4a5114a2afda9baa1dd WHIRLPOOL dd3eb53e83297fdcdf59d253bcabdbe6f274463d4df82c689dfda7a8f963d132e025aa86afdb9eca0cea658ecdd63850771964d5c3defb616331ff3fd94a17ab +MISC ChangeLog-2015 2290 SHA256 9764c5272237699c064e36b519032d47675798fbed9ab4a5d3f3c8fed3c4daca SHA512 d5964994534ebdcb83bfb089be8021d7a4b619155343c17430d1ee6df4cd35a547cf2b551495372beaffcac500bf478aeef978919a64b85c55eecaba94af4828 WHIRLPOOL 28ea11904df6e9c16850bff2afddf11ffc392c4f2f950b20bbd4f50e7a506b14741e846f44959e0ac402b454cb05d391dfd256916c4ecb0120e5a9de1cbc8fc1 +MISC metadata.xml 250 SHA256 891a1998b50e15db4c3577d7b2af6f721cd1c03869af4d9c1da62a8ba0514bda SHA512 a5334e41fb3acb7a8cce473ca9616ecea8fe484e870173f0a26042cd8aca0bc7fa4fe52e9cf10b7495c44608e15f1c71564b3f92a44611ba830b08785666b2ac WHIRLPOOL 520b5ea69bee11082f9d5733a158c32ed7600439c694204570e10630b09749cabc568223a6be99c2d97a3b26a22986e34f10dbcdae92b45e29146d2a11836161 diff --git a/media-plugins/mediastreamer-silk/files/mediastreamer-silk-0.0.1-sdk.patch b/media-plugins/mediastreamer-silk/files/mediastreamer-silk-0.0.1-sdk.patch new file mode 100644 index 000000000000..851e824b54fa --- /dev/null +++ b/media-plugins/mediastreamer-silk/files/mediastreamer-silk-0.0.1-sdk.patch @@ -0,0 +1,42 @@ +--- mssilk.orig/sdk/Makefile.am 2012-02-16 13:22:51.000000000 +0400 ++++ mssilk/sdk/Makefile.am 2012-05-15 20:35:37.374526548 +0400 +@@ -2,28 +2,14 @@ + silk_extracted_directory = SILK_SDK_SRC_v$(silk_version) + silk_src_dir = $(silk_extracted_directory)/SILK_SDK_SRC_$(SILK_FLAVOUR)_v$(silk_version) + +-silk_zip = $(silk_extracted_directory).zip +-silk_url = http://developer.skype.com/silk/$(silk_zip) +- +-downloaded_files = $(silk_zip) +-checkmarks = $(downloaded_files:%=%.check) +-BUILT_SOURCES = $(downloaded_files) $(checkmarks) $(silk_extracted_directory) $(silk_src_dir) $(silk_extracted_directory) ++BUILT_SOURCES = $(silk_extracted_directory) $(silk_src_dir) $(silk_extracted_directory) + + checksum_dir = $(srcdir)/known_checksums + checksum_files = $(addprefix $(checksum_dir)/, $(downloaded_files:%=%.md5)) + EXTRA_DIST = $(checksum_files) + +-$(srcdir)/$(silk_zip): +- $(WGET) $(silk_url) -O $(srcdir)/${silk_zip} +- +- +-# for check, go to $(srcdir) or ./, depending on where file is +-$(checkmarks): %.check: % +- cd $(<D); $(MD5SUM) -c $(checksum_dir)/$(<F).md5 +- touch $@ +- +-$(silk_extracted_directory): $(checkmarks) +- $(UNZIP) $(srcdir)/$(silk_zip) $(silk_src_dir)/* ++$(silk_extracted_directory): ++ ln -s ../../$(silk_extracted_directory) + + $(silk_src_dir): $(silk_extracted_directory) + cp $(srcdir)/patch_pic.diff $(silk_src_dir) +@@ -41,6 +27,6 @@ + cd $(silk_src_dir) && $(MAKE) $(AM_MAKEFLAGS) clean + + install-data-local: $(silk_src_dir) +- cp $(silk_src_dir)/libSKP_SILK_SDK.a $(prefix)/lib ++ echo "stub: nothing to install" + + DISTCLEANFILES = $(BUILT_SOURCES) diff --git a/media-plugins/mediastreamer-silk/mediastreamer-silk-0.0.1.ebuild b/media-plugins/mediastreamer-silk/mediastreamer-silk-0.0.1.ebuild new file mode 100644 index 000000000000..1b300c9c5221 --- /dev/null +++ b/media-plugins/mediastreamer-silk/mediastreamer-silk-0.0.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_PN="mssilk" +SDK_FILE="SILK_SDK_SRC_v1.0.8.zip" # please update silk version on bumps! + +inherit autotools eutils + +DESCRIPTION="SILK (skype codec) implementation for Linphone" +HOMEPAGE="http://www.linphone.org" +SRC_URI="mirror://nongnu/linphone/plugins/sources/${MY_PN}-${PV}.tar.gz + http://www.yxplayer.net/files/${SDK_FILE}" + +LICENSE="GPL-2+ Clear-BSD SILK-patent-license" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" + +RDEPEND=">=media-libs/mediastreamer-2.8.2:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_PN}" + +RESTRICT="bindist mirror" # silk license forbids distribution + +src_prepare() { + epatch "${FILESDIR}/${P}-sdk.patch" + eautoreconf +} diff --git a/media-plugins/mediastreamer-silk/metadata.xml b/media-plugins/mediastreamer-silk/metadata.xml new file mode 100644 index 000000000000..4343afde9aa5 --- /dev/null +++ b/media-plugins/mediastreamer-silk/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>bircoph@gentoo.org</email> + <name>Andrew Savchenko</name> + </maintainer> +</pkgmetadata> |