diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-20 21:44:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-20 21:44:19 +0000 |
commit | 543262feaa3024fef99ff0d134a48755c8c7ce34 (patch) | |
tree | ed630752a9475be714d7c8d6928e7743809d88fc | |
parent | fe25e98f5fa5a7be87f52cdee9215d741e7e76ba (diff) |
media-video/simplescreenrecorder : fix pulseaudio check
-rw-r--r-- | media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.9-pulseaudio_dep.patch | 18 | ||||
-rw-r--r-- | media-video/simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild (renamed from media-video/simplescreenrecorder/simplescreenrecorder-0.3.9.ebuild) | 6 |
2 files changed, 23 insertions, 1 deletions
diff --git a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.9-pulseaudio_dep.patch b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.9-pulseaudio_dep.patch new file mode 100644 index 00000000..b5d914e5 --- /dev/null +++ b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.9-pulseaudio_dep.patch @@ -0,0 +1,18 @@ +https://github.com/MaartenBaert/ssr/issues/599 +https://bugs.gentoo.org/641680#c10 + +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -3,9 +3,11 @@ + find_package(Threads REQUIRED) + find_package(ALSA REQUIRED) + find_package(FFmpeg REQUIRED) +-find_package(PulseAudio REQUIRED) + find_package(X11 REQUIRED) + ++if(WITH_PULSEAUDIO) ++ find_package(PulseAudio REQUIRED) ++endif() + if(WITH_JACK) + find_package(Jack REQUIRED) + endif() diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild index bfbb3e23..d1abbf68 100644 --- a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9.ebuild +++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild @@ -18,7 +18,7 @@ if [[ ${PV} = 9999 ]] ; then EGIT_BOOTSTRAP="" else SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~x86" + KEYWORDS="~amd64 ~x86" S="${WORKDIR}/${PKGNAME}-${PV}" fi @@ -45,6 +45,10 @@ RDEPEND=" " DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}/${P}-pulseaudio_dep.patch" +) + pkg_setup() { if [[ ${ABI} == amd64 ]]; then elog "You may want to add USE flag 'abi_x86_32' when running a 64bit system" |