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-12.2.2.ebuild @ 259:32efd9258ce5

[sync] imported 04d1b06..9f7fbcb from upstream commit 9f7fbcb8451c6c4f26ff0e7989d2ccd92ad27f1c Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Sep 7 23:01:52 2023 +0200 net-misc/asterisk-softmodem: bump to EAPI 8 commit 96dadefa000fde6e61bd2a01c668a9cda4fa30b8 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Sep 7 23:00:56 2023 +0200 app-crypt/acmetool: delete old patch for 0.0.58 commit 349d4168444f2b28345a010ce3ec5952fe51a845 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Sep 7 22:58:09 2023 +0200 app-crypt/acmetool: stitch up old eclass still used to run on EAPI 8 commit 6be702bd1f6723fd4e724de5a1aaa0274d53f1a3 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Sep 7 22:57:29 2023 +0200 app-crypt/acmetool: removed 0.0.58 and 0.2.1 due to EAPI deprecation commit ae0227d3d8fe72eacbd3b1099cf8514131d553a9 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Sep 7 22:45:39 2023 +0200 app-admin/boinctui-extended: bump to EAPI 8 commit 861f2d6873a4cde9c30138d1f7d7739801596ae7 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Sep 7 22:38:38 2023 +0200 app-admin/boinctui-extended: removed 9999 development ebuild, fork has been terminated commit cecf3a2a466ce707b2538ba82cfdbf9575474991 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Sep 7 22:35:25 2023 +0200 app-admin/boinc-status: bump to EAPI 8
author Migration Sync <gentoo-overlay@megacoffee.net>
date Thu, 07 Sep 2023 21:15:02 +0000
parents 4e2200ed1559
children
line wrap: on
line source

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

EAPI=8

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 strip"

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/*
}