summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/mediastreamer-silk
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-plugins/mediastreamer-silk')
-rw-r--r--media-plugins/mediastreamer-silk/Manifest2
-rw-r--r--media-plugins/mediastreamer-silk/files/mediastreamer-silk-0.0.1-sdk.patch42
-rw-r--r--media-plugins/mediastreamer-silk/mediastreamer-silk-0.0.1.ebuild32
-rw-r--r--media-plugins/mediastreamer-silk/metadata.xml8
4 files changed, 84 insertions, 0 deletions
diff --git a/media-plugins/mediastreamer-silk/Manifest b/media-plugins/mediastreamer-silk/Manifest
new file mode 100644
index 000000000000..cc69cf5768c5
--- /dev/null
+++ b/media-plugins/mediastreamer-silk/Manifest
@@ -0,0 +1,2 @@
+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
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..588ec2fad506
--- /dev/null
+++ b/media-plugins/mediastreamer-silk/mediastreamer-silk-0.0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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://developer.skype.com/silk/${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..ee2fca9fb255
--- /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>
+ <email>bircoph@gentoo.org</email>
+ <name>Andrew Savchenko</name>
+ </maintainer>
+</pkgmetadata>