blob: ca189fc08e74f368a5e5f0b4f3e02cab255dc76a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake git-r3
#remove when stable release (make life easy later because of new submodules)
M_PV="0.12.0b366"
DESCRIPTION="OBS® Studio plugin which adds many new effects."
HOMEPAGE="https://github.com/Xaymar/obs-StreamFX"
EGIT_REPO_URI="https://github.com/Xaymar/obs-StreamFX.git"
EGIT_COMMIT="${M_PV}"
# KEYWORDS="~amd64"
LICENSE="GPL-2"
SLOT="0"
RDEPEND="
media-video/obs-studio
"
src_prepare() {
default
#fix CMakeLists.txt libdir
sed -i 's|"lib/obs-plugins/"|"${CMAKE_INSTALL_LIBDIR}/obs-plugins/"|g' "${S}/CMakeLists.txt"
cmake_src_prepare
}
src_configure() {
local mycmakeargs+=(
-DSTRUCTURE_PACKAGEMANAGER=TRUE
-DPACKAGE_NAME="obs-streamfx"
)
cmake_src_configure
}
|