megacoffee.net Gentoo overlay - legacy mirror
We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.
comparison media-libs/blackmagic-desktop-video-sdk/blackmagic-desktop-video-sdk-10.8.ebuild @ 180:6a6b4b2dc204
Blackmagic: updating Desktop Video + SDK to 10.8, adding check for kernel version to 10.7, bumping download archive in Media Express 3.5.2
author | Daniel Neugebauer <dneuge@energiequant.de> |
---|---|
date | Thu, 15 Sep 2016 11:00:57 +0200 |
parents | media-libs/blackmagic-desktop-video-sdk/blackmagic-desktop-video-sdk-10.7.ebuild@f80f46f8cb55 |
children |
comparison
equal
deleted
inserted
replaced
179:0e11f0586bd5 | 180:6a6b4b2dc204 |
---|---|
1 # Copyright 1999-2016 Gentoo Foundation | |
2 # Distributed under the terms of the GNU General Public License v2 | |
3 | |
4 EAPI=5 | |
5 | |
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)" | |
7 HOMEPAGE="http://www.blackmagicdesign.com/" | |
8 HOMEPAGE_DOWNLOAD_NAME="Desktop Video ${PV} SDK" | |
9 | |
10 SRC_URI="Blackmagic_DeckLink_SDK_${PV}.zip" | |
11 UNPACKED_DIR="Blackmagic DeckLink SDK ${PV}" | |
12 | |
13 LICENSE="BlackmagicDesktopVideoSDK" | |
14 SLOT="0" | |
15 KEYWORDS="~amd64" | |
16 IUSE="doc examples" | |
17 RESTRICT="fetch" | |
18 | |
19 pkg_nofetch() { | |
20 einfo "Please visit ${HOMEPAGE} and download \"${HOMEPAGE_DOWNLOAD_NAME}\"" | |
21 einfo "for your product from the support section and move it to ${DISTDIR}" | |
22 einfo "" | |
23 einfo " expected filename: ${SRC_URI}" | |
24 #einfo "" | |
25 #einfo "If your browser downloads a .tar.gz file you will need to gunzip it." | |
26 } | |
27 | |
28 src_unpack() { | |
29 unpack ${A} | |
30 | |
31 # symlink to what is supposed to have been prepared | |
32 ln -s "${UNPACKED_DIR}" "${P}" | |
33 } | |
34 | |
35 src_install() { | |
36 # do not compress documentation (only RTF) or samples (makes no sense) | |
37 docompress -x /usr/share/doc | |
38 | |
39 use doc && dodoc -r *.pdf *.rtf | |
40 use examples && dodoc -r Examples Linux/Samples | |
41 | |
42 insinto "/usr/include/blackmagic" | |
43 doins -r Linux/include/* | |
44 } |