We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.

changeset 234:c56b9e2d29d6

[sync] imported 95f1c05..e892980 from upstream commit e892980d2d4e17873e3341bc1c9f027da355d0a6 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Sat Aug 8 14:26:11 2020 +0200 media-libs/blackmagic-desktop-video-sdk: version bump to 11.6
author Migration Sync <gentoo-overlay@megacoffee.net>
date Sat, 08 Aug 2020 12:30:01 +0000
parents 91da5dddbae5
children 81f94c1dfb45
files media-libs/blackmagic-desktop-video-sdk/Manifest media-libs/blackmagic-desktop-video-sdk/blackmagic-desktop-video-sdk-11.6.ebuild
diffstat 2 files changed, 49 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/media-libs/blackmagic-desktop-video-sdk/Manifest	Sat Aug 08 12:15:02 2020 +0000
+++ b/media-libs/blackmagic-desktop-video-sdk/Manifest	Sat Aug 08 12:30:01 2020 +0000
@@ -1,2 +1,4 @@
 DIST Blackmagic_DeckLink_SDK_10.9.zip 48781301 BLAKE2B b29ea2177f17d298a0bb5696aa93124a6c022c3e551e89bcb3e267305e479f8e753bfe3440217760e4840cf15c5538b2ab09b99bd950db07c08bf57378de0752 SHA512 bb21a3a4c0557b3b892b72995646e0cc5f447a0fdf6bb71dc8017d2e852b511fbabca7a9c30e85a1e0b0213e8cd8fdb9c4d5da5c6621fb5b2ab62ded07850642
+DIST Blackmagic_DeckLink_SDK_11.6.zip 78727777 BLAKE2B 3eb761f14dca412896990dc4e682541d05c1aded60b432989719098b529d3df6185e7120179419d3d5c4087ac8565f16b856e0af02868c8604a185460bdfe8e1 SHA512 ad842a6c23aafdfacc8d435a6b1e7bae6c7a114ea5ac371cfbb32e17a8e89556f9b5553568f07146f02ed50ead4c0ca43d771d4dd670805c5e5bed0d17cbe5fd
 EBUILD blackmagic-desktop-video-sdk-10.9.ebuild 1525 BLAKE2B b5fe660bc8f207db9505a5d357c177fadeea7e0a7581fe00a07ae714017def172db88130ad51e9bda73f982484ea67bf3bd01f38627ebe620b74094ec346aaab SHA512 dd343bb8963fe1c918ac23f9dfa1a7790765b2803beda9bdeb21d98cd62ab76220cc2082a9d18a221e439f1c82676665f8f61407db59646cb803d4b48be11227
+EBUILD blackmagic-desktop-video-sdk-11.6.ebuild 1525 BLAKE2B 9b49fdd07135e9f8b7d0a8314f3f52217a8cde3172c3713169f68be61d3147ca4ea38ebd0ca8d650943df76fca7bd88eee0decdb1b3797c79f5b7a99d40758e2 SHA512 21dbe22dd42e135e8625229bb6fd86892d6b804d73a78625350e877af919b79ce4e5db61f62f85712331f5fcbcab8378b26de4c910df0a4c05b763f19fb3f1b0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/media-libs/blackmagic-desktop-video-sdk/blackmagic-desktop-video-sdk-11.6.ebuild	Sat Aug 08 12:30:01 2020 +0000
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Desktop Video SDK - headers, examples and documentation necessary to develop/compile custom applications for products by Blackmagic Design (also known as DeckLink SDK)"
+HOMEPAGE="http://www.blackmagicdesign.com/"
+HOMEPAGE_DOWNLOAD_NAME="Desktop Video ${PV} SDK"
+
+SRC_URI="Blackmagic_DeckLink_SDK_${PV}.zip"
+UNPACKED_DIR="Blackmagic DeckLink SDK ${PV}"
+
+LICENSE="BlackmagicDesktopVideoSDK"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples"
+RESTRICT="fetch"
+
+pkg_nofetch() {
+	#               1         2         3         4         5         6         7
+	#      123456789012345678901234567890123456789012345678901234567890123456789012
+	einfo "Please visit ${HOMEPAGE} and download \"${HOMEPAGE_DOWNLOAD_NAME}\""
+	einfo "for your product from the support section and move it to your DISTDIR"
+	einfo "(/var/cache/distfiles or /usr/portage/distfiles unless you changed it)."
+	einfo ""
+	einfo "  expected filename: ${SRC_URI}"
+	#einfo ""
+	#einfo "If your browser downloads a .tar.gz file you will need to gunzip it."
+}
+
+src_unpack() {
+	unpack ${A}
+	
+	# symlink to what is supposed to have been prepared
+	ln -s "${UNPACKED_DIR}" "${P}"
+}
+
+src_install() {
+	# do not compress documentation (only RTF) or samples (makes no sense)
+	docompress -x /usr/share/doc
+	
+	use doc && dodoc -r *.pdf *.rtf
+	use examples && dodoc -r Examples Linux/Samples
+	
+	insinto "/usr/include/blackmagic"
+	doins -r Linux/include/*
+}