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

view media-libs/blackmagic-desktop-video-sdk/blackmagic-desktop-video-sdk-10.7.ebuild @ 229:6ffd328b8bbe

[sync] imported 110a8a8..60c6dd2 from upstream commit 60c6dd2504ff60ffc238facb7fceb66101dae24f Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Fri May 1 11:49:01 2020 +0200 app-admin/boinctui-extended: fixed segfaults by changing tinfo to tinfow commit 6e8a719dae3144d7516f62b0121a4a94a18c1106 Merge: 97474c4 110a8a8 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Fri May 1 11:30:03 2020 +0200 Merge branch 'master' into boinctui commit 97474c43d6ddc8d0d623523fd85e920f1b96a199 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Apr 30 22:17:53 2020 +0200 app-admin/boinctui-extended: added 9999 version commit 45c0cc22d209eed42dc319e9eee577c31db14ae2 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Apr 30 22:08:40 2020 +0200 app-admin/boinctui-extended: adding ebuild for version 1.0.2 (unstable)
author Migration Sync <gentoo-overlay@megacoffee.net>
date Fri, 01 May 2020 10:00:01 +0000
parents f80f46f8cb55
children
line wrap: on
line source

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

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() {
	einfo "Please visit ${HOMEPAGE} and download \"${HOMEPAGE_DOWNLOAD_NAME}\""
	einfo "for your product from the support section and move it to ${DISTDIR}"
	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/*
}