diff options
author | Michał Górny <mgorny@gentoo.org> | 2012-11-19 21:30:51 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2012-11-19 21:30:51 +0000 |
commit | 86ad5fd16bb7b492332c3134323c7b848301c2f3 (patch) | |
tree | 571e93d605fcb3ae9a87d90dd10e437c84f962ed /media-plugins/mediastreamer-silk | |
parent | Add G729 plugin wrt bug #416203. Thanks to Andrew Savchenko for his effort on... (diff) | |
download | historical-86ad5fd16bb7b492332c3134323c7b848301c2f3.tar.gz historical-86ad5fd16bb7b492332c3134323c7b848301c2f3.tar.bz2 historical-86ad5fd16bb7b492332c3134323c7b848301c2f3.zip |
Add Silk plugin wrt bug #416205. Thanks to Andrew Savchenko for his effort on linphone ebuilds.
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Manifest-Sign-Key: 0x42B9401D
Diffstat (limited to 'media-plugins/mediastreamer-silk')
5 files changed, 120 insertions, 0 deletions
diff --git a/media-plugins/mediastreamer-silk/ChangeLog b/media-plugins/mediastreamer-silk/ChangeLog new file mode 100644 index 000000000000..f433efd41788 --- /dev/null +++ b/media-plugins/mediastreamer-silk/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-plugins/mediastreamer-silk +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/mediastreamer-silk/ChangeLog,v 1.1 2012/11/19 21:30:49 mgorny Exp $ + +*mediastreamer-silk-0.0.1 (19 Nov 2012) + + 19 Nov 2012; Michał Górny <mgorny@gentoo.org> + +files/mediastreamer-silk-0.0.1-sdk.patch, +mediastreamer-silk-0.0.1.ebuild, + +metadata.xml: + Add Silk plugin wrt bug #416205. Thanks to Andrew Savchenko for his effort on + linphone ebuilds. diff --git a/media-plugins/mediastreamer-silk/Manifest b/media-plugins/mediastreamer-silk/Manifest new file mode 100644 index 000000000000..a7e9cdee7b9b --- /dev/null +++ b/media-plugins/mediastreamer-silk/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +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 997 SHA256 5e129e21be187cf94e336635539a2f1155865d86eb53ee9a0f32ebeed3aca9ab SHA512 d5d6cbe66c1520d5e98613c672af359a9fef666672c852e98c71a85569c37347951448eff28abad0f849c9f22a219163c32a9f8c8c7378a4c83bce6ef38c9930 WHIRLPOOL 1a9bb9e53d18c1a2225ebc0bb8c0641412f9bb9cabfd0aa531fdbdf188b9c070a30e5f44200aa3a5949fe5c9c82636cbe6a55575957a1e8b6525a4b422ae97b2 +MISC ChangeLog 524 SHA256 46e1357148242bb18b4ef19d5c85d6b099c4cf8e1822eecf7b2f0187934c087d SHA512 ab0e348c4e42cdde08873b0926ccfcc57113ce6c17285052396ce056b55e7f0550d4f2ca3ff523fb0f6d00ce1584b74b51b7a7763b127e44ffb997ea88983843 WHIRLPOOL c980ddb2405cf203c78068fe7b8c4160c16430770984308a0c58d7fd1fc9f9ec5c582188fede0ca5f575b14e5996ad40f79478810afea68786d42bfdf463e17e +MISC metadata.xml 307 SHA256 9336af9d4a15d3dd8a496e405ee7f7cea4f6adf881b09966b651bbe85fc52c56 SHA512 038b39b0f90ee64c00a0417c917f57eeb6948631c7b1db9fd58906b77207c96ac1f94dff08142a8c85b3d8b534da2a1cc4606369a9da6f062c09e2c77de9b009 WHIRLPOOL 1570f592621d83cf1ee1b56340bacdf428e338c9952293b87fe4cd867ad04e6637dc276dd550ab19d35f199533c2d1eeb2914ea3064b92701f699f08ba792c8b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iJwEAQEIAAYFAlCqpV0ACgkQfXuS5UK5QB0NWAP+Num7jdmKr7paGdjpq2GuZkbD +hG4rLHnNWw51OuEY4FCo5XCojpo/Djuf1zyb3r6Ak6pdJS8+XqVyFYhCIFDibkVB +c/obXu2Ns9uG+TVxs8ItiaNxVX+ZzYxPX/p5iGnLDKbCRCi/ih6aj+H20tgmC5/i +tE9PXTX9+558/0yjZXY= +=hn0d +-----END PGP SIGNATURE----- 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..66d686eb93d2 --- /dev/null +++ b/media-plugins/mediastreamer-silk/mediastreamer-silk-0.0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/mediastreamer-silk/mediastreamer-silk-0.0.1.ebuild,v 1.1 2012/11/19 21:30:49 mgorny Exp $ + +EAPI=4 + +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://developer.skype.com/silk/${SDK_FILE}" + +LICENSE="GPL-3 as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bindist" + +RDEPEND=">=media-libs/mediastreamer-2.0.0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_PN}" + +RESTRICT="mirror" # silk license forbids distribution + +pkg_setup() { + if use bindist; then + die "This package can't be redistributable due to SILK license." + fi +} + +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..c30adc180ab0 --- /dev/null +++ b/media-plugins/mediastreamer-silk/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>voip</herd> + <maintainer> + <email>volkmar@gentoo.org</email> + <name>Mounir Lamouri</name> + <description>Assign to herd and CC me</description> + </maintainer> +</pkgmetadata> |