summaryrefslogtreecommitdiff
path: root/media-libs/libdvbcsa
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libdvbcsa')
-rw-r--r--media-libs/libdvbcsa/Manifest3
-rw-r--r--media-libs/libdvbcsa/libdvbcsa-1.1.0.ebuild30
-rw-r--r--media-libs/libdvbcsa/metadata.xml8
3 files changed, 41 insertions, 0 deletions
diff --git a/media-libs/libdvbcsa/Manifest b/media-libs/libdvbcsa/Manifest
new file mode 100644
index 000000000000..26cad0709d2d
--- /dev/null
+++ b/media-libs/libdvbcsa/Manifest
@@ -0,0 +1,3 @@
+DIST libdvbcsa-1.1.0.tar.gz 345487 BLAKE2B ff5d9347f4255ca2c4e62477771715a7d8fcfca6eeb3a2e6cfdfcd903c9927a35d9049d18ec5a9d458328d6a3712d6cf81633e7ddc7c67d1a8099b8d56b2fd68 SHA512 f336bc90711261bb86bb42f897d5207a71da5a384bfb7d641de7e1fb3a43d20aeec250e9a5ceaf0b20f1e4335ccda70055675256c6889873bf1bfff55005a015
+EBUILD libdvbcsa-1.1.0.ebuild 804 BLAKE2B ca1b12f28e02ceaf199a0d3fb4da1596dbc49a9bfb7a7a276255858496bf3c96913b4544c835c313ccccc538d42233e2eb564541a00c614714719360134c0944 SHA512 18f56aaea857d6dd5466ae59c1782f70275373581c3d689ab42c412f0c197e1e3f925d38dc9cfaae0a993d3b034833498351b91c5f43c7813c5a55b17932faf7
+MISC metadata.xml 247 BLAKE2B 158fa8dff063e01e64b4835fa1f199518ecf7d81282ee8c893efc0d4d73454e16adb3189ee8cd1272bbada6fb5ffc2b5aadbd796490c829cba1a4b8e3e20f29f SHA512 8bffd29ab89c8dc401ad49655e30a6bd3a953bf8f6c9309b318f3b03ed7bcf2e5c10533ac70967e549edcd512f6be13b9bce3e36175286370ba499dcb119f6fc
diff --git a/media-libs/libdvbcsa/libdvbcsa-1.1.0.ebuild b/media-libs/libdvbcsa/libdvbcsa-1.1.0.ebuild
new file mode 100644
index 000000000000..8c96eb334aa0
--- /dev/null
+++ b/media-libs/libdvbcsa/libdvbcsa-1.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Free implementation of the DVB Common Scrambling Algorithm - DVB/CSA"
+HOMEPAGE="https://www.videolan.org/developers/libdvbcsa.html"
+SRC_URI="https://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~arm ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug cpu_flags_x86_mmx cpu_flags_x86_sse2 static-libs"
+
+src_configure() {
+ econf \
+ $(use_enable ppc altivec) \
+ $(use_enable debug) \
+ $(use_enable cpu_flags_x86_mmx mmx) \
+ $(use_enable cpu_flags_x86_sse2 sse2) \
+ $(use_enable static-libs static) \
+ $(use_enable x86 uint32) \
+ $(use_enable amd64 uint64) \
+ --enable-shared
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/media-libs/libdvbcsa/metadata.xml b/media-libs/libdvbcsa/metadata.xml
new file mode 100644
index 000000000000..54be7ff7e5d6
--- /dev/null
+++ b/media-libs/libdvbcsa/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>chewi@gentoo.org</email>
+ <name>James Le Cuirot</name>
+ </maintainer>
+</pkgmetadata>