↑ Collapse Diff ↑
1 1
 
DIST Blackmagic_DeckLink_SDK_10.7.zip 50501702 SHA256 01562df363dce1f427273ef96595aa6964dbf8cbe492fa2eddaf9d9aff3eaadd SHA512 87e9efaa0ed8a6f89524410a6412adadd0fae9ce1b8d7938bc4a3121a7a526800cbf922c147a0bca4402cf082799733d4b37b8e4c977105779216b08df2feced WHIRLPOOL 924a52c5e41acebc95d9c3ebbb9560acd6b889f0e9aaa78b17f8103cf6e529c94e560fd64cf176c144483a95997c9b25a46bfb12b6f23dafa24c14ebb1076a97
2 2
 
DIST Blackmagic_DeckLink_SDK_10.8.3.zip 50633808 SHA256 be6e582c878ce6abc7faa03085d1715b45d83c2cc4e7717b0f05cf01dffb8445 SHA512 9b69bd1a073a8e8f027801b0fa2e109ed9af959b94e84ad728f78bc72132f40680224fb72b2a66b3c3136ac9455b97156c0b0123418265696f426323e45bf976 WHIRLPOOL e02fed75bfc6c50a5fed87e706cd6d8303b09b1b6d22e4a19290ec047a6b83a2bd47a04e7bd7ac96fdf061736f687922289a27648fc3e63f60606c07dfd4a520
3 3
 
DIST Blackmagic_DeckLink_SDK_10.8.zip 50500919 SHA256 1e77a5933f1c8e8414f1985dc152385bf5017cc9fecc056f987d709ed8162266 SHA512 ade4ae725795031b9266ec46856d5e274b63939a5bbbea55bab320c20fe9985337d939d14ef5c47ffab691c30f703f442b88448b8cdbe2c5ce9507fbf8fb5a44 WHIRLPOOL 04fc5fcb4466bb045f31c0ddb472855cd47f607853cb25c68b29509917cbca81a3d0e1e8cf6dae62fedf95a1faba1c272e00072b0b7021310722c1c48bdafb4a
4
 
DIST Blackmagic_DeckLink_SDK_10.9.zip 48781301 SHA256 584656b8e1c3c06e78bd35a9a7c6bef7795520ff9e24a48694de92e88c2c72df SHA512 bb21a3a4c0557b3b892b72995646e0cc5f447a0fdf6bb71dc8017d2e852b511fbabca7a9c30e85a1e0b0213e8cd8fdb9c4d5da5c6621fb5b2ab62ded07850642 WHIRLPOOL d80ac92c6870b07998ac5fcdb9e9b71b75d2aae063daee51d9a092f4b9ef31799ec1987ab677c054b9a9d239e547e82b1cbf45590ec0add88b0eb19824ecbe17
4 5
 
EBUILD blackmagic-desktop-video-sdk-10.7.ebuild 1282 SHA256 5cbb9dad6a54dc3b65193b20892ddaae2c0335bc91ca77f82d7b788db55fbc52 SHA512 8ed29cea70f1c3ed13d500c9e09f197c8d1ccb1cb6d95ae4724eb6f60be4e6a490384d5895ab501c7e435926d2bbdf5658e258e3ca978511231b9147f71b1dc4 WHIRLPOOL 3d05f7d459efeff608f5c10f547bd4773b4fd56efce73b72713aa32c027efe52b90ffdaeed87f2af3104489340bf42ee628011aab8aff4eb8e4078502dd5d1d3
5 6
 
EBUILD blackmagic-desktop-video-sdk-10.8.3.ebuild 1282 SHA256 5cbb9dad6a54dc3b65193b20892ddaae2c0335bc91ca77f82d7b788db55fbc52 SHA512 8ed29cea70f1c3ed13d500c9e09f197c8d1ccb1cb6d95ae4724eb6f60be4e6a490384d5895ab501c7e435926d2bbdf5658e258e3ca978511231b9147f71b1dc4 WHIRLPOOL 3d05f7d459efeff608f5c10f547bd4773b4fd56efce73b72713aa32c027efe52b90ffdaeed87f2af3104489340bf42ee628011aab8aff4eb8e4078502dd5d1d3
6 7
 
EBUILD blackmagic-desktop-video-sdk-10.8.ebuild 1282 SHA256 5cbb9dad6a54dc3b65193b20892ddaae2c0335bc91ca77f82d7b788db55fbc52 SHA512 8ed29cea70f1c3ed13d500c9e09f197c8d1ccb1cb6d95ae4724eb6f60be4e6a490384d5895ab501c7e435926d2bbdf5658e258e3ca978511231b9147f71b1dc4 WHIRLPOOL 3d05f7d459efeff608f5c10f547bd4773b4fd56efce73b72713aa32c027efe52b90ffdaeed87f2af3104489340bf42ee628011aab8aff4eb8e4078502dd5d1d3
8
 
EBUILD blackmagic-desktop-video-sdk-10.9.ebuild 1282 SHA256 5cbb9dad6a54dc3b65193b20892ddaae2c0335bc91ca77f82d7b788db55fbc52 SHA512 8ed29cea70f1c3ed13d500c9e09f197c8d1ccb1cb6d95ae4724eb6f60be4e6a490384d5895ab501c7e435926d2bbdf5658e258e3ca978511231b9147f71b1dc4 WHIRLPOOL 3d05f7d459efeff608f5c10f547bd4773b4fd56efce73b72713aa32c027efe52b90ffdaeed87f2af3104489340bf42ee628011aab8aff4eb8e4078502dd5d1d3
 
file copied from media-libs/blackmagic-desktop-video-sdk/blackmagic-desktop-video-sdk-10.8.3.ebuild to media-libs/blackmagic-desktop-video-sdk/blackmagic-desktop-video-sdk-10.9.ebuild
1 1
 
AUX 10_8_4__4_9_get_user_pages.patch 2559 SHA256 16c030f88767af888491c905d26294ce94ce55cf0f6b6fd05ca6b841d1c06178 SHA512 cae937296ba3266618f370fb69d4a83d10ac178b6e232f7f550efa99cd720d71168034dbb095802d6cbe941ca8ac5dc6421a9a399dcb7e631b2bbd39ec01d287 WHIRLPOOL bcdf8db06c7ba23bf11025ebe965a2b0f08e73e904147077d9b43cd387f42cc886a9feb6c8bc2d1f80532053026c64662f231e1a6611d2f051b7fc9ffacfaef2
2
 
AUX 10_9_0__4_10_get_user_pages_remote.patch 2289 SHA256 7f90d1969534a2c09b06baeb23644e2ebbe595facd8b3e6e99fca8419829f397 SHA512 be99305d69925d53deb6a80bdf91d19832ecec28a72c0f838d3bde87727578d5da54d0e2001f6d3961d1bb546e3b59c694894425a4ff2063da8340e3514abd2b WHIRLPOOL fd9c6a7e64a9aaaa82629ce2d9f9c24161ac91aa89bb3e90317fda0add62e336a6a13b93cb7d2756116a58b88401b51673bded43bb4caade96139e4decf8f3ce
2 3
 
AUX 9-8-strict-prototypes.patch 600 SHA256 bdd692ad335f6b66f88149e52d59ee59e8401e0eb36234a3d175cccc04ccad91 SHA512 1c6ac8c6e8d97e1c428f720695831101568a51ebb47aaa346eef5fadca15bd9bc36ab1884156c1de5474f70b153097b04e7939c710c13338a7a9ed69086441ea WHIRLPOOL 34204ad2e7e3c18ee129876bbd93f0c22e94344694672ccb465ec8dfeae380ecc2f35a9e68fd33fef4745fde85cd3a2381ee7787361fbe1da155a2ac5ee97031
3 4
 
DIST Blackmagic_Desktop_Video_Linux_10.6.6.tar 592264137 SHA256 444785bbeb5234bff4346deede1e19fa9a9fb20602a2637f38fbad2063bb8aab SHA512 4168f53fae755468f0808861bb8863c16a8197c7ca0f891e30a1f46c6051f17a4bc702e28bd74ade1bec3683bdfc46afa980d359fb21a6a800110aa0825ac107 WHIRLPOOL 278cd1a122ea5c7d9f1affd58ad08dbddc863d5e2732d6b85610ae6a8ea176020a34cc59b7a0e42277f227c71b4e6a17a73de21977813b331617f056830b3146
4 5
 
DIST Blackmagic_Desktop_Video_Linux_10.6.8.tar 593097230 SHA256 ec0784ccd5bb0006babb9339542cf9c0a1c9f45449d8a4849b9227e617877a4e SHA512 b02e96b41187a390c91690f6ff08b2020cf04fa0023a9f48228797d1e703218c108f200020cabf60bb6dab8d0b2da07be25e3907e1015878a32a5c832af8abc2 WHIRLPOOL 8222f30c7b66d605fa8e6de5bbb9be6c5bff30efdc7826b170a2550c8f1111b59a71fe7968643e222ca76166f2c93234cde0d6317031e006bba60567ad05ce7a
5 6
 
DIST Blackmagic_Desktop_Video_Linux_10.7.tar 598433346 SHA256 20527b587c2fdf8e59b88417994211a84853f2c079af54fe00f1eb6ce2380d4d SHA512 f0723bc5de4aca84115afe233a3b7772c756d072a8b112d7ca657da13ea3bc6320beaa08ab8e994cb7a64b9e0d0fa3891e070c44d4204c2d863c3b8c644caa67 WHIRLPOOL 11e3cd44b12962c5cb36ef5a4970820990375189878c06f067d2718e8f912ccb2e662287eaf9070efa902741d6eb8715f43a71e179d964159baaaf2a11539cf1
6 7
 
DIST Blackmagic_Desktop_Video_Linux_10.8.4.tar.gz 650141601 SHA256 fab3955b44a8ad845a2c65d8410c05ecb94e9822377feb5fbd0bab769857a048 SHA512 38a223309e66f93951c2f0cced29d1ce46ab1cfb4351c7b3a84d99eaabcb8346993090f536d6e9b6e16eb114dabea4a0f718eeee36d156b9af1b3d5cb92bf6b8 WHIRLPOOL 6e2794f3f8f0b8e0a3316f5ffaf64e7ae5cf49e1803614abdeb0fd513635966063c0d2f5201933ff318ec6a92777db103a4a94a428b75a8b5f79f9ef7d4d9f3f
7 8
 
DIST Blackmagic_Desktop_Video_Linux_10.8.tar.gz 613238138 SHA256 09d3593b2fd499bdeb794e1cea3972c0dcd997d08eedbe959ea5965d18983268 SHA512 6d9d722b578b1acdf76a6ca77509024605e5a9b444fc3c4a5d0633aa5090a5bd938c6b577a87d6d66a03d390fdd64e7374fd49db350fcbb1033a5d664e1b310e WHIRLPOOL 7d52745332224fe6b57dd9cece2a5af1562638fc197834f18ca79febb7456e158b19f5079d09b6eeb1ef0eb1e5a85339b9dd2f93e8d92c37b6ef15a7751478c8
9
 
DIST Blackmagic_Desktop_Video_Linux_10.9.tar.gz 662892811 SHA256 6a883936e877ee3985dea55027662cf58782a5e19081f1dce668761879159581 SHA512 d73da849b6cd1cf72f3ff75500da04b34b12c94bd1baa0cdf31674a91539231c4b3da914cad4069fbb1fe24450a877cd90fc34aa2f5f05606d3ef2eeef4ac96f WHIRLPOOL e516e840f376336efeca5cbad461d19f0a54f2376b748f4a91b0945556b8bac9c751d61ce6144f44d6af880d4ec612a3a6764e1675a6b7e5099c4199aed81cb6
8 10
 
DIST Blackmagic_Desktop_Video_Linux_9.8.tar.gz 141900528 SHA256 6977360490c806f9952028d50bc10782d5878e5d42bd7c0f5eb070b3b6e1116c SHA512 af4ccd5f9732633c4b3756766cd54c3329bf9edeb640462bb316e9c2b782550399806973a51e51c52fa47eaa018a11889b343cc3c1531282cc6524c6f630fce1 WHIRLPOOL 6497d43c147db98e433edb3639a666b1f39036c44fe317f835407458924969ca0ae1741c577bb7b92853cc720eb0fd6cda09aca820c8222adcbfe66bd9540fb9
9 11
 
EBUILD blackmagic-desktop-video-10.6.6.ebuild 7226 SHA256 c65c0f84bc01331eb91d86a9e2d56bc359f19f0ca6f6baa3b4e9d996ab3bd741 SHA512 6e662c29da2e25ab6a943dcc787efa98d9b54b2cf16642d4b4c9290093eabdc65631996928d28ac1f84b37d3d25921b4aff18fc573979ea9bee4bd17ecc30bc3 WHIRLPOOL 71a5ae012fb9214a00f5f93f29a632fa3b50704726f0b3fe366bbcb719122ea6b097cd7e9b48a6a9007dabf11f5c751b0fe5a42fbaa75fe1d371372c2001ac24
10 12
 
EBUILD blackmagic-desktop-video-10.6.8.ebuild 7288 SHA256 f2e8f292f034a33a076bd7352f8744d9f15cf292b456bb0da932a12d610cfa61 SHA512 ae7a6d84c80ec720966dfee2fb915c6abb7490c6a7a21fedd15d395d7c27f2c4794ca12cb34d31142e438f7799de87603a2f8b006f46883a9a95af20314eac9e WHIRLPOOL d2b32910a46970341af33633630b42956c9d6184567d635235ffe029ef0f7798c8c5a443771b171b33fc1b5e597993b899ce9878fa6ec20ed57008fbbcbf8122
11 13
 
EBUILD blackmagic-desktop-video-10.7.ebuild 7329 SHA256 691ee1cd40b7b61db605d3ed95a8040793b57c67b4c4675f6d025a9ccf202aa0 SHA512 004b19b8744effbc7ff408c7edaefbd1e5dc908bf60da81fae1fd682eef7a0fb1100e8e3aa7b3f23f40238367bcc679afb81e2232fe66f704e4603494b706b01 WHIRLPOOL d0684a88f8513a5d27f5ca44b00b7e38f1ade2dc3e09d4728fc5f34bd51b27b323da668f123a23c02d45054e509ed32d56f06ad00e8d9c36e4ec2d26563dc008
12 14
 
EBUILD blackmagic-desktop-video-10.8.4.ebuild 9398 SHA256 6763a2d510c57fb1a416df66902ac8e439e34a06b69de6bf91bc4a13c6c06736 SHA512 1ccb7a5b7ab32b89f15abee873cdc71ee10d299cc43cb6ae186516bba32f80aff4ae0befdcef74d8f74000cfc3d556de4d2c1c0b3e7130d68da189f08a4028b7 WHIRLPOOL 22ed7453d74dc5775cd60709f1ffa42454ffe852d54d389b67a5a633671cf25d6add5be6a392de8fc9bff7971d0806d47047f1677964f9f6365896c1162502d0
13 15
 
EBUILD blackmagic-desktop-video-10.8.ebuild 7533 SHA256 0075b73cad8ea8d3c37b3237a431e5e048a7e1d01bf7ad1d496324f633a2c3b2 SHA512 7daf891ad9bf388dc9636954dfee2a89b6c140a78e55d46cf9f735aa500cabc742b2d42566bdb04eeb134e8860329c4f2eca32dc3afa3aaeae6975a18f799047 WHIRLPOOL eb59188c10c95d726f1d5fbfa6cc51af8f6a89fb4272cb64dd7ba00ac339655e8606754c9ec8ab929eff170b98a52a81bb1d8e7880d4951b6f62e27248a01f40
16
 
EBUILD blackmagic-desktop-video-10.9.ebuild 11339 SHA256 a62202578a012bf2c90acbb8cfb8a426ccf7c38b4a5c597d0613cebeb1a095e1 SHA512 b12150b390e87df9b5b82aabfd54969a0c87d1e78797c9eb34d67a293d6dab181c635d55d8c0895f93813cff34ca886bb6d6bfd424e4d5b7b5d21787c2a5ce79 WHIRLPOOL f800902fdba734d83e7952dd3e8b9e22cb15e9d4c369fc103999ef50376af9c10ec5f8ab40815342fc36d8440d9b28704d317bc8bbb6e8ffe6ca70cfe65a3b3a
14 17
 
EBUILD blackmagic-desktop-video-9.8.ebuild 4164 SHA256 95301cff3c1901ef3ade16d0e043b5354c53f5795cf56950b0f5f07678a9054a SHA512 5028ba85c878f41baad35457aa75c3f785768ca3759519caafd9c90b73c181712b83ba5dd48d3ddf65583ef7e32b88db673ce4840af237ce9ae1f0e19189765c WHIRLPOOL 70d6a04f80dbfd2131e8d2845c4b909dbfb932c9aa88198b5ed97d947780584a7f0e0cd21370f0bbd038df0a72d99f7fe7a71f607394814bfd4e4475d4ad876f
15 18
 
MISC metadata.xml 430 SHA256 a601016e733f78a2913119ab17da76763cd70abaca935b31b28347aa71270fd2 SHA512 076c508775866e0edc461580e346d8e83dd60540eb0428cf830e39a02415843984900783b0edde23a9047697f13b4d93f856738839e0dd3516dd751134e8da0d WHIRLPOOL c934a5e5f4744378344a38526053047989a6efc3bc0e28e0d24186e5e188af6501bcccc31c9ba4143c8faafaea5a86a5a9e7b5ffd414fe9ae3a5e77848526b92
 
file copied from media-libs/blackmagic-desktop-video/blackmagic-desktop-video-10.8.4.ebuild to media-libs/blackmagic-desktop-video/blackmagic-desktop-video-10.9.ebuild
...
 
@@ -13,7 +13,8 @@ HOMEPAGE="http://www.blackmagicdesign.co
13 13
 
HOMEPAGE_DOWNLOAD_NAME="Desktop Video ${PV}"
14 14
 

	
15 15
 
SRC_URI="Blackmagic_Desktop_Video_Linux_${PV}.tar.gz"
16
 
DESKTOP_VIDEO_VERSION="10.8.4a4"
16
 
DESKTOP_VIDEO_VERSION="10.9a7"
17
 
CONTAINER_DIR="Blackmagic_Desktop_Video_Linux_${DESKTOP_VIDEO_VERSION}"
17 18
 
UNPACKED_DIR="desktopvideo-${DESKTOP_VIDEO_VERSION}-x86_64"
18 19
 

	
19 20
 
LICENSE="BlackmagicDesktopVideo"
...
 
@@ -43,6 +44,12 @@ QA_PREBUILT="opt/blackmagic-desktop-vide
43 44
 
MODULE_NAMES="blackmagic(misc:${S}/usr/src/blackmagic-${DESKTOP_VIDEO_VERSION}:${S}/usr/src/blackmagic-${DESKTOP_VIDEO_VERSION}) blackmagic-io(misc:${S}/usr/src/blackmagic-io-${DESKTOP_VIDEO_VERSION}:${S}/usr/src/blackmagic-io-${DESKTOP_VIDEO_VERSION})"
44 45
 
BUILD_TARGETS="clean all"
45 46
 

	
47
 
PATCH_COMPAT_MAX_MAJOR=4
48
 
PATCH_COMPAT_MAX_MINOR=10
49
 

	
50
 
OFFICIAL_COMPAT_MAX_MAJOR=4
51
 
OFFICIAL_COMPAT_MAX_MINOR=9
52
 

	
46 53
 
pkg_nofetch() {
47 54
 
	#               1         2         3         4         5         6         7         8
48 55
 
	#      1234567890123456789012345678901234567890123456789012345678901234567890123456789012
...
 
@@ -55,12 +62,27 @@ pkg_nofetch() {
55 62
 
}
56 63
 

	
57 64
 
pkg_pretend() {
58
 
	if kernel_is -gt 4 7 && ! use patch_compat; then
65
 
	if kernel_is -gt $PATCH_COMPAT_MAX_MAJOR $PATCH_COMPAT_MAX_MINOR; then
59 66
 
		#      12345678901234567890123456789012345678901234567890123456789012345678901234567890
60 67
 
		ewarn "Your kernel version seems to be unsupported; you have two options if modules do"
61 68
 
		ewarn "not work/compile:"
62 69
 
		ewarn ""
63
 
		ewarn " 1) Recommended: downgrade to an officially supported kernel version (e.g. 4.7)"
70
 
		ewarn " 1) Recommended: downgrade to an officially supported kernel version (e.g. ${OFFICIAL_COMPAT_MAX_MAJOR}.${OFFICIAL_COMPAT_MAX_MINOR})"
71
 
		ewarn ""
72
 
		ewarn " 2) Downgrade to an inofficially supported kernel version (max. ${PATCH_COMPAT_MAX_MAJOR}.${PATCH_COMPAT_MAX_MINOR}) and apply"
73
 
		ewarn "    the *inofficial* patch which allows more recent kernel versions but may void"
74
 
		ewarn "    warranty permanently. This can be done by setting the USE-flag patch_compat"
75
 
		ewarn "    for this ebuild. The patch is not guaranteed to work at all and may even"
76
 
		ewarn "    damage your hardware. Use at your own risk; you've been warned!"
77
 
		ewarn ""
78
 
		ewarn "It's highly recommended to choose option 1 and wait for an officially supported"
79
 
		ewarn "update unless you want to risk loosing your hardware and support."
80
 
	elif kernel_is -gt $OFFICIAL_COMPAT_MAX_MAJOR $OFFICIAL_COMPAT_MAX_MINOR && ! use patch_compat; then
81
 
		#      12345678901234567890123456789012345678901234567890123456789012345678901234567890
82
 
		ewarn "Your kernel version seems to be unsupported; you have two options if modules do"
83
 
		ewarn "not work/compile:"
84
 
		ewarn ""
85
 
		ewarn " 1) Recommended: downgrade to an officially supported kernel version (e.g. ${OFFICIAL_COMPAT_MAX_MAJOR}.${OFFICIAL_COMPAT_MAX_MINOR})"
64 86
 
		ewarn ""
65 87
 
		ewarn " 2) Apply an *inofficial* patch which allows more recent kernel versions but may"
66 88
 
		ewarn "    void warranty permanently. This can be done by setting the USE-flag"
...
 
@@ -69,6 +91,11 @@ pkg_pretend() {
69 91
 
		ewarn ""
70 92
 
		ewarn "It's highly recommended to choose option 1 and wait for an officially supported"
71 93
 
		ewarn "update unless you want to risk loosing your hardware and support."
94
 
	elif kernel_is -le $OFFICIAL_COMPAT_MAX_MAJOR $OFFICIAL_COMPAT_MAX_MINOR && use patch_compat; then
95
 
		#      12345678901234567890123456789012345678901234567890123456789012345678901234567890
96
 
		einfo "Your kernel version is officially supported by this release. It is recommended"
97
 
		einfo "to unset patch_compat USE flag until you need it again."
98
 
		einfo "Inofficial patches will not be applied this time."
72 99
 
	fi
73 100
 
}
74 101
 

	
...
 
@@ -76,15 +103,17 @@ src_unpack() {
76 103
 
	unpack ${A}
77 104
 
	
78 105
 
	cd ${WORKDIR}
79
 
	tar xfz Blackmagic_Desktop_Video_Linux_${PV}/other/x86_64/desktopvideo-${DESKTOP_VIDEO_VERSION}-x86_64.tar.gz
106
 
	tar xfz ${CONTAINER_DIR}/other/x86_64/desktopvideo-${DESKTOP_VIDEO_VERSION}-x86_64.tar.gz
80 107
 
	
81 108
 
	# symlink to what is supposed to have been prepared
82 109
 
	ln -s ${UNPACKED_DIR} ${P}
83 110
 
}
84 111
 

	
85 112
 
src_prepare() {
86
 
	if use patch_compat; then
87
 
		epatch "${FILESDIR}/10_8_4__4_9_get_user_pages.patch"
113
 
	if kernel_is -gt $OFFICIAL_COMPAT_MAX_MAJOR $OFFICIAL_COMPAT_MAX_MINOR && use patch_compat; then
114
 
		if kernel_is -gt 4 9; then
115
 
			epatch "${FILESDIR}/10_9_0__4_10_get_user_pages_remote.patch"
116
 
		fi
88 117
 
	fi
89 118
 
}
90 119
 

	
...
 
@@ -102,7 +131,7 @@ src_install() {
102 131
 
	cp -a ${WORKDIR}/${UNPACKED_DIR}/* ${installdir}/
103 132
 
	
104 133
 
	# copy text files (readme and license) from parent directory
105
 
	cp -a ${WORKDIR}/Blackmagic_Desktop_Video_Linux_${PV}/*.txt ${installdir}/
134
 
	cp -a ${WORKDIR}/${CONTAINER_DIR}/*.txt ${installdir}/
106 135
 
	
107 136
 
	# there should a blank directory in /etc according to the archive...
108 137
 
	mkdir -p ${installdir}/etc/blackmagic
...
 
@@ -200,7 +229,7 @@ pkg_postinst() {
200 229
 
	einfo "We are reloading udev rules now..."
201 230
 
	/bin/udevadm control --reload-rules || einfo " ... failed, you may want to check this before rebooting!"
202 231
 

	
203
 
	if use patch_compat; then
232
 
	if kernel_is -gt $OFFICIAL_COMPAT_MAX_MAJOR $OFFICIAL_COMPAT_MAX_MINOR && use patch_compat; then
204 233
 
		#      12345678901234567890123456789012345678901234567890123456789012345678901234567890
205 234
 
		ewarn ""
206 235
 
		ewarn "    *** YOU HAVE APPLIED INOFFICIAL PATCHES TO INSTALLED KERNEL MODULES ***"
 
new file 100644
1
 
diff -ur Blackmagic_Desktop_Video_Linux_10.9a7/other/x86_64/desktopvideo-10.9a7-x86_64/usr/src/blackmagic-io-10.9a7/bm_mm.c desktopvideo_10.8.6a2_amd64/usr/src/blackmagic-io-10.8.6a2/bm_mm.c
2
 
--- Blackmagic_Desktop_Video_Linux_10.9a7/other/x86_64/desktopvideo-10.9a7-x86_64/usr/src/blackmagic-io-10.9a7/bm_mm.c	2017-04-13 07:57:33.000000000 +0200
3
 
+++ desktopvideo_10.8.6a2_amd64/usr/src/blackmagic-io-10.8.6a2/bm_mm.c	2013-04-02 23:59:49.000000000 +0200
4
 
@@ -103,7 +103,12 @@
5
 
 		return false;
6
 
 
7
 
 	down_read(&task->mm->mmap_sem);
8
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
9
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)
10
 
+		if (task == current)
11
 
+			ret = get_user_pages((unsigned long)address & PAGE_MASK, umem->length, write ? FOLL_WRITE : 0, umem->pages, NULL);
12
 
+		else
13
 
+			ret = get_user_pages_remote(task, task->mm, (unsigned long)address & PAGE_MASK, umem->length, write ? FOLL_WRITE : 0, umem->pages, NULL, NULL);
14
 
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
15
 
 		if (task == current)
16
 
 			ret = get_user_pages((unsigned long)address & PAGE_MASK, umem->length, write ? FOLL_WRITE : 0, umem->pages, NULL);
17
 
 		else
18
 
diff -ur Blackmagic_Desktop_Video_Linux_10.9a7/other/x86_64/desktopvideo-10.9a7-x86_64/usr/src/blackmagic-10.9a7/blackmagic_lib.c desktopvideo_10.8.6a2_amd64/usr/src/blackmagic-10.8.6a2/blackmagic_lib.c
19
 
--- Blackmagic_Desktop_Video_Linux_10.9a7/other/x86_64/desktopvideo-10.9a7-x86_64/usr/src/blackmagic-10.9a7/blackmagic_lib.c	2017-04-13 07:57:33.000000000 +0200
20
 
+++ desktopvideo_10.8.6a2_amd64/usr/src/blackmagic-10.8.6a2/blackmagic_lib.c	2013-04-02 23:59:49.000000000 +0200
21
 
@@ -662,7 +662,12 @@
22
 
 		write = 0;
23
 
 	
24
 
 	down_read(&current_task->mm->mmap_sem);
25
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
26
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)
27
 
+		if (current_task == current)
28
 
+			ret = get_user_pages((unsigned long)ptr & PAGE_MASK, *nr_pages, write ? FOLL_WRITE : 0, pages, NULL);
29
 
+		else
30
 
+			ret = get_user_pages_remote(current_task, current_task->mm, (unsigned long)ptr & PAGE_MASK, *nr_pages, write ? FOLL_WRITE : 0, pages, NULL, NULL);
31
 
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
32
 
 		if (current_task == current)
33
 
 			ret = get_user_pages((unsigned long)ptr & PAGE_MASK, *nr_pages, write ? FOLL_WRITE : 0, pages, NULL);
34
 
 		else
1
 
DIST Blackmagic_Desktop_Video_Linux_10.8.4.tar.gz 650141601 SHA256 fab3955b44a8ad845a2c65d8410c05ecb94e9822377feb5fbd0bab769857a048 SHA512 38a223309e66f93951c2f0cced29d1ce46ab1cfb4351c7b3a84d99eaabcb8346993090f536d6e9b6e16eb114dabea4a0f718eeee36d156b9af1b3d5cb92bf6b8 WHIRLPOOL 6e2794f3f8f0b8e0a3316f5ffaf64e7ae5cf49e1803614abdeb0fd513635966063c0d2f5201933ff318ec6a92777db103a4a94a428b75a8b5f79f9ef7d4d9f3f
2 1
 
DIST Blackmagic_Desktop_Video_Linux_10.8.tar.gz 613238138 SHA256 09d3593b2fd499bdeb794e1cea3972c0dcd997d08eedbe959ea5965d18983268 SHA512 6d9d722b578b1acdf76a6ca77509024605e5a9b444fc3c4a5d0633aa5090a5bd938c6b577a87d6d66a03d390fdd64e7374fd49db350fcbb1033a5d664e1b310e WHIRLPOOL 7d52745332224fe6b57dd9cece2a5af1562638fc197834f18ca79febb7456e158b19f5079d09b6eeb1ef0eb1e5a85339b9dd2f93e8d92c37b6ef15a7751478c8
2
 
DIST Blackmagic_Desktop_Video_Linux_10.9.tar.gz 662892811 SHA256 6a883936e877ee3985dea55027662cf58782a5e19081f1dce668761879159581 SHA512 d73da849b6cd1cf72f3ff75500da04b34b12c94bd1baa0cdf31674a91539231c4b3da914cad4069fbb1fe24450a877cd90fc34aa2f5f05606d3ef2eeef4ac96f WHIRLPOOL e516e840f376336efeca5cbad461d19f0a54f2376b748f4a91b0945556b8bac9c751d61ce6144f44d6af880d4ec612a3a6764e1675a6b7e5099c4199aed81cb6
3 3
 
EBUILD blackmagic-media-express-3.5.2.ebuild 3645 SHA256 0d0df1010de2e9b990270f1788df8dfe0518326466d981b9ec1434786f92bcc2 SHA512 7103172cc2fa04b227305f526402a42c27965e4094030c9a7fdb0bff0b8ade7c0d2e0f21337c0e3298f6ba4d2046ad2e0d61dd8b82497acac7451493b0550209 WHIRLPOOL fc0d1f35839230f94645788c85b8ec14b3a5f8b3f1adc30f77a4a94b15c5d25937d317751449cdc482a9ce0960b56b776d09ae84547106cc750651091d826423
4
 
EBUILD blackmagic-media-express-3.5.3.ebuild 3649 SHA256 c6ab12409816b5e804ead0618fe77f6dcaf2517d7dcb1b3d7dbd21bf7c900c8a SHA512 f1a1342399ae1eb85ae523f43796e4c92f70c5ee727479cfa70edfe3cafecda01182f40bcc057c9699bda38f28a6a6900786c747b08bac05cea1682283f7c624 WHIRLPOOL f14935473a8a55502cbd120588e6661ec89185259dc4c16d7e46fc5eb3ceea1e86d4cb9dc97d7570cb54c3ce757e554f41c29ee1acfdf7974e86b3d9ebb1e6e2
4
 
EBUILD blackmagic-media-express-3.5.3.ebuild 3672 SHA256 c4979f0cd706098cadce9de8f57a49e14f6e8e5a3f1c6785f952629f75df8bca SHA512 298f24bacb273724bc237245db9c0a4bbc6fae5f5a1fb4005f8b560f7195ce4961974c9cb4e0048b36f13e4ddd925ae00754211a070199ea7753550954b14867 WHIRLPOOL 6c654caee6c917b4bb28f744364619b3b607a8506208d899cb360751970fd303801f4f3af3bf4a008c951ce2a734038ba2573e579e6b6bc3502a71454324fcca
...
 
@@ -6,7 +6,8 @@
6 6
 

	
7 7
 
EAPI=5
8 8
 

	
9
 
DESKTOP_VIDEO_SHORT_VERSION="10.8.4"
9
 
DESKTOP_VIDEO_SHORT_VERSION="10.9"
10
 
DESKTOP_VIDEO_VERSION="10.9a7"
10 11
 
MEDIA_EXPRESS_VERSION="3.5.3a1"
11 12
 

	
12 13
 
DESCRIPTION="Media Express - Blackmagic Design's tool for media capture, organization and playback"
...
 
@@ -59,7 +60,7 @@ src_unpack() {
59 60
 
	unpack ${A}
60 61
 
	
61 62
 
	cd ${WORKDIR}
62
 
	tar xfz Blackmagic_Desktop_Video_Linux_${DESKTOP_VIDEO_SHORT_VERSION}/other/x86_64/mediaexpress-${MEDIA_EXPRESS_VERSION}-x86_64.tar.gz
63
 
	tar xfz Blackmagic_Desktop_Video_Linux_${DESKTOP_VIDEO_VERSION}/other/x86_64/mediaexpress-${MEDIA_EXPRESS_VERSION}-x86_64.tar.gz
63 64
 
	
64 65
 
	# symlink to what is supposed to have been prepared
65 66
 
	ln -s ${UNPACKED_DIR} ${P}
 
new file 100644
1
 
EBUILD asterisk-softmodem-20160525.ebuild 820 SHA256 0c0ae58d7896df9e5e515a01c98c84b132a5150009c3cd2f8496b2ecdf317d88 SHA512 8de3d73c665f750f5ec7fd754c9c97a22f97861b74e4f82830fd20cc5a4d382a5516b7a1957f15a5f60cf884f9f0230f6061eb306487927f882503d1035a6763 WHIRLPOOL 668acefaeb2a97ddbc0d9281d459d5ea30c7274585fabb0070bf15041adf33ad6b0137a9edfee5927ecc4de22a7e0641df7dd07b81784e37452df89d8a0b947b
 
new file 100644
1
 
# Copyright 1999-2017 Gentoo Foundation
2
 
# Distributed under the terms of the GNU General Public License v2
3
 

	
4
 
# based on net-misc/asterisk-app_rxfax ebuild provided by mva and luke-jr overlays
5
 

	
6
 
EAPI=6
7
 

	
8
 
inherit git-r3
9
 

	
10
 
DESCRIPTION="Asterisk application providing a V.21/V.22/V.23 compatible soft-modem for inbound connections"
11
 
HOMEPAGE="https://github.com/proquar/asterisk-Softmodem"
12
 

	
13
 
LICENSE="GPL-2"
14
 
SLOT="0"
15
 
KEYWORDS="~amd64"
16
 

	
17
 
IUSE=""
18
 

	
19
 
DEPEND="media-libs/spandsp
20
 
        >=net-misc/asterisk-13"
21
 

	
22
 
EGIT_REPO_URI="https://github.com/proquar/asterisk-Softmodem.git"
23
 
EGIT_COMMIT="14e5b4f9ebbd8dcbf107a397e26b5385771bdff7"
24
 

	
25
 
MyPN="app_softmodem"
26
 

	
27
 
src_compile() {
28
 
	gcc $CFLAGS -shared -fPIC -lspandsp -o "${MyPN}".{so,c} || die compile
29
 
}
30
 

	
31
 
src_install() {
32
 
	exeinto "/usr/lib/asterisk/modules"
33
 
	doexe "${MyPN}.so" || die install
34
 
}
0 comments (0 inline, 0 general)