forked from Plemya-x/alr-repo
		
	1
This commit is contained in:
		| @@ -53,22 +53,18 @@ build_deps=('lib64alsa-oss-devel.x86_64' \ | |||||||
|        'x264-devel') |        'x264-devel') | ||||||
|  |  | ||||||
|  |  | ||||||
| sources=("https://github.com/Palakis/obs-ndi/archive/${version}.tar.gz") | sources=("https://cdn-fastly.obsproject.com/downloads/cef_binary_5060_linux64.tar.bz2 | ||||||
| checksums=('SKIP') | https://github.com/obsproject/obs-studio.git") | ||||||
|  | checksums=('SKIP' | ||||||
|  | 'SKIP') | ||||||
|  |  | ||||||
| build() { | build() { | ||||||
|     cd ${srcdir}/obs-ndi-${version} | cd obs-studio | ||||||
|     cmake -B build -DCMAKE_INSTALL_PREFIX=/usr | mkdir build && cd build | ||||||
|     cmake --build build | cmake -DENABLE_BROWSER=ON -DCEF_ROOT_DIR="../../cef_binary_5060_linux64" -DENABLE_AJA=OFF -DENABLE_NEW_MPEGTS_OUTPUT=OFF .. | ||||||
|  | make -j$(nproc) | ||||||
|  | sudo make install | ||||||
| } | } | ||||||
|  |  | ||||||
| package() { | package() { | ||||||
|     cd ${pkgname}-${pkgver} |  | ||||||
|  |  | ||||||
|     install -Dm755 build/obs-ndi.so ${pkgdir}/usr/lib/obs-plugins/obs-ndi.so |  | ||||||
|  |  | ||||||
|     install -d ${pkgdir}/usr/share/obs/obs-plugins/obs-ndi/locale |  | ||||||
|     cp -a data/locale/* ${pkgdir}/usr/share/obs/obs-plugins/obs-ndi/locale |  | ||||||
|  |  | ||||||
|     install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE |  | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user