[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2023-07-07 Thread Ulrich Müller
commit: adb88b29915fa78c65eae0e0c7e2e4957d02bf16
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Jul  7 17:38:18 2023 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Jul  7 17:41:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adb88b29

media-video/simplescreenrecorder: Add slot dependency on ffmpeg

Signed-off-by: Ulrich Müller  gentoo.org>

 ...eenrecorder-0.4.4-r2.ebuild => simplescreenrecorder-0.4.4-r3.ebuild} | 2 +-
 media-video/simplescreenrecorder/simplescreenrecorder-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r2.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r3.ebuild
similarity index 98%
rename from 
media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r2.ebuild
rename to media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r3.ebuild
index c07b20b0..735efe53c501 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r2.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r3.ebuild
@@ -30,7 +30,7 @@ RDEPEND="
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
media-libs/alsa-lib:0=
-   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
+   media-video/ffmpeg:=[vorbis?,vpx?,x264?,mp3?,theora?]
x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXext
x11-libs/libXfixes[${MULTILIB_USEDEP}]

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index 5d68f605635a..5816cb829b9c 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -30,7 +30,7 @@ RDEPEND="
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
media-libs/alsa-lib:0=
-   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
+   media-video/ffmpeg:=[vorbis?,vpx?,x264?,mp3?,theora?]
x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXext
x11-libs/libXfixes[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2023-05-29 Thread Andreas Sturmlechner
commit: 8dcfeb13b6845a1736d0282d6d40362809bd41f8
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon May 29 12:07:20 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon May 29 12:21:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dcfeb13

media-video/simplescreenrecorder: drop 0.4.4

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../simplescreenrecorder-0.4.4.ebuild  | 99 --
 1 file changed, 99 deletions(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild
deleted file mode 100644
index e732de6afde8..
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PKGNAME="ssr"
-inherit cmake-multilib flag-o-matic xdg
-
-DESCRIPTION="A Simple Screen Recorder"
-HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder/;
-if [[ ${PV} =  ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
-   EGIT_BOOTSTRAP=""
-else
-   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 x86"
-   S="${WORKDIR}/${PKGNAME}-${PV}"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="+asm jack mp3 opengl pulseaudio theora v4l vorbis vpx x264"
-
-REQUIRED_USE="abi_x86_32? ( opengl )"
-
-RDEPEND="
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtwidgets:5
-   dev-qt/qtx11extras:5
-   media-libs/alsa-lib:0=
-   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
-   x11-libs/libX11[${MULTILIB_USEDEP}]
-   x11-libs/libXext
-   x11-libs/libXfixes[${MULTILIB_USEDEP}]
-   x11-libs/libXi
-   x11-libs/libXinerama
-   virtual/glu[${MULTILIB_USEDEP}]
-   jack? ( virtual/jack )
-   opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP},X] )
-   pulseaudio? ( media-sound/pulseaudio )
-   v4l? ( media-libs/libv4l )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="dev-qt/linguist-tools:5"
-
-pkg_pretend() {
-   if [[ "${ABI}" == amd64 ]] ; then
-   einfo "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
-   einfo "When added 32bit GLInject libraries are also included. 
This is"
-   einfo "required if you want to use OpenGL recording on 32bit 
applications."
-   einfo
-   fi
-
-   if has_version media-video/ffmpeg[x264] && has_version 
media-libs/x264[10bit] ; then
-   ewarn
-   ewarn "media-libs/x264 is currently built with 10bit useflag."
-   ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
-   ewarn "correctly. Please build media-libs/x264 without 10bit if 
you want to "
-   ewarn "record videos with x264."
-   ewarn
-   fi
-}
-
-pkg_setup() {
-   # Qt requires -fPIC. Compile fails otherwise.
-   # Recently removed from the default compile options upstream
-   # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
-   append-flags -fPIC
-}
-
-multilib_src_configure() {
-   local mycmakeargs=(
-   -DENABLE_JACK_METADATA="$(multilib_native_usex jack)"
-   -DENABLE_X86_ASM="$(usex asm)"
-   -DWITH_OPENGL_RECORDING="$(usex opengl)"
-   -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
-   -DWITH_JACK="$(multilib_native_usex jack)"
-   -DWITH_GLINJECT="$(usex opengl)"
-   -DWITH_V4L2="$(multilib_native_usex v4l)"
-   )
-
-   if multilib_is_native_abi ; then
-   mycmakeargs+=(
-   -DENABLE_32BIT_GLINJECT="false"
-   -DWITH_QT5="true"
-   )
-   else
-   mycmakeargs+=(
-   # https://bugs.gentoo.org/660438
-   -DCMAKE_INSTALL_LIB32DIR="$(get_libdir)"
-   -DENABLE_32BIT_GLINJECT="true"
-   -DWITH_SIMPLESCREENRECORDER="false"
-   )
-   fi
-
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2023-05-29 Thread Andreas Sturmlechner
commit: 4d8ab206e7ec3d5aadb1f6a0fe3fcec526f9e9f8
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon May 29 09:29:09 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon May 29 12:21:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d8ab206

media-video/simplescreenrecorder: Switch to media-libs/libpulse

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-video/simplescreenrecorder/simplescreenrecorder-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index a365a63c3e5d..5d68f605635a 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -39,7 +39,7 @@ RDEPEND="
virtual/glu[${MULTILIB_USEDEP}]
jack? ( virtual/jack )
opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP},X] )
-   pulseaudio? ( media-sound/pulseaudio )
+   pulseaudio? ( media-libs/libpulse )
v4l? ( media-libs/libv4l )
 "
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2023-05-29 Thread Andreas Sturmlechner
commit: 970d5fbb55ab261f81eefe65f2103812be368f55
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon May 29 12:06:43 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon May 29 12:21:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=970d5fbb

media-video/simplescreenrecorder: 0.4.4: Switch to media-libs/libpulse

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 ...nrecorder-0.4.4-r1.ebuild => simplescreenrecorder-0.4.4-r2.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r2.ebuild
similarity index 97%
rename from 
media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild
rename to media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r2.ebuild
index f580b5a24f59..c07b20b0 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -39,7 +39,7 @@ RDEPEND="
virtual/glu[${MULTILIB_USEDEP}]
jack? ( virtual/jack )
opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP},X] )
-   pulseaudio? ( media-sound/pulseaudio )
+   pulseaudio? ( media-libs/libpulse )
v4l? ( media-libs/libv4l )
 "
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2022-12-01 Thread Jakov Smolić
commit: 8050c0d7c2189b46b725f83ab1a2df2b99fa347e
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Dec  1 22:27:42 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Dec  1 22:27:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8050c0d7

media-video/simplescreenrecorder: Stabilize 0.4.4-r1 x86, #883905

Signed-off-by: Jakov Smolić  gentoo.org>

 media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild
index cdcca45a46a8..f580b5a24f59 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} =  ]] ; 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
 



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2022-12-01 Thread Jakov Smolić
commit: 99897740ce4a56c90ba0fd87d35fb2674e8b6b77
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Dec  1 22:23:53 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Dec  1 22:23:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99897740

media-video/simplescreenrecorder: Stabilize 0.4.4-r1 amd64, #883905

Signed-off-by: Jakov Smolić  gentoo.org>

 media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild
index ec483db9038f..cdcca45a46a8 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} =  ]] ; 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
 



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2022-08-15 Thread Andreas Sturmlechner
commit: 8e83394116f819cec34cbcc66fbe787e630cfcbf
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Aug 15 11:18:36 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Aug 15 11:22:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e833941

media-video/simplescreenrecorder: Drop src_prepare obsolete in EAPI-8

Fix typo, HOMEPAGE redirection, ebuild style.

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../simplescreenrecorder-0.4.4-r1.ebuild   | 24 --
 .../simplescreenrecorder-0.4.4.ebuild  | 20 +++---
 .../simplescreenrecorder-.ebuild   | 20 +++---
 3 files changed, 22 insertions(+), 42 deletions(-)

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild
index 667f701f5639..ec483db9038f 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild
@@ -3,13 +3,11 @@
 
 EAPI=8
 
-CMAKE_ECLASS=cmake
+PKGNAME="ssr"
 inherit cmake-multilib flag-o-matic xdg
 
 DESCRIPTION="A Simple Screen Recorder"
-HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
-LICENSE="GPL-3"
-PKGNAME="ssr"
+HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder/;
 if [[ ${PV} =  ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
@@ -20,9 +18,12 @@ else
S="${WORKDIR}/${PKGNAME}-${PV}"
 fi
 
+LICENSE="GPL-3"
 SLOT="0"
 IUSE="+asm jack mp3 opengl pulseaudio theora v4l vorbis vpx x264"
 
+REQUIRED_USE="abi_x86_32? ( opengl )"
+
 RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
@@ -36,19 +37,15 @@ RDEPEND="
x11-libs/libXi
x11-libs/libXinerama
virtual/glu[${MULTILIB_USEDEP}]
-   v4l? ( media-libs/libv4l )
jack? ( virtual/jack )
opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP},X] )
pulseaudio? ( media-sound/pulseaudio )
+   v4l? ( media-libs/libv4l )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="dev-qt/linguist-tools:5"
 
-REQUIRED_USE="abi_x86_32? ( opengl )"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-ffmpeg5.patch
-)
+PATCHES=( "${FILESDIR}"/${P}-ffmpeg5.patch )
 
 pkg_pretend() {
if [[ "${ABI}" == amd64 ]] ; then
@@ -69,17 +66,12 @@ pkg_pretend() {
 }
 
 pkg_setup() {
-   # QT requires -fPIC. Compile fails otherwise.
+   # Qt requires -fPIC. Compile fails otherwise.
# Recently removed from the default compile options upstream
# 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
append-flags -fPIC
 }
 
-src_prepare() {
-   # required because xdg.eclass overrides default cmake_src_prepare
-   cmake_src_prepare
-}
-
 multilib_src_configure() {
local mycmakeargs=(
-DENABLE_JACK_METADATA="$(multilib_native_usex jack)"

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild
index 3140f84c1dce..e732de6afde8 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild
@@ -3,13 +3,11 @@
 
 EAPI=8
 
-CMAKE_ECLASS=cmake
+PKGNAME="ssr"
 inherit cmake-multilib flag-o-matic xdg
 
 DESCRIPTION="A Simple Screen Recorder"
-HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
-LICENSE="GPL-3"
-PKGNAME="ssr"
+HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder/;
 if [[ ${PV} =  ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
@@ -20,9 +18,12 @@ else
S="${WORKDIR}/${PKGNAME}-${PV}"
 fi
 
+LICENSE="GPL-3"
 SLOT="0"
 IUSE="+asm jack mp3 opengl pulseaudio theora v4l vorbis vpx x264"
 
+REQUIRED_USE="abi_x86_32? ( opengl )"
+
 RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
@@ -36,16 +37,14 @@ RDEPEND="
x11-libs/libXi
x11-libs/libXinerama
virtual/glu[${MULTILIB_USEDEP}]
-   v4l? ( media-libs/libv4l )
jack? ( virtual/jack )
opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP},X] )
pulseaudio? ( media-sound/pulseaudio )
+   v4l? ( media-libs/libv4l )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="dev-qt/linguist-tools:5"
 
-REQUIRED_USE="abi_x86_32? ( opengl )"
-
 pkg_pretend() {
if [[ "${ABI}" == amd64 ]] ; then
einfo "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
@@ -65,17 +64,12 @@ pkg_pretend() {
 }
 
 pkg_setup() {
-   # QT requires -fPIC. Compile fails otherwise.
+   # Qt requires -fPIC. Compile fails otherwise.
# Recently removed from the default compile options upstream
# 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
append-flags -fPIC
 }
 
-src_prepare() 

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2022-07-26 Thread Sam James
commit: df321205cf53ef7b8d1f56b0db901748ad25ff05
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 26 07:44:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 26 07:44:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df321205

media-video/simplescreenrecorder: drop 0.4.3

Signed-off-by: Sam James  gentoo.org>

 media-video/simplescreenrecorder/Manifest  |   1 -
 .../simplescreenrecorder-0.4.3.ebuild  | 102 -
 2 files changed, 103 deletions(-)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index d37af0a63f37..94e6381b4d4d 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1,2 +1 @@
-DIST simplescreenrecorder-0.4.3.tar.gz 1918958 BLAKE2B 
9d0e07255c7345d8752a8f49fd2e7947db4058c6e6bdbe1239955f96f06543eff24b207bcd049d07eb7d3d5815ad5f1c77721e1fa139f940b1deb3b3da7a46e0
 SHA512 
c930045d6763bdb026cee80fe82aa0e973de7a1bd92bce9650c5cae627f5d8f8d913f260024410a41170081c8eda61c1aea346bc2d9740b8dc169a3952b3bfd0
 DIST simplescreenrecorder-0.4.4.tar.gz 1961269 BLAKE2B 
05c7635840f8461ab324f740f0cc554eb544ed91b00cdf39c80f861e6a8631f59afbdcc9fe958830b0f1e31eedb90f11d29c114ce4bbb612f1756264502f069f
 SHA512 
a90549a2709490482d70559073e505e669417a93abf16124b98c021e6d2bf08b91b53eb68e006df4f80fcee9fe4da2624bf8de979618953adb3f37eb1d471525

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild
deleted file mode 100644
index b62619102fed..
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-inherit cmake-multilib flag-o-matic xdg
-
-DESCRIPTION="A Simple Screen Recorder"
-HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
-LICENSE="GPL-3"
-PKGNAME="ssr"
-if [[ ${PV} =  ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
-   EGIT_BOOTSTRAP=""
-else
-   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 x86"
-   S="${WORKDIR}/${PKGNAME}-${PV}"
-fi
-
-SLOT="0"
-IUSE="+asm jack mp3 pulseaudio theora v4l vorbis vpx x264"
-
-RDEPEND="
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtwidgets:5
-   dev-qt/qtx11extras:5
-   media-libs/alsa-lib:0=
-   media-libs/libglvnd[${MULTILIB_USEDEP},X]
-   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
-   x11-libs/libX11[${MULTILIB_USEDEP}]
-   x11-libs/libXext
-   x11-libs/libXfixes[${MULTILIB_USEDEP}]
-   x11-libs/libXi
-   x11-libs/libXinerama
-   virtual/glu[${MULTILIB_USEDEP}]
-   v4l? ( media-libs/libv4l )
-   jack? ( virtual/jack )
-   pulseaudio? ( media-sound/pulseaudio )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="dev-qt/linguist-tools:5"
-
-pkg_pretend() {
-   if [[ "${ABI}" == amd64 ]]; then
-   elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
-   elog "When added 32bit GLInject libraries are also included. 
This is"
-   elog "required if you want to use OpenGL recording on 32bit 
applications."
-   elog
-   fi
-
-   if has_version media-video/ffmpeg[x264] && has_version 
media-libs/x264[10bit] ; then
-   ewarn
-   ewarn "media-libs/x264 is currently built with 10bit useflag."
-   ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
-   ewarn "correctly. Please build media-libs/x264 without 10bit if 
you want to "
-   ewarn "record videos with x264."
-   ewarn
-   fi
-}
-
-pkg_setup() {
-   # QT requires -fPIC. Compile fails otherwise.
-   # Recently removed from the default compile options upstream
-   # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
-   append-flags -fPIC
-}
-
-src_prepare() {
-   # required because xdg.eclass overrides default cmake_src_prepare
-   cmake_src_prepare
-}
-
-multilib_src_configure() {
-   local mycmakeargs=(
-   -DENABLE_JACK_METADATA="$(multilib_native_usex jack)"
-   -DENABLE_X86_ASM="$(usex asm)"
-   -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
-   -DWITH_JACK="$(multilib_native_usex jack)"
-   -DWITH_GLINJECT="true"
-   -DWITH_V4L2="$(multilib_native_usex v4l)"
-   )
-
-   if multilib_is_native_abi ; then
-   mycmakeargs+=(
-   -DENABLE_32BIT_GLINJECT="false"
-   -DWITH_QT5="true"
-   )
-   else
-   mycmakeargs+=(
-   

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/, media-video/simplescreenrecorder/files/

2022-07-26 Thread Sam James
commit: 7529e764dfaa9de2cd27764a6ba028315e290ae0
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 26 07:43:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 26 07:44:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7529e764

media-video/simplescreenrecorder: backport ffmpeg 5 patch

Closes: https://bugs.gentoo.org/834415
Signed-off-by: Sam James  gentoo.org>

 .../files/simplescreenrecorder-0.4.4-ffmpeg5.patch |  54 ++
 .../simplescreenrecorder-0.4.4-r1.ebuild   | 109 +
 2 files changed, 163 insertions(+)

diff --git 
a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.4-ffmpeg5.patch
 
b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.4-ffmpeg5.patch
new file mode 100644
index ..b86966410edb
--- /dev/null
+++ 
b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.4-ffmpeg5.patch
@@ -0,0 +1,54 @@
+https://github.com/MaartenBaert/ssr/commit/768957a8de1534f0aa91bfc5d7af3c32f222beb8
+https://bugs.gentoo.org/834415
+
+From: Maarten Baert 
+Date: Sun, 20 Mar 2022 22:52:43 +0100
+Subject: [PATCH] Fix for compatibility with newer FFmpeg versions
+
+--- a/src/AV/Output/AudioEncoder.cpp
 b/src/AV/Output/AudioEncoder.cpp
+@@ -77,7 +77,8 @@ unsigned int AudioEncoder::GetSampleRate() {
+ }
+ 
+ bool AudioEncoder::AVCodecIsSupported(const QString& codec_name) {
+-  AVCodec *codec = 
avcodec_find_encoder_by_name(codec_name.toUtf8().constData());
++  // we have to break const correctness for compatibility with older 
ffmpeg versions
++  AVCodec *codec = (AVCodec*) 
avcodec_find_encoder_by_name(codec_name.toUtf8().constData());
+   if(codec == NULL)
+   return false;
+   if(!av_codec_is_encoder(codec))
+--- a/src/AV/Output/Muxer.cpp
 b/src/AV/Output/Muxer.cpp
+@@ -194,7 +194,8 @@ unsigned int Muxer::GetQueuedPacketCount(unsigned int 
stream_index) {
+ void Muxer::Init() {
+ 
+   // get the format we want (this is just a pointer, we don't have to 
free this)
+-  AVOutputFormat *format = 
av_guess_format(m_container_name.toUtf8().constData(), NULL, NULL);
++  // we have to break const correctness for compatibility with older 
ffmpeg versions
++  AVOutputFormat *format = (AVOutputFormat*) 
av_guess_format(m_container_name.toUtf8().constData(), NULL, NULL);
+   if(format == NULL) {
+   Logger::LogError("[Muxer::Init] " + Logger::tr("Error: Can't 
find chosen output format!"));
+   throw LibavException();
+@@ -262,7 +263,8 @@ void Muxer::Free() {
+ }
+ 
+ AVCodec* Muxer::FindCodec(const QString& codec_name) {
+-  AVCodec *codec = 
avcodec_find_encoder_by_name(codec_name.toUtf8().constData());
++  // we have to break const correctness for compatibility with older 
ffmpeg versions
++  AVCodec *codec = (AVCodec*) 
avcodec_find_encoder_by_name(codec_name.toUtf8().constData());
+   if(codec == NULL) {
+   Logger::LogError("[Muxer::FindCodec] " + Logger::tr("Error: 
Can't find codec!"));
+   throw LibavException();
+--- a/src/AV/Output/VideoEncoder.cpp
 b/src/AV/Output/VideoEncoder.cpp
+@@ -95,7 +95,8 @@ unsigned int VideoEncoder::GetFrameRate() {
+ }
+ 
+ bool VideoEncoder::AVCodecIsSupported(const QString& codec_name) {
+-  AVCodec *codec = 
avcodec_find_encoder_by_name(codec_name.toUtf8().constData());
++  // we have to break const correctness for compatibility with older 
ffmpeg versions
++  AVCodec *codec = (AVCodec*) 
avcodec_find_encoder_by_name(codec_name.toUtf8().constData());
+   if(codec == NULL)
+   return false;
+   if(!av_codec_is_encoder(codec))
+

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild
new file mode 100644
index ..667f701f5639
--- /dev/null
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib flag-o-matic xdg
+
+DESCRIPTION="A Simple Screen Recorder"
+HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
+LICENSE="GPL-3"
+PKGNAME="ssr"
+if [[ ${PV} =  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
+   EGIT_BOOTSTRAP=""
+else
+   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/${PKGNAME}-${PV}"
+fi
+
+SLOT="0"
+IUSE="+asm jack mp3 opengl pulseaudio theora v4l vorbis vpx x264"
+
+RDEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtx11extras:5
+   media-libs/alsa-lib:0=
+   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
+   

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2022-06-06 Thread Sam James
commit: 995ca56f492aa6c325e945437d67723f11f13a29
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun  6 23:30:43 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun  6 23:30:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=995ca56f

media-video/simplescreenrecorder: Stabilize 0.4.4 x86, #847568

Signed-off-by: Sam James  gentoo.org>

 media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild
index 8b3b571eb830..3140f84c1dce 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]] ; 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
 



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2022-05-26 Thread Jakov Smolić
commit: b80024e8020e3c86899764e4cfa734255a2f900f
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu May 26 23:19:10 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu May 26 23:19:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80024e8

media-video/simplescreenrecorder: Stabilize 0.4.4 amd64, #847568

Signed-off-by: Jakov Smolić  gentoo.org>

 media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild
index 5c2e985195d7..8b3b571eb830 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]] ; 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
 



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/files/

2022-04-03 Thread Conrad Kostecki
commit: ed92025347c671c7d2c3475c885f927e963249bf
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Mar 30 13:07:15 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Apr  3 10:50:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed920253

media-video/simplescreenrecorder: remove unused patch(es)

Closes: https://github.com/gentoo/gentoo/pull/24816
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../files/simplescreenrecorder-0.4.2-cmake.patch   | 28 --
 1 file changed, 28 deletions(-)

diff --git 
a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch 
b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch
deleted file mode 100644
index 9f8bc408331e..
--- 
a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 5330a3d65b7877f5f3691c20df35fbb7856d6f38 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner 
-Date: Thu, 11 Jan 2018 21:28:15 +0100
-Subject: [PATCH] Fix Qt5LinguistTools detection/lrelease binary location
-
-Correctly find the Qt5 module that provides the path to Qt5-based lrelease.
-Available since >= Qt-5.3.1 which is well below the current minimum version.

- src/translations/CMakeLists.txt | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/translations/CMakeLists.txt b/src/translations/CMakeLists.txt
-index d9afded..174acea 100644
 a/src/translations/CMakeLists.txt
-+++ b/src/translations/CMakeLists.txt
-@@ -1,7 +1,8 @@
- # translations for 'simplescreenrecorder' executable
- 
- if(WITH_QT5)
--  find_program(LRELEASE NAMES lrelease-qt5 lrelease)
-+  find_package(Qt5LinguistTools REQUIRED)
-+  set(LRELEASE Qt5::lrelease)
- else()
-   find_program(LRELEASE NAMES lrelease-qt4 lrelease)
- endif()
--- 
-2.29.2
-



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2022-03-29 Thread Lars Wendler
commit: 67469a0e4ef30244aac92adde06855f5343270b2
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Mar 29 11:50:32 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Mar 29 11:55:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67469a0e

media-video/simplescreenrecorder: Bump to version 0.4.4

Converted some elog calls to einfo. Added "opengl" USE flag.

Closes: https://bugs.gentoo.org/733970
Closes: https://bugs.gentoo.org/766815
Signed-off-by: Lars Wendler  gentoo.org>

 media-video/simplescreenrecorder/Manifest  |   1 +
 .../simplescreenrecorder-0.4.4.ebuild  | 105 +
 2 files changed, 106 insertions(+)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index c7bcb7952774..6cf208454ae7 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1,2 +1,3 @@
 DIST simplescreenrecorder-0.4.2.tar.gz 1912151 BLAKE2B 
d8a4605a82e49693f94ecfac8853405a660a4528c3001961b1734d4387e49eeb4c91603929b3cd5d5b67a23a6ec839ace606b29666b916960f10322e6ec1b452
 SHA512 
60b0127d7f82f294e5a8f015363e37a10b5492089a0178b07a5e383c7e4b857102ed2bda7a95e3c67293a255f892481aeaf4037c583320d68d463637348ed7f7
 DIST simplescreenrecorder-0.4.3.tar.gz 1918958 BLAKE2B 
9d0e07255c7345d8752a8f49fd2e7947db4058c6e6bdbe1239955f96f06543eff24b207bcd049d07eb7d3d5815ad5f1c77721e1fa139f940b1deb3b3da7a46e0
 SHA512 
c930045d6763bdb026cee80fe82aa0e973de7a1bd92bce9650c5cae627f5d8f8d913f260024410a41170081c8eda61c1aea346bc2d9740b8dc169a3952b3bfd0
+DIST simplescreenrecorder-0.4.4.tar.gz 1961269 BLAKE2B 
05c7635840f8461ab324f740f0cc554eb544ed91b00cdf39c80f861e6a8631f59afbdcc9fe958830b0f1e31eedb90f11d29c114ce4bbb612f1756264502f069f
 SHA512 
a90549a2709490482d70559073e505e669417a93abf16124b98c021e6d2bf08b91b53eb68e006df4f80fcee9fe4da2624bf8de979618953adb3f37eb1d471525

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild
new file mode 100644
index ..5c2e985195d7
--- /dev/null
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib flag-o-matic xdg
+
+DESCRIPTION="A Simple Screen Recorder"
+HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
+LICENSE="GPL-3"
+PKGNAME="ssr"
+if [[ ${PV} =  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
+   EGIT_BOOTSTRAP=""
+else
+   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/${PKGNAME}-${PV}"
+fi
+
+SLOT="0"
+IUSE="+asm jack mp3 opengl pulseaudio theora v4l vorbis vpx x264"
+
+RDEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtx11extras:5
+   media-libs/alsa-lib:0=
+   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   x11-libs/libXext
+   x11-libs/libXfixes[${MULTILIB_USEDEP}]
+   x11-libs/libXi
+   x11-libs/libXinerama
+   virtual/glu[${MULTILIB_USEDEP}]
+   v4l? ( media-libs/libv4l )
+   jack? ( virtual/jack )
+   opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP},X] )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+REQUIRED_USE="abi_x86_32? ( opengl )"
+
+pkg_pretend() {
+   if [[ "${ABI}" == amd64 ]] ; then
+   einfo "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
+   einfo "When added 32bit GLInject libraries are also included. 
This is"
+   einfo "required if you want to use OpenGL recording on 32bit 
applications."
+   einfo
+   fi
+
+   if has_version media-video/ffmpeg[x264] && has_version 
media-libs/x264[10bit] ; then
+   ewarn
+   ewarn "media-libs/x264 is currently built with 10bit useflag."
+   ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
+   ewarn "correctly. Please build media-libs/x264 without 10bit if 
you want to "
+   ewarn "record videos with x264."
+   ewarn
+   fi
+}
+
+pkg_setup() {
+   # QT requires -fPIC. Compile fails otherwise.
+   # Recently removed from the default compile options upstream
+   # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
+   append-flags -fPIC
+}
+
+src_prepare() {
+   # required because xdg.eclass overrides default cmake_src_prepare
+   cmake_src_prepare
+}
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2022-03-29 Thread Lars Wendler
commit: 2ded61bf2f0fdcc6f39eb949ac43ad3d052be6e9
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Mar 29 11:54:27 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Mar 29 11:55:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ded61bf

media-video/simplescreenrecorder: Synced live ebuild

Signed-off-by: Lars Wendler  gentoo.org>

 .../simplescreenrecorder-.ebuild   | 23 --
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index 337ba993d166..5c2e985195d7 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 CMAKE_ECLASS=cmake
 inherit cmake-multilib flag-o-matic xdg
@@ -21,7 +21,7 @@ else
 fi
 
 SLOT="0"
-IUSE="+asm jack mp3 pulseaudio theora v4l vorbis vpx x264"
+IUSE="+asm jack mp3 opengl pulseaudio theora v4l vorbis vpx x264"
 
 RDEPEND="
dev-qt/qtcore:5
@@ -29,7 +29,6 @@ RDEPEND="
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
media-libs/alsa-lib:0=
-   media-libs/libglvnd[${MULTILIB_USEDEP},X]
media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXext
@@ -39,17 +38,20 @@ RDEPEND="
virtual/glu[${MULTILIB_USEDEP}]
v4l? ( media-libs/libv4l )
jack? ( virtual/jack )
+   opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP},X] )
pulseaudio? ( media-sound/pulseaudio )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="dev-qt/linguist-tools:5"
 
+REQUIRED_USE="abi_x86_32? ( opengl )"
+
 pkg_pretend() {
-   if [[ "${ABI}" == amd64 ]]; then
-   elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
-   elog "When added 32bit GLInject libraries are also included. 
This is"
-   elog "required if you want to use OpenGL recording on 32bit 
applications."
-   elog
+   if [[ "${ABI}" == amd64 ]] ; then
+   einfo "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
+   einfo "When added 32bit GLInject libraries are also included. 
This is"
+   einfo "required if you want to use OpenGL recording on 32bit 
applications."
+   einfo
fi
 
if has_version media-video/ffmpeg[x264] && has_version 
media-libs/x264[10bit] ; then
@@ -78,9 +80,10 @@ multilib_src_configure() {
local mycmakeargs=(
-DENABLE_JACK_METADATA="$(multilib_native_usex jack)"
-DENABLE_X86_ASM="$(usex asm)"
+   -DWITH_OPENGL_RECORDING="$(usex opengl)"
-DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
-DWITH_JACK="$(multilib_native_usex jack)"
-   -DWITH_GLINJECT="true"
+   -DWITH_GLINJECT="$(usex opengl)"
-DWITH_V4L2="$(multilib_native_usex v4l)"
)
 



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2022-03-29 Thread Lars Wendler
commit: efb188384b0d18c078ae01c1599a4423ec108a6a
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Mar 29 11:54:51 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Mar 29 11:55:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efb18838

media-video/simplescreenrecorder: Removed old

Signed-off-by: Lars Wendler  gentoo.org>

 media-video/simplescreenrecorder/Manifest  |   1 -
 .../simplescreenrecorder-0.4.2.ebuild  | 101 -
 2 files changed, 102 deletions(-)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index 6cf208454ae7..d37af0a63f37 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1,3 +1,2 @@
-DIST simplescreenrecorder-0.4.2.tar.gz 1912151 BLAKE2B 
d8a4605a82e49693f94ecfac8853405a660a4528c3001961b1734d4387e49eeb4c91603929b3cd5d5b67a23a6ec839ace606b29666b916960f10322e6ec1b452
 SHA512 
60b0127d7f82f294e5a8f015363e37a10b5492089a0178b07a5e383c7e4b857102ed2bda7a95e3c67293a255f892481aeaf4037c583320d68d463637348ed7f7
 DIST simplescreenrecorder-0.4.3.tar.gz 1918958 BLAKE2B 
9d0e07255c7345d8752a8f49fd2e7947db4058c6e6bdbe1239955f96f06543eff24b207bcd049d07eb7d3d5815ad5f1c77721e1fa139f940b1deb3b3da7a46e0
 SHA512 
c930045d6763bdb026cee80fe82aa0e973de7a1bd92bce9650c5cae627f5d8f8d913f260024410a41170081c8eda61c1aea346bc2d9740b8dc169a3952b3bfd0
 DIST simplescreenrecorder-0.4.4.tar.gz 1961269 BLAKE2B 
05c7635840f8461ab324f740f0cc554eb544ed91b00cdf39c80f861e6a8631f59afbdcc9fe958830b0f1e31eedb90f11d29c114ce4bbb612f1756264502f069f
 SHA512 
a90549a2709490482d70559073e505e669417a93abf16124b98c021e6d2bf08b91b53eb68e006df4f80fcee9fe4da2624bf8de979618953adb3f37eb1d471525

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
deleted file mode 100644
index f0ac1589ed52..
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-inherit cmake-multilib flag-o-matic xdg
-
-DESCRIPTION="A Simple Screen Recorder"
-HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
-LICENSE="GPL-3"
-PKGNAME="ssr"
-if [[ ${PV} =  ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
-   EGIT_BOOTSTRAP=""
-else
-   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 x86"
-   S="${WORKDIR}/${PKGNAME}-${PV}"
-fi
-
-SLOT="0"
-IUSE="+asm jack mp3 pulseaudio theora vorbis vpx x264"
-
-RDEPEND="
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtwidgets:5
-   dev-qt/qtx11extras:5
-   media-libs/alsa-lib:0=
-   media-libs/libglvnd[${MULTILIB_USEDEP},X]
-   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
-   x11-libs/libX11[${MULTILIB_USEDEP}]
-   x11-libs/libXext
-   x11-libs/libXfixes[${MULTILIB_USEDEP}]
-   x11-libs/libXi
-   x11-libs/libXinerama
-   virtual/glu[${MULTILIB_USEDEP}]
-   jack? ( virtual/jack )
-   pulseaudio? ( media-sound/pulseaudio )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="dev-qt/linguist-tools:5"
-
-PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) # bug #624480, in git master
-
-pkg_pretend() {
-   if [[ "${ABI}" == amd64 ]]; then
-   elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
-   elog "When added 32bit GLInject libraries are also included. 
This is"
-   elog "required if you want to use OpenGL recording on 32bit 
applications."
-   elog
-   fi
-
-   if has_version media-video/ffmpeg[x264] && has_version 
media-libs/x264[10bit] ; then
-   ewarn
-   ewarn "media-libs/x264 is currently built with 10bit useflag."
-   ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
-   ewarn "correctly. Please build media-libs/x264 without 10bit if 
you want to "
-   ewarn "record videos with x264."
-   ewarn
-   fi
-}
-
-pkg_setup() {
-   # QT requires -fPIC. Compile fails otherwise.
-   # Recently removed from the default compile options upstream
-   # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
-   append-flags -fPIC
-}
-
-src_prepare() {
-   # required because xdg.eclass overrides default cmake_src_prepare
-   cmake_src_prepare
-}
-
-multilib_src_configure() {
-   local mycmakeargs=(
-   -DENABLE_X86_ASM="$(usex asm)"
-   -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
-   -DWITH_JACK="$(multilib_native_usex jack)"
-   -DWITH_GLINJECT="true"
-   )
-
-   

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2021-03-08 Thread Sam James
commit: f0f7cf786d452caa6046a09a643d0bf02dc76a6a
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  8 23:01:58 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  8 23:01:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f7cf78

media-video/simplescreenrecorder: Stabilize 0.4.3 x86, #774891

Signed-off-by: Sam James  gentoo.org>

 media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild
index 32dec6a0595..b62619102fe 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]] ; 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
 



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2021-03-08 Thread Sam James
commit: 5aeaa5b2b59dea2600e1490d8ea03f1eda07ee4a
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  8 23:01:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  8 23:01:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aeaa5b2

media-video/simplescreenrecorder: Stabilize 0.4.3 amd64, #774891

Signed-off-by: Sam James  gentoo.org>

 media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild
index 337ba993d16..32dec6a0595 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]] ; 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
 



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2020-12-27 Thread Lars Wendler
commit: 5570a4af7544d576bca7ba38fca5e9aba8dd75c2
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Dec 27 12:37:47 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Dec 27 12:38:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5570a4af

media-video/simplescreenrecorder: Only enable v4l for native ABI

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild | 2 +-
 media-video/simplescreenrecorder/simplescreenrecorder-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild
index 8331e340418..337ba993d16 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild
@@ -81,7 +81,7 @@ multilib_src_configure() {
-DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
-DWITH_JACK="$(multilib_native_usex jack)"
-DWITH_GLINJECT="true"
-   -DWITH_V4L2="$(usex v4l)"
+   -DWITH_V4L2="$(multilib_native_usex v4l)"
)
 
if multilib_is_native_abi ; then

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index 8331e340418..337ba993d16 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -81,7 +81,7 @@ multilib_src_configure() {
-DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
-DWITH_JACK="$(multilib_native_usex jack)"
-DWITH_GLINJECT="true"
-   -DWITH_V4L2="$(usex v4l)"
+   -DWITH_V4L2="$(multilib_native_usex v4l)"
)
 
if multilib_is_native_abi ; then



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2020-12-27 Thread Lars Wendler
commit: 975fbf51be8a381b4261684e523f4400958f4378
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Dec 27 12:31:36 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Dec 27 12:32:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=975fbf51

media-video/simplescreenrecorder: Bump to version 0.4.3

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 media-video/simplescreenrecorder/Manifest  |   1 +
 .../simplescreenrecorder-0.4.3.ebuild  | 102 +
 2 files changed, 103 insertions(+)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index 36c69dc4bca..c7bcb795277 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1 +1,2 @@
 DIST simplescreenrecorder-0.4.2.tar.gz 1912151 BLAKE2B 
d8a4605a82e49693f94ecfac8853405a660a4528c3001961b1734d4387e49eeb4c91603929b3cd5d5b67a23a6ec839ace606b29666b916960f10322e6ec1b452
 SHA512 
60b0127d7f82f294e5a8f015363e37a10b5492089a0178b07a5e383c7e4b857102ed2bda7a95e3c67293a255f892481aeaf4037c583320d68d463637348ed7f7
+DIST simplescreenrecorder-0.4.3.tar.gz 1918958 BLAKE2B 
9d0e07255c7345d8752a8f49fd2e7947db4058c6e6bdbe1239955f96f06543eff24b207bcd049d07eb7d3d5815ad5f1c77721e1fa139f940b1deb3b3da7a46e0
 SHA512 
c930045d6763bdb026cee80fe82aa0e973de7a1bd92bce9650c5cae627f5d8f8d913f260024410a41170081c8eda61c1aea346bc2d9740b8dc169a3952b3bfd0

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild
new file mode 100644
index 000..8331e340418
--- /dev/null
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.3.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib flag-o-matic xdg
+
+DESCRIPTION="A Simple Screen Recorder"
+HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
+LICENSE="GPL-3"
+PKGNAME="ssr"
+if [[ ${PV} =  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
+   EGIT_BOOTSTRAP=""
+else
+   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/${PKGNAME}-${PV}"
+fi
+
+SLOT="0"
+IUSE="+asm jack mp3 pulseaudio theora v4l vorbis vpx x264"
+
+RDEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtx11extras:5
+   media-libs/alsa-lib:0=
+   media-libs/libglvnd[${MULTILIB_USEDEP},X]
+   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   x11-libs/libXext
+   x11-libs/libXfixes[${MULTILIB_USEDEP}]
+   x11-libs/libXi
+   x11-libs/libXinerama
+   virtual/glu[${MULTILIB_USEDEP}]
+   v4l? ( media-libs/libv4l )
+   jack? ( virtual/jack )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+pkg_pretend() {
+   if [[ "${ABI}" == amd64 ]]; then
+   elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
+   elog "When added 32bit GLInject libraries are also included. 
This is"
+   elog "required if you want to use OpenGL recording on 32bit 
applications."
+   elog
+   fi
+
+   if has_version media-video/ffmpeg[x264] && has_version 
media-libs/x264[10bit] ; then
+   ewarn
+   ewarn "media-libs/x264 is currently built with 10bit useflag."
+   ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
+   ewarn "correctly. Please build media-libs/x264 without 10bit if 
you want to "
+   ewarn "record videos with x264."
+   ewarn
+   fi
+}
+
+pkg_setup() {
+   # QT requires -fPIC. Compile fails otherwise.
+   # Recently removed from the default compile options upstream
+   # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
+   append-flags -fPIC
+}
+
+src_prepare() {
+   # required because xdg.eclass overrides default cmake_src_prepare
+   cmake_src_prepare
+}
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   -DENABLE_JACK_METADATA="$(multilib_native_usex jack)"
+   -DENABLE_X86_ASM="$(usex asm)"
+   -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
+   -DWITH_JACK="$(multilib_native_usex jack)"
+   -DWITH_GLINJECT="true"
+   -DWITH_V4L2="$(usex v4l)"
+   )
+
+   if multilib_is_native_abi ; then
+   mycmakeargs+=(
+   -DENABLE_32BIT_GLINJECT="false"
+   -DWITH_QT5="true"
+   )
+   else

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2020-12-27 Thread Lars Wendler
commit: def00458fdd92444ddaf5fc87d7cf337a21a33ef
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Dec 27 12:32:49 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Dec 27 12:32:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=def00458

media-video/simplescreenrecorder: v0.4.2 stable for amd64 and x86

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
index 949f13a88fe..f0ac1589ed5 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]] ; 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
 



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2020-12-27 Thread Lars Wendler
commit: 680dbd2a3ff1b1bc35b1da927206781881ef4eb4
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Dec 27 12:32:07 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Dec 27 12:32:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=680dbd2a

media-video/simplescreenrecorder: Synced live ebuild

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 media-video/simplescreenrecorder/simplescreenrecorder-.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index 6a8445ffb2f..8331e340418 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -21,7 +21,7 @@ else
 fi
 
 SLOT="0"
-IUSE="+asm jack mp3 pulseaudio theora vorbis vpx x264"
+IUSE="+asm jack mp3 pulseaudio theora v4l vorbis vpx x264"
 
 RDEPEND="
dev-qt/qtcore:5
@@ -37,6 +37,7 @@ RDEPEND="
x11-libs/libXi
x11-libs/libXinerama
virtual/glu[${MULTILIB_USEDEP}]
+   v4l? ( media-libs/libv4l )
jack? ( virtual/jack )
pulseaudio? ( media-sound/pulseaudio )
 "
@@ -75,10 +76,12 @@ src_prepare() {
 
 multilib_src_configure() {
local mycmakeargs=(
+   -DENABLE_JACK_METADATA="$(multilib_native_usex jack)"
-DENABLE_X86_ASM="$(usex asm)"
-DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
-DWITH_JACK="$(multilib_native_usex jack)"
-DWITH_GLINJECT="true"
+   -DWITH_V4L2="$(usex v4l)"
)
 
if multilib_is_native_abi ; then



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2020-11-29 Thread Andreas Sturmlechner
commit: f4656fb7a34c034f7beb51995634c0ce964b2302
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Nov 29 10:16:16 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Nov 29 20:04:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4656fb7

media-video/simplescreenrecorder: Sync live ebuild, patch upstreamed

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild | 2 +-
 media-video/simplescreenrecorder/simplescreenrecorder-.ebuild  | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
index 0a27ef778b0..949f13a88fe 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
@@ -43,7 +43,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="dev-qt/linguist-tools:5"
 
-PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) # bug #624480, in git master
 
 pkg_pretend() {
if [[ "${ABI}" == amd64 ]]; then

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index 9fb007c901b..6a8445ffb2f 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -40,9 +40,8 @@ RDEPEND="
jack? ( virtual/jack )
pulseaudio? ( media-sound/pulseaudio )
 "
-DEPEND="${RDEPEND}
-   dev-qt/linguist-tools:5
-"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
 
 pkg_pretend() {
if [[ "${ABI}" == amd64 ]]; then



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/, media-video/simplescreenrecorder/files/

2020-11-23 Thread Andreas Sturmlechner
commit: b0d93f19dd63cf0dd6f9154ef33ef8326e3c7872
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Nov 23 22:10:11 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Nov 23 22:10:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0d93f19

media-video/simplescreenrecorder: Fix Qt5LinguistTools detection, BDEPEND

See also: https://github.com/MaartenBaert/ssr/pull/614

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../files/simplescreenrecorder-0.4.2-cmake.patch   | 28 ++
 .../simplescreenrecorder-0.4.2.ebuild  |  7 +++---
 2 files changed, 32 insertions(+), 3 deletions(-)

diff --git 
a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch 
b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch
new file mode 100644
index 000..9f8bc408331
--- /dev/null
+++ 
b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch
@@ -0,0 +1,28 @@
+From 5330a3d65b7877f5f3691c20df35fbb7856d6f38 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner 
+Date: Thu, 11 Jan 2018 21:28:15 +0100
+Subject: [PATCH] Fix Qt5LinguistTools detection/lrelease binary location
+
+Correctly find the Qt5 module that provides the path to Qt5-based lrelease.
+Available since >= Qt-5.3.1 which is well below the current minimum version.
+---
+ src/translations/CMakeLists.txt | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/translations/CMakeLists.txt b/src/translations/CMakeLists.txt
+index d9afded..174acea 100644
+--- a/src/translations/CMakeLists.txt
 b/src/translations/CMakeLists.txt
+@@ -1,7 +1,8 @@
+ # translations for 'simplescreenrecorder' executable
+ 
+ if(WITH_QT5)
+-  find_program(LRELEASE NAMES lrelease-qt5 lrelease)
++  find_package(Qt5LinguistTools REQUIRED)
++  set(LRELEASE Qt5::lrelease)
+ else()
+   find_program(LRELEASE NAMES lrelease-qt4 lrelease)
+ endif()
+-- 
+2.29.2
+

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
index 9fb007c901b..0a27ef778b0 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
@@ -40,9 +40,10 @@ RDEPEND="
jack? ( virtual/jack )
pulseaudio? ( media-sound/pulseaudio )
 "
-DEPEND="${RDEPEND}
-   dev-qt/linguist-tools:5
-"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
 
 pkg_pretend() {
if [[ "${ABI}" == amd64 ]]; then



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2020-07-23 Thread Lars Wendler
commit: 72b9f4653520f9036261eb9edede4849a3881a82
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 23 10:49:04 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 23 10:49:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72b9f465

media-video/simplescreenrecorder: Removed old

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Lars Wendler  gentoo.org>

 media-video/simplescreenrecorder/Manifest  |   1 -
 .../simplescreenrecorder-0.4.1.ebuild  | 101 -
 2 files changed, 102 deletions(-)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index 5ad8f4ab83a..36c69dc4bca 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1,2 +1 @@
-DIST simplescreenrecorder-0.4.1.tar.gz 1893293 BLAKE2B 
d05765788b23073bd03997b92dfa34e3437514ccd88216dea429305f4d43ac25019d141b248ee4a4844d72fd6a87f196579e876ee16a235da34cb3f2404ce5e3
 SHA512 
b890fafb65a87c298562d25388384577408d7ccbb0b1280bb4fdad198c9b9581893e68b99aa9e478a61c59736689ae40be0f30132d56ee9a9796b8885541d8d5
 DIST simplescreenrecorder-0.4.2.tar.gz 1912151 BLAKE2B 
d8a4605a82e49693f94ecfac8853405a660a4528c3001961b1734d4387e49eeb4c91603929b3cd5d5b67a23a6ec839ace606b29666b916960f10322e6ec1b452
 SHA512 
60b0127d7f82f294e5a8f015363e37a10b5492089a0178b07a5e383c7e4b857102ed2bda7a95e3c67293a255f892481aeaf4037c583320d68d463637348ed7f7

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.1.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.1.ebuild
deleted file mode 100644
index 98efd341c92..000
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-inherit cmake-multilib flag-o-matic xdg
-
-if [[ ${PV} =  ]]; then
-   inherit git-r3
-fi
-
-DESCRIPTION="A Simple Screen Recorder"
-HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
-LICENSE="GPL-3"
-PKGNAME="ssr"
-if [[ ${PV} =  ]] ; then
-   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
-   EGIT_BOOTSTRAP=""
-else
-   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-   S="${WORKDIR}/${PKGNAME}-${PV}"
-fi
-
-SLOT="0"
-IUSE="+asm jack mp3 pulseaudio theora vorbis vpx x264"
-
-RDEPEND="
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtwidgets:5
-   dev-qt/qtx11extras:5
-   media-libs/alsa-lib:0=
-   media-libs/mesa[${MULTILIB_USEDEP},X(+)]
-   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
-   x11-libs/libX11[${MULTILIB_USEDEP}]
-   x11-libs/libXext
-   x11-libs/libXfixes[${MULTILIB_USEDEP}]
-   virtual/glu[${MULTILIB_USEDEP}]
-   jack? ( virtual/jack )
-   pulseaudio? ( media-sound/pulseaudio )
-"
-DEPEND="${RDEPEND}
-   dev-qt/linguist-tools:5
-"
-
-pkg_pretend() {
-   if [[ "${ABI}" == amd64 ]]; then
-   elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
-   elog "When added 32bit GLInject libraries are also included. 
This is"
-   elog "required if you want to use OpenGL recording on 32bit 
applications."
-   elog
-   fi
-
-   if has_version media-video/ffmpeg[x264] && has_version 
media-libs/x264[10bit] ; then
-   ewarn
-   ewarn "media-libs/x264 is currently built with 10bit useflag."
-   ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
-   ewarn "correctly. Please build media-libs/x264 without 10bit if 
you want to "
-   ewarn "record videos with x264."
-   ewarn
-   fi
-}
-
-pkg_setup() {
-   # QT requires -fPIC. Compile fails otherwise.
-   # Recently removed from the default compile options upstream
-   # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
-   append-flags -fPIC
-}
-
-src_prepare() {
-   # required because xdg.eclass overrides default cmake_src_prepare
-   cmake_src_prepare
-}
-
-multilib_src_configure() {
-   local mycmakeargs=(
-   -DENABLE_X86_ASM="$(usex asm)"
-   -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
-   -DWITH_JACK="$(multilib_native_usex jack)"
-   -DWITH_GLINJECT="true"
-   )
-
-   if multilib_is_native_abi ; then
-   mycmakeargs+=(
-   -DENABLE_32BIT_GLINJECT="false"
-   -DWITH_QT5="true"
-   )
-   else
-   mycmakeargs+=(
-   # https://bugs.gentoo.org/660438
-   -DCMAKE_INSTALL_LIB32DIR="$(get_libdir)"
-   

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2020-07-23 Thread Lars Wendler
commit: d99a80991a33aea18282e833febf6fe1990564ac
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 23 10:46:12 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 23 10:47:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d99a8099

media-video/simplescreenrecorder: Fixed dependencies

Thanks-to: Ladislav Jech  gmail.com>
Closes: https://bugs.gentoo.org/733168
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Lars Wendler  gentoo.org>

 .../simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild   | 9 -
 .../simplescreenrecorder/simplescreenrecorder-.ebuild| 9 -
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
index 98efd341c92..9fb007c901b 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
@@ -6,15 +6,12 @@ EAPI=7
 CMAKE_ECLASS=cmake
 inherit cmake-multilib flag-o-matic xdg
 
-if [[ ${PV} =  ]]; then
-   inherit git-r3
-fi
-
 DESCRIPTION="A Simple Screen Recorder"
 HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
 LICENSE="GPL-3"
 PKGNAME="ssr"
 if [[ ${PV} =  ]] ; then
+   inherit git-r3
EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
EGIT_BOOTSTRAP=""
 else
@@ -32,11 +29,13 @@ RDEPEND="
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
media-libs/alsa-lib:0=
-   media-libs/mesa[${MULTILIB_USEDEP},X(+)]
+   media-libs/libglvnd[${MULTILIB_USEDEP},X]
media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXext
x11-libs/libXfixes[${MULTILIB_USEDEP}]
+   x11-libs/libXi
+   x11-libs/libXinerama
virtual/glu[${MULTILIB_USEDEP}]
jack? ( virtual/jack )
pulseaudio? ( media-sound/pulseaudio )

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index 98efd341c92..9fb007c901b 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -6,15 +6,12 @@ EAPI=7
 CMAKE_ECLASS=cmake
 inherit cmake-multilib flag-o-matic xdg
 
-if [[ ${PV} =  ]]; then
-   inherit git-r3
-fi
-
 DESCRIPTION="A Simple Screen Recorder"
 HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
 LICENSE="GPL-3"
 PKGNAME="ssr"
 if [[ ${PV} =  ]] ; then
+   inherit git-r3
EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
EGIT_BOOTSTRAP=""
 else
@@ -32,11 +29,13 @@ RDEPEND="
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
media-libs/alsa-lib:0=
-   media-libs/mesa[${MULTILIB_USEDEP},X(+)]
+   media-libs/libglvnd[${MULTILIB_USEDEP},X]
media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXext
x11-libs/libXfixes[${MULTILIB_USEDEP}]
+   x11-libs/libXi
+   x11-libs/libXinerama
virtual/glu[${MULTILIB_USEDEP}]
jack? ( virtual/jack )
pulseaudio? ( media-sound/pulseaudio )



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/, media-video/simplescreenrecorder/files/

2020-05-20 Thread Lars Wendler
commit: fcb35a8a71d7c41f386deb78b31b580cb54c
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed May 20 19:13:28 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed May 20 19:13:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcb35a8a

media-video/simplescreenrecorder: Removed old

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 media-video/simplescreenrecorder/Manifest  |   1 -
 .../simplescreenrecorder-0.4.0-metainfo.patch  |  37 
 .../simplescreenrecorder-0.4.0.ebuild  | 105 -
 3 files changed, 143 deletions(-)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index 5a24e77d871..5ad8f4ab83a 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1,3 +1,2 @@
-DIST simplescreenrecorder-0.4.0.tar.gz 1867593 BLAKE2B 
0997c4e72c142ebfa74658c1fd27d8d01ceb3810f659df0bf899004224d3944a58476fd6b54b318d712fa4d284684a221f387c7e3e63d4b397312ab9e0786988
 SHA512 
aa4970aba010884153c9d3155a0869288a5b9b8723cf617471148ad875f1af29f594403c1682303345c578cc0dc3f0a4b3596e4937d3afa949a652b83dcd0b36
 DIST simplescreenrecorder-0.4.1.tar.gz 1893293 BLAKE2B 
d05765788b23073bd03997b92dfa34e3437514ccd88216dea429305f4d43ac25019d141b248ee4a4844d72fd6a87f196579e876ee16a235da34cb3f2404ce5e3
 SHA512 
b890fafb65a87c298562d25388384577408d7ccbb0b1280bb4fdad198c9b9581893e68b99aa9e478a61c59736689ae40be0f30132d56ee9a9796b8885541d8d5
 DIST simplescreenrecorder-0.4.2.tar.gz 1912151 BLAKE2B 
d8a4605a82e49693f94ecfac8853405a660a4528c3001961b1734d4387e49eeb4c91603929b3cd5d5b67a23a6ec839ace606b29666b916960f10322e6ec1b452
 SHA512 
60b0127d7f82f294e5a8f015363e37a10b5492089a0178b07a5e383c7e4b857102ed2bda7a95e3c67293a255f892481aeaf4037c583320d68d463637348ed7f7

diff --git 
a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.0-metainfo.patch
 
b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.0-metainfo.patch
deleted file mode 100644
index 799afe23e26..000
--- 
a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.0-metainfo.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 47078d2790e8c2f982dacfe27f998b7307b600c9 Mon Sep 17 00:00:00 2001
-From: Lars Wendler 
-Date: Thu, 9 Apr 2020 13:06:54 +0200
-Subject: [PATCH] Rename appdata to metainfo
-
-See https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
-chapter 2.1.2 "Filesystem locations"
-
-Signed-off-by: Lars Wendler 

- CMakeLists.txt| 4 ++--
- ...recorder.appdata.xml => simplescreenrecorder.metainfo.xml} | 0
- 2 files changed, 2 insertions(+), 2 deletions(-)
- rename data/{simplescreenrecorder.appdata.xml => 
simplescreenrecorder.metainfo.xml} (100%)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 7d7167b..760c889 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -86,8 +86,8 @@ if(WITH_SIMPLESCREENRECORDER)
-   DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/applications
-   )
-   install(
--  FILES data/simplescreenrecorder.appdata.xml
--  DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/appdata
-+  FILES data/simplescreenrecorder.metainfo.xml
-+  DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/metainfo
-   )
- 
-   # icons
-diff --git a/data/simplescreenrecorder.appdata.xml 
b/data/simplescreenrecorder.metainfo.xml
-similarity index 100%
-rename from data/simplescreenrecorder.appdata.xml
-rename to data/simplescreenrecorder.metainfo.xml
--- 
-2.26.0
-

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild
deleted file mode 100644
index 6e923848899..000
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-inherit cmake-multilib flag-o-matic xdg
-
-if [[ ${PV} =  ]]; then
-   inherit git-r3
-fi
-
-DESCRIPTION="A Simple Screen Recorder"
-HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
-LICENSE="GPL-3"
-PKGNAME="ssr"
-if [[ ${PV} =  ]] ; then
-   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
-   EGIT_BOOTSTRAP=""
-else
-   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-   S="${WORKDIR}/${PKGNAME}-${PV}"
-fi
-
-SLOT="0"
-IUSE="+asm jack mp3 pulseaudio theora vorbis vpx x264"
-
-RDEPEND="
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtwidgets:5
-   dev-qt/qtx11extras:5
-   media-libs/alsa-lib:0=
-   media-libs/mesa[${MULTILIB_USEDEP},X(+)]
-   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
-   

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2020-05-20 Thread Lars Wendler
commit: b45a2d597a30887fda975656ceaf0d47758d69dc
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed May 20 19:12:45 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed May 20 19:13:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b45a2d59

media-video/simplescreenrecorder: Bump to version 0.4.2

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 media-video/simplescreenrecorder/Manifest  |   1 +
 .../simplescreenrecorder-0.4.2.ebuild  | 101 +
 2 files changed, 102 insertions(+)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index dbf8064896f..5a24e77d871 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1,2 +1,3 @@
 DIST simplescreenrecorder-0.4.0.tar.gz 1867593 BLAKE2B 
0997c4e72c142ebfa74658c1fd27d8d01ceb3810f659df0bf899004224d3944a58476fd6b54b318d712fa4d284684a221f387c7e3e63d4b397312ab9e0786988
 SHA512 
aa4970aba010884153c9d3155a0869288a5b9b8723cf617471148ad875f1af29f594403c1682303345c578cc0dc3f0a4b3596e4937d3afa949a652b83dcd0b36
 DIST simplescreenrecorder-0.4.1.tar.gz 1893293 BLAKE2B 
d05765788b23073bd03997b92dfa34e3437514ccd88216dea429305f4d43ac25019d141b248ee4a4844d72fd6a87f196579e876ee16a235da34cb3f2404ce5e3
 SHA512 
b890fafb65a87c298562d25388384577408d7ccbb0b1280bb4fdad198c9b9581893e68b99aa9e478a61c59736689ae40be0f30132d56ee9a9796b8885541d8d5
+DIST simplescreenrecorder-0.4.2.tar.gz 1912151 BLAKE2B 
d8a4605a82e49693f94ecfac8853405a660a4528c3001961b1734d4387e49eeb4c91603929b3cd5d5b67a23a6ec839ace606b29666b916960f10322e6ec1b452
 SHA512 
60b0127d7f82f294e5a8f015363e37a10b5492089a0178b07a5e383c7e4b857102ed2bda7a95e3c67293a255f892481aeaf4037c583320d68d463637348ed7f7

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
new file mode 100644
index 000..98efd341c92
--- /dev/null
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib flag-o-matic xdg
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+fi
+
+DESCRIPTION="A Simple Screen Recorder"
+HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
+LICENSE="GPL-3"
+PKGNAME="ssr"
+if [[ ${PV} =  ]] ; then
+   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
+   EGIT_BOOTSTRAP=""
+else
+   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/${PKGNAME}-${PV}"
+fi
+
+SLOT="0"
+IUSE="+asm jack mp3 pulseaudio theora vorbis vpx x264"
+
+RDEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtx11extras:5
+   media-libs/alsa-lib:0=
+   media-libs/mesa[${MULTILIB_USEDEP},X(+)]
+   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   x11-libs/libXext
+   x11-libs/libXfixes[${MULTILIB_USEDEP}]
+   virtual/glu[${MULTILIB_USEDEP}]
+   jack? ( virtual/jack )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}
+   dev-qt/linguist-tools:5
+"
+
+pkg_pretend() {
+   if [[ "${ABI}" == amd64 ]]; then
+   elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
+   elog "When added 32bit GLInject libraries are also included. 
This is"
+   elog "required if you want to use OpenGL recording on 32bit 
applications."
+   elog
+   fi
+
+   if has_version media-video/ffmpeg[x264] && has_version 
media-libs/x264[10bit] ; then
+   ewarn
+   ewarn "media-libs/x264 is currently built with 10bit useflag."
+   ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
+   ewarn "correctly. Please build media-libs/x264 without 10bit if 
you want to "
+   ewarn "record videos with x264."
+   ewarn
+   fi
+}
+
+pkg_setup() {
+   # QT requires -fPIC. Compile fails otherwise.
+   # Recently removed from the default compile options upstream
+   # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
+   append-flags -fPIC
+}
+
+src_prepare() {
+   # required because xdg.eclass overrides default cmake_src_prepare
+   cmake_src_prepare
+}
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   -DENABLE_X86_ASM="$(usex asm)"
+   -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
+   -DWITH_JACK="$(multilib_native_usex jack)"
+   -DWITH_GLINJECT="true"
+   )
+
+   if multilib_is_native_abi ; then
+   

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2020-05-05 Thread Lars Wendler
commit: c9e050fd71c3d61f54d75b536bbfe057eaafa68b
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue May  5 15:04:19 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue May  5 15:04:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9e050fd

media-video/simplescreenrecorder: Removed old

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 media-video/simplescreenrecorder/Manifest  |   1 -
 .../simplescreenrecorder-0.3.11-r2.ebuild  | 113 -
 2 files changed, 114 deletions(-)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index 2510abf8ea5..dbf8064896f 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1,3 +1,2 @@
-DIST simplescreenrecorder-0.3.11.tar.gz 1823944 BLAKE2B 
b7692ad158b4784f0222dd47227b85d33aae7eb416ed87d2eda1040027c910ec8d0ebe6a7e164e77cb9c3f6f2756e15fe97a7f05f45c92465473d2ae90e86b34
 SHA512 
5919774a00cd7015cd7db40561efaea43809b9465508b7770db9eb0fc87f338746e5cd4a79a0ab6c09e516257fa80184c3dcb5ab400c0ef2c0a8cf50ea2a073f
 DIST simplescreenrecorder-0.4.0.tar.gz 1867593 BLAKE2B 
0997c4e72c142ebfa74658c1fd27d8d01ceb3810f659df0bf899004224d3944a58476fd6b54b318d712fa4d284684a221f387c7e3e63d4b397312ab9e0786988
 SHA512 
aa4970aba010884153c9d3155a0869288a5b9b8723cf617471148ad875f1af29f594403c1682303345c578cc0dc3f0a4b3596e4937d3afa949a652b83dcd0b36
 DIST simplescreenrecorder-0.4.1.tar.gz 1893293 BLAKE2B 
d05765788b23073bd03997b92dfa34e3437514ccd88216dea429305f4d43ac25019d141b248ee4a4844d72fd6a87f196579e876ee16a235da34cb3f2404ce5e3
 SHA512 
b890fafb65a87c298562d25388384577408d7ccbb0b1280bb4fdad198c9b9581893e68b99aa9e478a61c59736689ae40be0f30132d56ee9a9796b8885541d8d5

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild
deleted file mode 100644
index 0639d02efdf..000
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-inherit cmake-multilib flag-o-matic xdg
-
-if [[ ${PV} =  ]]; then
-   inherit git-r3
-fi
-
-DESCRIPTION="A Simple Screen Recorder"
-HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
-LICENSE="GPL-3"
-PKGNAME="ssr"
-if [[ ${PV} =  ]] ; then
-   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
-   EGIT_BOOTSTRAP=""
-else
-   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-   S="${WORKDIR}/${PKGNAME}-${PV}"
-fi
-
-SLOT="0"
-IUSE="+asm jack mp3 pulseaudio theora vorbis vpx x264"
-
-RDEPEND="
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtwidgets:5
-   dev-qt/qtx11extras:5
-   media-libs/alsa-lib:0=
-   media-libs/mesa[${MULTILIB_USEDEP},X(+)]
-   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
-   x11-libs/libX11[${MULTILIB_USEDEP}]
-   x11-libs/libXext
-   x11-libs/libXfixes[${MULTILIB_USEDEP}]
-   virtual/glu[${MULTILIB_USEDEP}]
-   jack? ( virtual/jack )
-   pulseaudio? ( media-sound/pulseaudio )
-"
-DEPEND="${RDEPEND}
-   dev-qt/linguist-tools:5
-"
-
-pkg_pretend() {
-   if [[ "${ABI}" == amd64 ]]; then
-   elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
-   elog "When added 32bit GLInject libraries are also included. 
This is"
-   elog "required if you want to use OpenGL recording on 32bit 
applications."
-   elog
-   fi
-
-   if has_version media-video/ffmpeg[x264] && has_version 
media-libs/x264[10bit] ; then
-   ewarn
-   ewarn "media-libs/x264 is currently built with 10bit useflag."
-   ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
-   ewarn "correctly. Please build media-libs/x264 without 10bit if 
you want to "
-   ewarn "record videos with x264."
-   ewarn
-   fi
-}
-
-pkg_setup() {
-   # QT requires -fPIC. Compile fails otherwise.
-   # Recently removed from the default compile options upstream
-   # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
-   append-flags -fPIC
-}
-
-src_prepare() {
-   # required because xdg.eclass overrides default cmake_src_prepare
-   cmake_src_prepare
-}
-
-multilib_src_configure() {
-   local mycmakeargs=(
-   -DENABLE_X86_ASM="$(usex asm)"
-   -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
-   -DWITH_JACK="$(multilib_native_usex jack)"
-   -DWITH_GLINJECT="true"
-   )
-
-   if multilib_is_native_abi ; 

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2020-05-05 Thread Lars Wendler
commit: 728ceb5d902caeb288610ec4bb20190ad3278f72
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue May  5 15:03:35 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue May  5 15:04:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=728ceb5d

media-video/simplescreenrecorder: Bump to version 0.4.1

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 media-video/simplescreenrecorder/Manifest  |   1 +
 .../simplescreenrecorder-0.4.1.ebuild  | 101 +
 2 files changed, 102 insertions(+)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index 74c8cbdd47d..2510abf8ea5 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1,2 +1,3 @@
 DIST simplescreenrecorder-0.3.11.tar.gz 1823944 BLAKE2B 
b7692ad158b4784f0222dd47227b85d33aae7eb416ed87d2eda1040027c910ec8d0ebe6a7e164e77cb9c3f6f2756e15fe97a7f05f45c92465473d2ae90e86b34
 SHA512 
5919774a00cd7015cd7db40561efaea43809b9465508b7770db9eb0fc87f338746e5cd4a79a0ab6c09e516257fa80184c3dcb5ab400c0ef2c0a8cf50ea2a073f
 DIST simplescreenrecorder-0.4.0.tar.gz 1867593 BLAKE2B 
0997c4e72c142ebfa74658c1fd27d8d01ceb3810f659df0bf899004224d3944a58476fd6b54b318d712fa4d284684a221f387c7e3e63d4b397312ab9e0786988
 SHA512 
aa4970aba010884153c9d3155a0869288a5b9b8723cf617471148ad875f1af29f594403c1682303345c578cc0dc3f0a4b3596e4937d3afa949a652b83dcd0b36
+DIST simplescreenrecorder-0.4.1.tar.gz 1893293 BLAKE2B 
d05765788b23073bd03997b92dfa34e3437514ccd88216dea429305f4d43ac25019d141b248ee4a4844d72fd6a87f196579e876ee16a235da34cb3f2404ce5e3
 SHA512 
b890fafb65a87c298562d25388384577408d7ccbb0b1280bb4fdad198c9b9581893e68b99aa9e478a61c59736689ae40be0f30132d56ee9a9796b8885541d8d5

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.1.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.1.ebuild
new file mode 100644
index 000..98efd341c92
--- /dev/null
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib flag-o-matic xdg
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+fi
+
+DESCRIPTION="A Simple Screen Recorder"
+HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
+LICENSE="GPL-3"
+PKGNAME="ssr"
+if [[ ${PV} =  ]] ; then
+   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
+   EGIT_BOOTSTRAP=""
+else
+   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/${PKGNAME}-${PV}"
+fi
+
+SLOT="0"
+IUSE="+asm jack mp3 pulseaudio theora vorbis vpx x264"
+
+RDEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtx11extras:5
+   media-libs/alsa-lib:0=
+   media-libs/mesa[${MULTILIB_USEDEP},X(+)]
+   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   x11-libs/libXext
+   x11-libs/libXfixes[${MULTILIB_USEDEP}]
+   virtual/glu[${MULTILIB_USEDEP}]
+   jack? ( virtual/jack )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}
+   dev-qt/linguist-tools:5
+"
+
+pkg_pretend() {
+   if [[ "${ABI}" == amd64 ]]; then
+   elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
+   elog "When added 32bit GLInject libraries are also included. 
This is"
+   elog "required if you want to use OpenGL recording on 32bit 
applications."
+   elog
+   fi
+
+   if has_version media-video/ffmpeg[x264] && has_version 
media-libs/x264[10bit] ; then
+   ewarn
+   ewarn "media-libs/x264 is currently built with 10bit useflag."
+   ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
+   ewarn "correctly. Please build media-libs/x264 without 10bit if 
you want to "
+   ewarn "record videos with x264."
+   ewarn
+   fi
+}
+
+pkg_setup() {
+   # QT requires -fPIC. Compile fails otherwise.
+   # Recently removed from the default compile options upstream
+   # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
+   append-flags -fPIC
+}
+
+src_prepare() {
+   # required because xdg.eclass overrides default cmake_src_prepare
+   cmake_src_prepare
+}
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   -DENABLE_X86_ASM="$(usex asm)"
+   -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
+   -DWITH_JACK="$(multilib_native_usex jack)"
+   -DWITH_GLINJECT="true"
+   )
+
+   if multilib_is_native_abi ; then
+  

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2020-04-26 Thread David Seifert
commit: 16be47cbf129171dc8ad2f65b3fca7b68d5f0c76
Author: David Seifert  gentoo  org>
AuthorDate: Sun Apr 26 12:25:33 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Apr 26 12:25:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16be47cb

media-video/simplescreenrecorder: Remove media-video/libav

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Seifert  gentoo.org>

 .../simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild| 8 +---
 .../simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild| 8 +---
 media-video/simplescreenrecorder/simplescreenrecorder-.ebuild | 8 +---
 3 files changed, 3 insertions(+), 21 deletions(-)

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild
index be49dbe85ff..0639d02efdf 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild
@@ -53,7 +53,7 @@ pkg_pretend() {
elog
fi
 
-   if { has_version media-video/ffmpeg[x264] || has_version 
media-video/libav[x264] ; } && has_version media-libs/x264[10bit] ; then
+   if has_version media-video/ffmpeg[x264] && has_version 
media-libs/x264[10bit] ; then
ewarn
ewarn "media-libs/x264 is currently built with 10bit useflag."
ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
@@ -83,12 +83,6 @@ multilib_src_configure() {
-DWITH_GLINJECT="true"
)
 
-   # libav doesn't have AVFrame::channels
-   # https://github.com/MaartenBaert/ssr/issues/195#issuecomment-45646159
-   if has_version media-video/libav ; then
-   mycmakeargs+=( -DENABLE_FFMPEG_VERSIONS="false" )
-   fi
-
if multilib_is_native_abi ; then
mycmakeargs+=(
-DENABLE_32BIT_GLINJECT="false"

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild
index 08f9a609c2f..6e923848899 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild
@@ -57,7 +57,7 @@ pkg_pretend() {
elog
fi
 
-   if { has_version media-video/ffmpeg[x264] || has_version 
media-video/libav[x264] ; } && has_version media-libs/x264[10bit] ; then
+   if has_version media-video/ffmpeg[x264] && has_version 
media-libs/x264[10bit] ; then
ewarn
ewarn "media-libs/x264 is currently built with 10bit useflag."
ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
@@ -87,12 +87,6 @@ multilib_src_configure() {
-DWITH_GLINJECT="true"
)
 
-   # libav doesn't have AVFrame::channels
-   # https://github.com/MaartenBaert/ssr/issues/195#issuecomment-45646159
-   if has_version media-video/libav ; then
-   mycmakeargs+=( -DENABLE_FFMPEG_VERSIONS="false" )
-   fi
-
if multilib_is_native_abi ; then
mycmakeargs+=(
-DENABLE_32BIT_GLINJECT="false"

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index 5dad366ff9a..98efd341c92 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -53,7 +53,7 @@ pkg_pretend() {
elog
fi
 
-   if { has_version media-video/ffmpeg[x264] || has_version 
media-video/libav[x264] ; } && has_version media-libs/x264[10bit] ; then
+   if has_version media-video/ffmpeg[x264] && has_version 
media-libs/x264[10bit] ; then
ewarn
ewarn "media-libs/x264 is currently built with 10bit useflag."
ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
@@ -83,12 +83,6 @@ multilib_src_configure() {
-DWITH_GLINJECT="true"
)
 
-   # libav doesn't have AVFrame::channels
-   # https://github.com/MaartenBaert/ssr/issues/195#issuecomment-45646159
-   if has_version media-video/libav ; then
-   mycmakeargs+=( -DENABLE_FFMPEG_VERSIONS="false" )
-   fi
-
if multilib_is_native_abi ; then
mycmakeargs+=(
-DENABLE_32BIT_GLINJECT="false"



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2020-04-25 Thread Mikle Kolyada
commit: 0545fe4959fa15f3f2449ca7b9bff0a263736749
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Apr 25 18:54:40 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Apr 25 18:54:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0545fe49

media-video/simplescreenrecorder: migrate from libav

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada  gentoo.org>

 .../simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild | 7 ++-
 media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild | 5 +
 media-video/simplescreenrecorder/simplescreenrecorder-.ebuild  | 5 +
 3 files changed, 4 insertions(+), 13 deletions(-)

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild
index 54eeceee53a..be49dbe85ff 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -33,10 +33,7 @@ RDEPEND="
dev-qt/qtx11extras:5
media-libs/alsa-lib:0=
media-libs/mesa[${MULTILIB_USEDEP},X(+)]
-   || (
-   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
-   media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?]
-   )
+   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXext
x11-libs/libXfixes[${MULTILIB_USEDEP}]

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild
index 4edd7070ece..08f9a609c2f 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild
@@ -33,10 +33,7 @@ RDEPEND="
dev-qt/qtx11extras:5
media-libs/alsa-lib:0=
media-libs/mesa[${MULTILIB_USEDEP},X(+)]
-   || (
-   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
-   media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?]
-   )
+   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXext
x11-libs/libXfixes[${MULTILIB_USEDEP}]

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index 099655b743d..5dad366ff9a 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -33,10 +33,7 @@ RDEPEND="
dev-qt/qtx11extras:5
media-libs/alsa-lib:0=
media-libs/mesa[${MULTILIB_USEDEP},X(+)]
-   || (
-   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
-   media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?]
-   )
+   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXext
x11-libs/libXfixes[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2020-04-09 Thread Lars Wendler
commit: b69faf0d8f64a0b072f57226d9645ee491b3119e
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Apr  9 11:19:12 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Apr  9 11:22:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b69faf0d

media-video/simplescreenrecorder: Synced live ebuild

Package-Manager: Portage-2.3.97, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 .../simplescreenrecorder/simplescreenrecorder-.ebuild  | 14 +-
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index 54eeceee53a..099655b743d 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -108,15 +108,3 @@ multilib_src_configure() {
 
cmake_src_configure
 }
-
-pkg_preinst() {
-   xdg_pkg_preinst
-}
-
-pkg_postinst() {
-   xdg_pkg_postinst
-}
-
-pkg_postrm() {
-   xdg_pkg_postrm
-}



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/, media-video/simplescreenrecorder/files/

2020-04-09 Thread Lars Wendler
commit: 54a42e4bf640950e1002221314ca919bcdabd85d
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Apr  9 11:14:44 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Apr  9 11:22:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54a42e4b

media-video/simplescreenrecorder: Bump to version 0.4.0

Package-Manager: Portage-2.3.97, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 media-video/simplescreenrecorder/Manifest  |   1 +
 .../simplescreenrecorder-0.4.0-metainfo.patch  |  37 +++
 .../simplescreenrecorder-0.4.0.ebuild  | 114 +
 3 files changed, 152 insertions(+)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index 9a3f1c2fe3c..74c8cbdd47d 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1 +1,2 @@
 DIST simplescreenrecorder-0.3.11.tar.gz 1823944 BLAKE2B 
b7692ad158b4784f0222dd47227b85d33aae7eb416ed87d2eda1040027c910ec8d0ebe6a7e164e77cb9c3f6f2756e15fe97a7f05f45c92465473d2ae90e86b34
 SHA512 
5919774a00cd7015cd7db40561efaea43809b9465508b7770db9eb0fc87f338746e5cd4a79a0ab6c09e516257fa80184c3dcb5ab400c0ef2c0a8cf50ea2a073f
+DIST simplescreenrecorder-0.4.0.tar.gz 1867593 BLAKE2B 
0997c4e72c142ebfa74658c1fd27d8d01ceb3810f659df0bf899004224d3944a58476fd6b54b318d712fa4d284684a221f387c7e3e63d4b397312ab9e0786988
 SHA512 
aa4970aba010884153c9d3155a0869288a5b9b8723cf617471148ad875f1af29f594403c1682303345c578cc0dc3f0a4b3596e4937d3afa949a652b83dcd0b36

diff --git 
a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.0-metainfo.patch
 
b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.0-metainfo.patch
new file mode 100644
index 000..799afe23e26
--- /dev/null
+++ 
b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.0-metainfo.patch
@@ -0,0 +1,37 @@
+From 47078d2790e8c2f982dacfe27f998b7307b600c9 Mon Sep 17 00:00:00 2001
+From: Lars Wendler 
+Date: Thu, 9 Apr 2020 13:06:54 +0200
+Subject: [PATCH] Rename appdata to metainfo
+
+See https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
+chapter 2.1.2 "Filesystem locations"
+
+Signed-off-by: Lars Wendler 
+---
+ CMakeLists.txt| 4 ++--
+ ...recorder.appdata.xml => simplescreenrecorder.metainfo.xml} | 0
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+ rename data/{simplescreenrecorder.appdata.xml => 
simplescreenrecorder.metainfo.xml} (100%)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7d7167b..760c889 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -86,8 +86,8 @@ if(WITH_SIMPLESCREENRECORDER)
+   DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/applications
+   )
+   install(
+-  FILES data/simplescreenrecorder.appdata.xml
+-  DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/appdata
++  FILES data/simplescreenrecorder.metainfo.xml
++  DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/metainfo
+   )
+ 
+   # icons
+diff --git a/data/simplescreenrecorder.appdata.xml 
b/data/simplescreenrecorder.metainfo.xml
+similarity index 100%
+rename from data/simplescreenrecorder.appdata.xml
+rename to data/simplescreenrecorder.metainfo.xml
+-- 
+2.26.0
+

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild
new file mode 100644
index 000..4edd7070ece
--- /dev/null
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.0.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib flag-o-matic xdg
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+fi
+
+DESCRIPTION="A Simple Screen Recorder"
+HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
+LICENSE="GPL-3"
+PKGNAME="ssr"
+if [[ ${PV} =  ]] ; then
+   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
+   EGIT_BOOTSTRAP=""
+else
+   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/${PKGNAME}-${PV}"
+fi
+
+SLOT="0"
+IUSE="+asm jack mp3 pulseaudio theora vorbis vpx x264"
+
+RDEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtx11extras:5
+   media-libs/alsa-lib:0=
+   media-libs/mesa[${MULTILIB_USEDEP},X(+)]
+   || (
+   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
+   media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?]
+   )
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   x11-libs/libXext
+   x11-libs/libXfixes[${MULTILIB_USEDEP}]
+   virtual/glu[${MULTILIB_USEDEP}]
+   jack? ( virtual/jack )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2019-06-12 Thread Lars Wendler
commit: 5e546bf3c945c6ca8617bd2f48ceae041c931570
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jun 12 08:58:42 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jun 12 09:18:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e546bf3

media-video/simplescreenrecorder: Do not install into /usr/lib32

with 17.1 profiles or newer.

Thanks-to: Mike Hiretsky  calculate.ru>
Closes: https://bugs.gentoo.org/660438
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Lars Wendler  gentoo.org>

 ...build => simplescreenrecorder-0.3.11-r2.ebuild} | 40 +++---
 1 file changed, 28 insertions(+), 12 deletions(-)

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r1.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild
similarity index 81%
rename from 
media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r1.ebuild
rename to media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild
index 1cf430a123e..852caf0a6ba 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r1.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit cmake-multilib flag-o-matic gnome2-utils xdg-utils
+inherit cmake-multilib flag-o-matic xdg
 
 if [[ ${PV} =  ]]; then
inherit git-r3
@@ -47,8 +47,8 @@ DEPEND="${RDEPEND}
dev-qt/linguist-tools:5
 "
 
-pkg_setup() {
-   if [[ ${ABI} == amd64 ]]; then
+pkg_pretend() {
+   if [[ "${ABI}" == amd64 ]]; then
elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
elog "When added 32bit GLInject libraries are also included. 
This is"
elog "required if you want to use OpenGL recording on 32bit 
applications."
@@ -63,16 +63,22 @@ pkg_setup() {
ewarn "record videos with x264."
ewarn
fi
+}
 
+pkg_setup() {
# QT requires -fPIC. Compile fails otherwise.
# Recently removed from the default compile options upstream
# 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
append-flags -fPIC
 }
 
+src_prepare() {
+   # required because xdg.eclass overrides default cmake-utils_src_prepare
+   cmake-utils_src_prepare
+}
+
 multilib_src_configure() {
local mycmakeargs=(
-   -DENABLE_32BIT_GLINJECT="$(usex abi_x86_32)"
-DENABLE_X86_ASM="$(usex asm)"
-DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
-DWITH_JACK="$(multilib_native_usex jack)"
@@ -86,20 +92,30 @@ multilib_src_configure() {
fi
 
if multilib_is_native_abi ; then
-   mycmakeargs+=( -DWITH_QT5="true" )
+   mycmakeargs+=(
+   -DENABLE_32BIT_GLINJECT="false"
+   -DWITH_QT5="true"
+   )
else
-   mycmakeargs+=( -DWITH_SIMPLESCREENRECORDER="false" )
+   mycmakeargs+=(
+   # https://bugs.gentoo.org/660438
+   -DCMAKE_INSTALL_LIB32DIR="$(get_libdir)"
+   -DENABLE_32BIT_GLINJECT="true"
+   -DWITH_SIMPLESCREENRECORDER="false"
+   )
fi
 
cmake-utils_src_configure
 }
 
+pkg_preinst() {
+   xdg_pkg_preinst
+}
+
 pkg_postinst() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
+   xdg_pkg_postinst
 }
 
 pkg_postrm() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
+   xdg_pkg_postrm
 }



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2019-06-12 Thread Lars Wendler
commit: a7e59b6ee2d8ab6930421b30c5a14f89b14346ed
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jun 12 09:17:50 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jun 12 09:18:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e59b6e

media-video/simplescreenrecorder: Synced live ebuild

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Lars Wendler  gentoo.org>

 .../simplescreenrecorder-.ebuild   | 40 +++---
 1 file changed, 28 insertions(+), 12 deletions(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index 1cf430a123e..852caf0a6ba 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit cmake-multilib flag-o-matic gnome2-utils xdg-utils
+inherit cmake-multilib flag-o-matic xdg
 
 if [[ ${PV} =  ]]; then
inherit git-r3
@@ -47,8 +47,8 @@ DEPEND="${RDEPEND}
dev-qt/linguist-tools:5
 "
 
-pkg_setup() {
-   if [[ ${ABI} == amd64 ]]; then
+pkg_pretend() {
+   if [[ "${ABI}" == amd64 ]]; then
elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
elog "When added 32bit GLInject libraries are also included. 
This is"
elog "required if you want to use OpenGL recording on 32bit 
applications."
@@ -63,16 +63,22 @@ pkg_setup() {
ewarn "record videos with x264."
ewarn
fi
+}
 
+pkg_setup() {
# QT requires -fPIC. Compile fails otherwise.
# Recently removed from the default compile options upstream
# 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
append-flags -fPIC
 }
 
+src_prepare() {
+   # required because xdg.eclass overrides default cmake-utils_src_prepare
+   cmake-utils_src_prepare
+}
+
 multilib_src_configure() {
local mycmakeargs=(
-   -DENABLE_32BIT_GLINJECT="$(usex abi_x86_32)"
-DENABLE_X86_ASM="$(usex asm)"
-DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
-DWITH_JACK="$(multilib_native_usex jack)"
@@ -86,20 +92,30 @@ multilib_src_configure() {
fi
 
if multilib_is_native_abi ; then
-   mycmakeargs+=( -DWITH_QT5="true" )
+   mycmakeargs+=(
+   -DENABLE_32BIT_GLINJECT="false"
+   -DWITH_QT5="true"
+   )
else
-   mycmakeargs+=( -DWITH_SIMPLESCREENRECORDER="false" )
+   mycmakeargs+=(
+   # https://bugs.gentoo.org/660438
+   -DCMAKE_INSTALL_LIB32DIR="$(get_libdir)"
+   -DENABLE_32BIT_GLINJECT="true"
+   -DWITH_SIMPLESCREENRECORDER="false"
+   )
fi
 
cmake-utils_src_configure
 }
 
+pkg_preinst() {
+   xdg_pkg_preinst
+}
+
 pkg_postinst() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
+   xdg_pkg_postinst
 }
 
 pkg_postrm() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
+   xdg_pkg_postrm
 }



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2018-11-24 Thread Lars Wendler
commit: c9be43ab3855386a47817a873a9a71854a26bbc6
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Nov 24 09:41:03 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Nov 24 09:41:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9be43ab

media-video/simplescreenrecorder: Revbump to update icon cache

Closes: https://bugs.gentoo.org/671778
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 ...recorder-0.3.11.ebuild => simplescreenrecorder-0.3.11-r1.ebuild} | 6 --
 media-video/simplescreenrecorder/simplescreenrecorder-.ebuild   | 6 --
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r1.ebuild
similarity index 94%
rename from media-video/simplescreenrecorder/simplescreenrecorder-0.3.11.ebuild
rename to media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r1.ebuild
index da1692bb1d6..1cf430a123e 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit cmake-multilib flag-o-matic xdg-utils
+inherit cmake-multilib flag-o-matic gnome2-utils xdg-utils
 
 if [[ ${PV} =  ]]; then
inherit git-r3
@@ -95,9 +95,11 @@ multilib_src_configure() {
 }
 
 pkg_postinst() {
+   gnome2_icon_cache_update
xdg_desktop_database_update
 }
 
 pkg_postrm() {
+   gnome2_icon_cache_update
xdg_desktop_database_update
 }

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index da1692bb1d6..1cf430a123e 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit cmake-multilib flag-o-matic xdg-utils
+inherit cmake-multilib flag-o-matic gnome2-utils xdg-utils
 
 if [[ ${PV} =  ]]; then
inherit git-r3
@@ -95,9 +95,11 @@ multilib_src_configure() {
 }
 
 pkg_postinst() {
+   gnome2_icon_cache_update
xdg_desktop_database_update
 }
 
 pkg_postrm() {
+   gnome2_icon_cache_update
xdg_desktop_database_update
 }



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/files/, media-video/simplescreenrecorder/

2018-11-23 Thread Lars Wendler
commit: bf66a753d65e4164cd975b281a98cb2f497511a6
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Nov 23 23:34:52 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Nov 23 23:35:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf66a753

media-video/simplescreenrecorder: Removed old.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 media-video/simplescreenrecorder/Manifest  |   2 -
 .../files/simplescreenrecorder-0.3.9-cmake.patch   | 106 
 ...simplescreenrecorder-0.3.9-pulseaudio_dep.patch |  18 
 .../simplescreenrecorder-0.3.10.ebuild | 103 
 .../simplescreenrecorder-0.3.9-r1.ebuild   | 108 -
 5 files changed, 337 deletions(-)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index a9960f48c8a..9a3f1c2fe3c 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1,3 +1 @@
-DIST simplescreenrecorder-0.3.10.tar.gz 1823448 BLAKE2B 
5eef2a803be90b357b08ba6a009cd9bfda73bc7c29200de50c32902598b7044aedaa0a39d9eb71ab0a660bb1a3c03f7d57ae2437203037951f06821ce8a417bb
 SHA512 
dc7b9de386b5f87e8315695ef105dea2491d09b98b19029146dd29562fec001bf6b3fd3f30e91bc87bdb55ec87ff213567b5b17a234b0c06c6b7fe93db63d4ae
 DIST simplescreenrecorder-0.3.11.tar.gz 1823944 BLAKE2B 
b7692ad158b4784f0222dd47227b85d33aae7eb416ed87d2eda1040027c910ec8d0ebe6a7e164e77cb9c3f6f2756e15fe97a7f05f45c92465473d2ae90e86b34
 SHA512 
5919774a00cd7015cd7db40561efaea43809b9465508b7770db9eb0fc87f338746e5cd4a79a0ab6c09e516257fa80184c3dcb5ab400c0ef2c0a8cf50ea2a073f
-DIST simplescreenrecorder-0.3.9.tar.gz 1816221 BLAKE2B 
995ac44da0a5e65dcb33a10b353085f6907531b2af84a0b4c5898f1a44d45676a759b94facdf7f6f311444bcb1ea2cbd8dcf143b8c6e0efac4a7eb06484d1096
 SHA512 
36dc30597d1cb07f060dcb667d79074851fec75f369efe349d1a1852110e663f0704fd0ec7d85fd0fc0dac27e478b7422f6e273dfecbb27ddeb6d2228217a3b2

diff --git 
a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.9-cmake.patch 
b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.9-cmake.patch
deleted file mode 100644
index 6d9fc1fa607..000
--- 
a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.9-cmake.patch
+++ /dev/null
@@ -1,106 +0,0 @@
-From 7f8f72ac5f7ba7b060b4366828200050b96a9df0 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner 
-Date: Thu, 11 Jan 2018 21:28:15 +0100
-Subject: [PATCH 1/3] Fix Qt5LinguistTools detection/lrelease binary location
-
-Correctly find the Qt5 module that provides the path to Qt5-based lrelease.
-Only available since >= Qt-5.3.1 which is a low enough minimum dependency.

- src/CMakeLists.txt  | 10 ++
- src/translations/CMakeLists.txt |  7 ++-
- 2 files changed, 12 insertions(+), 5 deletions(-)
-
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 64652c5..5779a49 100644
 a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -17,10 +17,12 @@ if(WITH_JACK)
- endif()
- 
- if(WITH_QT5)
--  find_package(Qt5Core REQUIRED)
--  find_package(Qt5Gui REQUIRED)
--  find_package(Qt5Widgets REQUIRED)
--  find_package(Qt5X11Extras REQUIRED)
-+  set(QT_MIN_VERSION "5.3.1")
-+  find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED
-+  Gui
-+  Widgets
-+  X11Extras
-+  )
- else()
-   find_package(Qt4 REQUIRED QtGui)
- endif()
-diff --git a/src/translations/CMakeLists.txt b/src/translations/CMakeLists.txt
-index 455fdb2..0902cfd 100644
 a/src/translations/CMakeLists.txt
-+++ b/src/translations/CMakeLists.txt
-@@ -1,6 +1,11 @@
- # translations for 'simplescreenrecorder' executable
- 
--find_program(LRELEASE lrelease)
-+if(WITH_QT5)
-+  find_package(Qt5LinguistTools REQUIRED)
-+  set(LRELEASE Qt5::lrelease)
-+else()
-+  find_program(LRELEASE lrelease)
-+endif()
- 
- if(LRELEASE)
- 
--- 
-2.15.1
-
-
-From 24db02e2a689e08f737c4d720e195a3758cba2eb Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner 
-Date: Thu, 11 Jan 2018 21:43:08 +0100
-Subject: [PATCH 2/3] Use FeatureSummary
-

- CMakeLists.txt | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index e770251..cb36d7d 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -25,6 +25,7 @@ option(WITH_GLINJECT "Build the 'libssr-glinject' library. 
Required for OpenGL r
- 
- set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
- 
-+include(FeatureSummary)
- include(GNUInstallDirs)
- 
- # try to guess the correct 32-bit library path on 64-bit systems
-@@ -106,3 +107,5 @@ if(WITH_SIMPLESCREENRECORDER)
-   )
- 
- endif()
-+
-+feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
--- 
-2.15.1
-
-
-From 329ec866097de4f011cd1bbde9dad784acbb487f Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner 
-Date: Thu, 11 Jan 2018 22:07:39 +0100
-Subject: [PATCH 3/3] 

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2018-05-22 Thread Lars Wendler
commit: 2cd64df58e8fcb22c01a3b3337cd06c44fefb67f
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue May 22 14:29:52 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue May 22 14:32:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cd64df5

media-video/simplescreenrecorder: Bump to version 0.3.11

Closes: https://bugs.gentoo.org/654170
Package-Manager: Portage-2.3.38, Repoman-2.3.9

 media-video/simplescreenrecorder/Manifest  |   1 +
 .../simplescreenrecorder-0.3.11.ebuild | 103 +
 2 files changed, 104 insertions(+)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index 8f207a23c6f..a9960f48c8a 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1,2 +1,3 @@
 DIST simplescreenrecorder-0.3.10.tar.gz 1823448 BLAKE2B 
5eef2a803be90b357b08ba6a009cd9bfda73bc7c29200de50c32902598b7044aedaa0a39d9eb71ab0a660bb1a3c03f7d57ae2437203037951f06821ce8a417bb
 SHA512 
dc7b9de386b5f87e8315695ef105dea2491d09b98b19029146dd29562fec001bf6b3fd3f30e91bc87bdb55ec87ff213567b5b17a234b0c06c6b7fe93db63d4ae
+DIST simplescreenrecorder-0.3.11.tar.gz 1823944 BLAKE2B 
b7692ad158b4784f0222dd47227b85d33aae7eb416ed87d2eda1040027c910ec8d0ebe6a7e164e77cb9c3f6f2756e15fe97a7f05f45c92465473d2ae90e86b34
 SHA512 
5919774a00cd7015cd7db40561efaea43809b9465508b7770db9eb0fc87f338746e5cd4a79a0ab6c09e516257fa80184c3dcb5ab400c0ef2c0a8cf50ea2a073f
 DIST simplescreenrecorder-0.3.9.tar.gz 1816221 BLAKE2B 
995ac44da0a5e65dcb33a10b353085f6907531b2af84a0b4c5898f1a44d45676a759b94facdf7f6f311444bcb1ea2cbd8dcf143b8c6e0efac4a7eb06484d1096
 SHA512 
36dc30597d1cb07f060dcb667d79074851fec75f369efe349d1a1852110e663f0704fd0ec7d85fd0fc0dac27e478b7422f6e273dfecbb27ddeb6d2228217a3b2

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11.ebuild
new file mode 100644
index 000..da1692bb1d6
--- /dev/null
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-multilib flag-o-matic xdg-utils
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+fi
+
+DESCRIPTION="A Simple Screen Recorder"
+HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
+LICENSE="GPL-3"
+PKGNAME="ssr"
+if [[ ${PV} =  ]] ; then
+   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
+   EGIT_BOOTSTRAP=""
+else
+   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/${PKGNAME}-${PV}"
+fi
+
+SLOT="0"
+IUSE="+asm jack mp3 pulseaudio theora vorbis vpx x264"
+
+RDEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtx11extras:5
+   media-libs/alsa-lib:0=
+   media-libs/mesa[${MULTILIB_USEDEP}]
+   || (
+   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
+   media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?]
+   )
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   x11-libs/libXext
+   x11-libs/libXfixes[${MULTILIB_USEDEP}]
+   virtual/glu[${MULTILIB_USEDEP}]
+   jack? ( virtual/jack )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}
+   dev-qt/linguist-tools:5
+"
+
+pkg_setup() {
+   if [[ ${ABI} == amd64 ]]; then
+   elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
+   elog "When added 32bit GLInject libraries are also included. 
This is"
+   elog "required if you want to use OpenGL recording on 32bit 
applications."
+   elog
+   fi
+
+   if { has_version media-video/ffmpeg[x264] || has_version 
media-video/libav[x264] ; } && has_version media-libs/x264[10bit] ; then
+   ewarn
+   ewarn "media-libs/x264 is currently built with 10bit useflag."
+   ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
+   ewarn "correctly. Please build media-libs/x264 without 10bit if 
you want to "
+   ewarn "record videos with x264."
+   ewarn
+   fi
+
+   # QT requires -fPIC. Compile fails otherwise.
+   # Recently removed from the default compile options upstream
+   # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
+   append-flags -fPIC
+}
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   -DENABLE_32BIT_GLINJECT="$(usex abi_x86_32)"
+   -DENABLE_X86_ASM="$(usex asm)"
+   -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
+   -DWITH_JACK="$(multilib_native_usex jack)"
+   -DWITH_GLINJECT="true"
+   

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2018-03-17 Thread Lars Wendler
commit: 0e95e5384e5415d03060031892898f8bc0ab713f
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Mar 17 21:15:01 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Mar 17 21:16:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e95e538

media-video/simplescreenrecorder: Bump to version 0.3.10

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-video/simplescreenrecorder/Manifest  |   1 +
 .../simplescreenrecorder-0.3.10.ebuild | 103 +
 2 files changed, 104 insertions(+)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index 3c4e8435bb6..0189d5dffbe 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1,2 +1,3 @@
+DIST simplescreenrecorder-0.3.10.tar.gz 1823448 BLAKE2B 
5eef2a803be90b357b08ba6a009cd9bfda73bc7c29200de50c32902598b7044aedaa0a39d9eb71ab0a660bb1a3c03f7d57ae2437203037951f06821ce8a417bb
 SHA512 
dc7b9de386b5f87e8315695ef105dea2491d09b98b19029146dd29562fec001bf6b3fd3f30e91bc87bdb55ec87ff213567b5b17a234b0c06c6b7fe93db63d4ae
 DIST simplescreenrecorder-0.3.8.tar.gz 2037017 BLAKE2B 
891d4ab5e02a0a47452dfdd0c936819a46ea558221edb5699dd95682561153f7db9f4a301414145e8582f944490ce6d4f722b71e197fc5fa54008c3dbbc25f4c
 SHA512 
f94c7ac7d5f6fdebd1c68da7469b6c46a21b399e2ad8744c52d3e9959d2ec74d15e6ac061d7fe41f02ebb9ee9a89fbd8feecf4e0a10110975f3857a7fbb66365
 DIST simplescreenrecorder-0.3.9.tar.gz 1816221 BLAKE2B 
995ac44da0a5e65dcb33a10b353085f6907531b2af84a0b4c5898f1a44d45676a759b94facdf7f6f311444bcb1ea2cbd8dcf143b8c6e0efac4a7eb06484d1096
 SHA512 
36dc30597d1cb07f060dcb667d79074851fec75f369efe349d1a1852110e663f0704fd0ec7d85fd0fc0dac27e478b7422f6e273dfecbb27ddeb6d2228217a3b2

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.10.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.10.ebuild
new file mode 100644
index 000..da1692bb1d6
--- /dev/null
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.10.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-multilib flag-o-matic xdg-utils
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+fi
+
+DESCRIPTION="A Simple Screen Recorder"
+HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
+LICENSE="GPL-3"
+PKGNAME="ssr"
+if [[ ${PV} =  ]] ; then
+   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
+   EGIT_BOOTSTRAP=""
+else
+   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/${PKGNAME}-${PV}"
+fi
+
+SLOT="0"
+IUSE="+asm jack mp3 pulseaudio theora vorbis vpx x264"
+
+RDEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtx11extras:5
+   media-libs/alsa-lib:0=
+   media-libs/mesa[${MULTILIB_USEDEP}]
+   || (
+   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
+   media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?]
+   )
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   x11-libs/libXext
+   x11-libs/libXfixes[${MULTILIB_USEDEP}]
+   virtual/glu[${MULTILIB_USEDEP}]
+   jack? ( virtual/jack )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}
+   dev-qt/linguist-tools:5
+"
+
+pkg_setup() {
+   if [[ ${ABI} == amd64 ]]; then
+   elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
+   elog "When added 32bit GLInject libraries are also included. 
This is"
+   elog "required if you want to use OpenGL recording on 32bit 
applications."
+   elog
+   fi
+
+   if { has_version media-video/ffmpeg[x264] || has_version 
media-video/libav[x264] ; } && has_version media-libs/x264[10bit] ; then
+   ewarn
+   ewarn "media-libs/x264 is currently built with 10bit useflag."
+   ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
+   ewarn "correctly. Please build media-libs/x264 without 10bit if 
you want to "
+   ewarn "record videos with x264."
+   ewarn
+   fi
+
+   # QT requires -fPIC. Compile fails otherwise.
+   # Recently removed from the default compile options upstream
+   # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
+   append-flags -fPIC
+}
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   -DENABLE_32BIT_GLINJECT="$(usex abi_x86_32)"
+   -DENABLE_X86_ASM="$(usex asm)"
+   -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
+   -DWITH_JACK="$(multilib_native_usex jack)"
+   -DWITH_GLINJECT="true"
+   )
+
+   # libav doesn't have 

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/, media-video/simplescreenrecorder/files/

2018-03-17 Thread Lars Wendler
commit: c3ee1cfce7b3a91e57d5a04229fc917e595f3bd0
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Mar 17 21:15:59 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Mar 17 21:16:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3ee1cfc

media-video/simplescreenrecorder: Removed old.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-video/simplescreenrecorder/Manifest  |   1 -
 .../simplescreenrecorder-0.3.8-qtbindir.patch  |  11 ---
 .../simplescreenrecorder-0.3.8.ebuild  | 101 -
 3 files changed, 113 deletions(-)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index 0189d5dffbe..8f207a23c6f 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1,3 +1,2 @@
 DIST simplescreenrecorder-0.3.10.tar.gz 1823448 BLAKE2B 
5eef2a803be90b357b08ba6a009cd9bfda73bc7c29200de50c32902598b7044aedaa0a39d9eb71ab0a660bb1a3c03f7d57ae2437203037951f06821ce8a417bb
 SHA512 
dc7b9de386b5f87e8315695ef105dea2491d09b98b19029146dd29562fec001bf6b3fd3f30e91bc87bdb55ec87ff213567b5b17a234b0c06c6b7fe93db63d4ae
-DIST simplescreenrecorder-0.3.8.tar.gz 2037017 BLAKE2B 
891d4ab5e02a0a47452dfdd0c936819a46ea558221edb5699dd95682561153f7db9f4a301414145e8582f944490ce6d4f722b71e197fc5fa54008c3dbbc25f4c
 SHA512 
f94c7ac7d5f6fdebd1c68da7469b6c46a21b399e2ad8744c52d3e9959d2ec74d15e6ac061d7fe41f02ebb9ee9a89fbd8feecf4e0a10110975f3857a7fbb66365
 DIST simplescreenrecorder-0.3.9.tar.gz 1816221 BLAKE2B 
995ac44da0a5e65dcb33a10b353085f6907531b2af84a0b4c5898f1a44d45676a759b94facdf7f6f311444bcb1ea2cbd8dcf143b8c6e0efac4a7eb06484d1096
 SHA512 
36dc30597d1cb07f060dcb667d79074851fec75f369efe349d1a1852110e663f0704fd0ec7d85fd0fc0dac27e478b7422f6e273dfecbb27ddeb6d2228217a3b2

diff --git 
a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.8-qtbindir.patch
 
b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.8-qtbindir.patch
deleted file mode 100644
index 6e1cc7d5cc4..000
--- 
a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.8-qtbindir.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/configure.ac 2016-11-07 01:21:01.0 +0100
-+++ b/configure.ac 2017-12-04 19:49:32.993241964 +0100
-@@ -56,7 +56,7 @@
-   AM_COND_IF([WITH_QT5], [
-   PKG_CHECK_MODULES([QT5], [Qt5Core >= 5.1.0 Qt5Gui Qt5Widgets 
Qt5X11Extras], [
-   QT_PATH1="$( eval $PKG_CONFIG --variable=libdir Qt5Core 
)/qt5/bin"
--  QT_PATH2="$( eval $PKG_CONFIG --variable=exec_prefix 
Qt5Core )/bin"
-+  QT_PATH2="$( eval $PKG_CONFIG --variable=host_bins 
Qt5Core )/bin"
-   AC_PATH_PROGS([MOC], [moc-qt5 moc], [moc], 
[$QT_PATH1:$QT_PATH2])
-   AC_PATH_PROGS([RCC], [rcc-qt5 rcc], [rcc], 
[$QT_PATH1:$QT_PATH2])
-   AC_PATH_PROGS([UIC], [uic-qt5 uic], [uic], 
[$QT_PATH1:$QT_PATH2])

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild
deleted file mode 100644
index af9ce70e97a..000
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic multilib-minimal
-
-if [[ ${PV} =  ]]; then
-   inherit git-r3
-fi
-
-DESCRIPTION="A Simple Screen Recorder"
-HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
-LICENSE="GPL-3"
-PKGNAME="ssr"
-if [[ ${PV} =  ]] ; then
-   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
-   EGIT_BOOTSTRAP=""
-else
-   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-   S="${WORKDIR}/${PKGNAME}-${PV}"
-fi
-
-SLOT="0"
-IUSE="+asm debug jack mp3 pulseaudio theora vorbis vpx x264"
-
-RDEPEND="
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtwidgets:5
-   dev-qt/qtx11extras:5
-   media-libs/alsa-lib:0=
-   media-libs/mesa[${MULTILIB_USEDEP}]
-   || (
-   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
-   media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?]
-   )
-   x11-libs/libX11[${MULTILIB_USEDEP}]
-   x11-libs/libXext
-   x11-libs/libXfixes[${MULTILIB_USEDEP}]
-   virtual/glu[${MULTILIB_USEDEP}]
-   jack? ( virtual/jack )
-   pulseaudio? ( media-sound/pulseaudio )
-"
-DEPEND="${RDEPEND}
-   dev-qt/linguist-tools:5
-"
-
-PATCHES=( "${FILESDIR}/${P}-qtbindir.patch" )
-
-pkg_setup() {
-   if [[ ${ABI} == amd64 ]]; then
-   elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
-   elog "When added 32bit GLInject libraries are also included. 

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/, media-video/simplescreenrecorder/files/

2018-01-11 Thread Andreas Sturmlechner
commit: 90ec095ddc2b7eeb6a45ad67082cf895ff7b852c
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Jan 11 21:52:16 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Jan 11 21:54:13 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90ec095d

media-video/simplescreenrecorder: Fix Qt5LinguistTools detection

See also: https://github.com/MaartenBaert/ssr/pull/614

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../files/simplescreenrecorder-0.3.9-cmake.patch   | 106 +
 .../simplescreenrecorder-0.3.9-r1.ebuild   |   1 +
 2 files changed, 107 insertions(+)

diff --git 
a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.9-cmake.patch 
b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.9-cmake.patch
new file mode 100644
index 000..6d9fc1fa607
--- /dev/null
+++ 
b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.9-cmake.patch
@@ -0,0 +1,106 @@
+From 7f8f72ac5f7ba7b060b4366828200050b96a9df0 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner 
+Date: Thu, 11 Jan 2018 21:28:15 +0100
+Subject: [PATCH 1/3] Fix Qt5LinguistTools detection/lrelease binary location
+
+Correctly find the Qt5 module that provides the path to Qt5-based lrelease.
+Only available since >= Qt-5.3.1 which is a low enough minimum dependency.
+---
+ src/CMakeLists.txt  | 10 ++
+ src/translations/CMakeLists.txt |  7 ++-
+ 2 files changed, 12 insertions(+), 5 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 64652c5..5779a49 100644
+--- a/src/CMakeLists.txt
 b/src/CMakeLists.txt
+@@ -17,10 +17,12 @@ if(WITH_JACK)
+ endif()
+ 
+ if(WITH_QT5)
+-  find_package(Qt5Core REQUIRED)
+-  find_package(Qt5Gui REQUIRED)
+-  find_package(Qt5Widgets REQUIRED)
+-  find_package(Qt5X11Extras REQUIRED)
++  set(QT_MIN_VERSION "5.3.1")
++  find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED
++  Gui
++  Widgets
++  X11Extras
++  )
+ else()
+   find_package(Qt4 REQUIRED QtGui)
+ endif()
+diff --git a/src/translations/CMakeLists.txt b/src/translations/CMakeLists.txt
+index 455fdb2..0902cfd 100644
+--- a/src/translations/CMakeLists.txt
 b/src/translations/CMakeLists.txt
+@@ -1,6 +1,11 @@
+ # translations for 'simplescreenrecorder' executable
+ 
+-find_program(LRELEASE lrelease)
++if(WITH_QT5)
++  find_package(Qt5LinguistTools REQUIRED)
++  set(LRELEASE Qt5::lrelease)
++else()
++  find_program(LRELEASE lrelease)
++endif()
+ 
+ if(LRELEASE)
+ 
+-- 
+2.15.1
+
+
+From 24db02e2a689e08f737c4d720e195a3758cba2eb Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner 
+Date: Thu, 11 Jan 2018 21:43:08 +0100
+Subject: [PATCH 2/3] Use FeatureSummary
+
+---
+ CMakeLists.txt | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e770251..cb36d7d 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -25,6 +25,7 @@ option(WITH_GLINJECT "Build the 'libssr-glinject' library. 
Required for OpenGL r
+ 
+ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
+ 
++include(FeatureSummary)
+ include(GNUInstallDirs)
+ 
+ # try to guess the correct 32-bit library path on 64-bit systems
+@@ -106,3 +107,5 @@ if(WITH_SIMPLESCREENRECORDER)
+   )
+ 
+ endif()
++
++feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
+-- 
+2.15.1
+
+
+From 329ec866097de4f011cd1bbde9dad784acbb487f Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner 
+Date: Thu, 11 Jan 2018 22:07:39 +0100
+Subject: [PATCH 3/3] FindFFmpeg.cmake: Provide FFMPEG_FOUND
+
+---
+ cmake/FindFFmpeg.cmake | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/cmake/FindFFmpeg.cmake b/cmake/FindFFmpeg.cmake
+index 117e654..993219b 100644
+--- a/cmake/FindFFmpeg.cmake
 b/cmake/FindFFmpeg.cmake
+@@ -28,3 +28,4 @@ mark_as_advanced(SWSCALE_INCLUDE_DIR SWSCALE_LIBRARY)
+ 
+ set(FFMPEG_INCLUDE_DIRS ${AVFORMAT_INCLUDE_DIR} ${AVCODEC_INCLUDE_DIR} 
${AVUTIL_INCLUDE_DIR} ${SWSCALE_INCLUDE_DIR})
+ set(FFMPEG_LIBRARIES ${AVFORMAT_LIBRARY} ${AVCODEC_LIBRARY} ${AVUTIL_LIBRARY} 
${SWSCALE_LIBRARY})
++set(FFMPEG_FOUND ${PC_FFMPEG_FOUND})
+-- 
+2.15.1
+

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild
index 273c02c9d23..2f317e44e5d 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild
@@ -49,6 +49,7 @@ DEPEND="${RDEPEND}
 
 PATCHES=(
"${FILESDIR}/${P}-pulseaudio_dep.patch"
+   "${FILESDIR}/${P}-cmake.patch"
 )
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2018-01-08 Thread Andreas Sturmlechner
commit: b6712ff52b307d221b1831d02e548db8e44ab6eb
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Jan  8 12:39:56 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Jan  8 12:40:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6712ff5

media-video/simplescreenrecorder: Add missing DEPEND

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 .../simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild | 6 --
 media-video/simplescreenrecorder/simplescreenrecorder-.ebuild | 8 +---
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild
index d1abbf68280..273c02c9d23 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -43,7 +43,9 @@ RDEPEND="
jack? ( virtual/jack )
pulseaudio? ( media-sound/pulseaudio )
 "
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+   dev-qt/linguist-tools:5
+"
 
 PATCHES=(
"${FILESDIR}/${P}-pulseaudio_dep.patch"

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index a732537e48c..da1692bb1d6 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -43,7 +43,9 @@ RDEPEND="
jack? ( virtual/jack )
pulseaudio? ( media-sound/pulseaudio )
 "
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+   dev-qt/linguist-tools:5
+"
 
 pkg_setup() {
if [[ ${ABI} == amd64 ]]; then
@@ -84,7 +86,7 @@ multilib_src_configure() {
fi
 
if multilib_is_native_abi ; then
-   mymakeargs+=( -DWITH_QT5="true" )
+   mycmakeargs+=( -DWITH_QT5="true" )
else
mycmakeargs+=( -DWITH_SIMPLESCREENRECORDER="false" )
fi



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2017-12-20 Thread Lars Wendler
commit: 5d5be64eb3d26614e45abdcdc275faa3a955fd04
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Dec 20 21:38:16 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Dec 20 21:38:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d5be64e

media-video/simplescreenrecorder: Revbump to fix typo in variable name.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 ...screenrecorder-0.3.9.ebuild => simplescreenrecorder-0.3.9-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild
similarity index 98%
rename from media-video/simplescreenrecorder/simplescreenrecorder-0.3.9.ebuild
rename to media-video/simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild
index fb207862f25..d1abbf68280 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9-r1.ebuild
@@ -88,7 +88,7 @@ multilib_src_configure() {
fi
 
if multilib_is_native_abi ; then
-   mymakeargs+=( -DWITH_QT5="true" )
+   mycmakeargs+=( -DWITH_QT5="true" )
else
mycmakeargs+=( -DWITH_SIMPLESCREENRECORDER="false" )
fi



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/, media-video/simplescreenrecorder/files/

2017-12-20 Thread Lars Wendler
commit: bbc76693121c7af2fe5d9e6720843d55027d06a8
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Dec 20 19:44:33 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Dec 20 19:44:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbc76693

media-video/simplescreenrecorder: Fixed pulseaudio check.

Closes: https://bugs.gentoo.org/641680
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../simplescreenrecorder-0.3.9-pulseaudio_dep.patch| 18 ++
 .../simplescreenrecorder-0.3.9.ebuild  |  4 
 2 files changed, 22 insertions(+)

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 000..b5d914e5ef6
--- /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.ebuild
index a732537e48c..fb207862f25 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9.ebuild
@@ -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"



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2017-12-18 Thread Lars Wendler
commit: b76210039400e19baf6bc617e50961e8d0813584
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Dec 19 02:56:05 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Dec 19 03:09:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7621003

media-video/simplescreenrecorder: Synced live ebuild.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../simplescreenrecorder-.ebuild   | 33 ++
 1 file changed, 21 insertions(+), 12 deletions(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index 22b763bb40e..a732537e48c 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit flag-o-matic multilib-minimal
+inherit cmake-multilib flag-o-matic xdg-utils
 
 if [[ ${PV} =  ]]; then
inherit git-r3
@@ -23,7 +23,7 @@ else
 fi
 
 SLOT="0"
-IUSE="+asm debug jack mp3 pulseaudio theora vorbis vpx x264"
+IUSE="+asm jack mp3 pulseaudio theora vorbis vpx x264"
 
 RDEPEND="
dev-qt/qtcore:5
@@ -69,24 +69,33 @@ pkg_setup() {
 }
 
 multilib_src_configure() {
-   local myconf=(
-   $(multilib_native_use_enable debug assert)
-   $(multilib_native_use_with pulseaudio)
-   $(multilib_native_use_with jack)
-   $(use_enable asm x86-asm)
+   local mycmakeargs=(
+   -DENABLE_32BIT_GLINJECT="$(usex abi_x86_32)"
+   -DENABLE_X86_ASM="$(usex asm)"
+   -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
+   -DWITH_JACK="$(multilib_native_usex jack)"
+   -DWITH_GLINJECT="true"
)
 
# libav doesn't have AVFrame::channels
# https://github.com/MaartenBaert/ssr/issues/195#issuecomment-45646159
-   if has_version media-video/libav; then
-   myconf+=( --disable-ffmpeg-versions )
+   if has_version media-video/libav ; then
+   mycmakeargs+=( -DENABLE_FFMPEG_VERSIONS="false" )
fi
 
if multilib_is_native_abi ; then
-   myconf+=( --with-qt5 )
+   mymakeargs+=( -DWITH_QT5="true" )
else
-   myconf+=( --disable-ssrprogram )
+   mycmakeargs+=( -DWITH_SIMPLESCREENRECORDER="false" )
fi
 
-   ECONF_SOURCE="${S}" econf "${myconf[@]}"
+   cmake-utils_src_configure
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
 }



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2017-12-18 Thread Lars Wendler
commit: ff87adcf19894234f92f1ee847c42d7f67aa7200
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Dec 19 02:45:15 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Dec 19 03:09:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff87adcf

media-video/simplescreenrecorder: Bump to version 0.3.9

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-video/simplescreenrecorder/Manifest  |   1 +
 .../simplescreenrecorder-0.3.9.ebuild  | 101 +
 2 files changed, 102 insertions(+)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index 422b347493b..3c4e8435bb6 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1 +1,2 @@
 DIST simplescreenrecorder-0.3.8.tar.gz 2037017 BLAKE2B 
891d4ab5e02a0a47452dfdd0c936819a46ea558221edb5699dd95682561153f7db9f4a301414145e8582f944490ce6d4f722b71e197fc5fa54008c3dbbc25f4c
 SHA512 
f94c7ac7d5f6fdebd1c68da7469b6c46a21b399e2ad8744c52d3e9959d2ec74d15e6ac061d7fe41f02ebb9ee9a89fbd8feecf4e0a10110975f3857a7fbb66365
+DIST simplescreenrecorder-0.3.9.tar.gz 1816221 BLAKE2B 
995ac44da0a5e65dcb33a10b353085f6907531b2af84a0b4c5898f1a44d45676a759b94facdf7f6f311444bcb1ea2cbd8dcf143b8c6e0efac4a7eb06484d1096
 SHA512 
36dc30597d1cb07f060dcb667d79074851fec75f369efe349d1a1852110e663f0704fd0ec7d85fd0fc0dac27e478b7422f6e273dfecbb27ddeb6d2228217a3b2

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9.ebuild
new file mode 100644
index 000..a732537e48c
--- /dev/null
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.9.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-multilib flag-o-matic xdg-utils
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+fi
+
+DESCRIPTION="A Simple Screen Recorder"
+HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
+LICENSE="GPL-3"
+PKGNAME="ssr"
+if [[ ${PV} =  ]] ; then
+   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
+   EGIT_BOOTSTRAP=""
+else
+   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/${PKGNAME}-${PV}"
+fi
+
+SLOT="0"
+IUSE="+asm jack mp3 pulseaudio theora vorbis vpx x264"
+
+RDEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtx11extras:5
+   media-libs/alsa-lib:0=
+   media-libs/mesa[${MULTILIB_USEDEP}]
+   || (
+   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
+   media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?]
+   )
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   x11-libs/libXext
+   x11-libs/libXfixes[${MULTILIB_USEDEP}]
+   virtual/glu[${MULTILIB_USEDEP}]
+   jack? ( virtual/jack )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+   if [[ ${ABI} == amd64 ]]; then
+   elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
+   elog "When added 32bit GLInject libraries are also included. 
This is"
+   elog "required if you want to use OpenGL recording on 32bit 
applications."
+   elog
+   fi
+
+   if { has_version media-video/ffmpeg[x264] || has_version 
media-video/libav[x264] ; } && has_version media-libs/x264[10bit] ; then
+   ewarn
+   ewarn "media-libs/x264 is currently built with 10bit useflag."
+   ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
+   ewarn "correctly. Please build media-libs/x264 without 10bit if 
you want to "
+   ewarn "record videos with x264."
+   ewarn
+   fi
+
+   # QT requires -fPIC. Compile fails otherwise.
+   # Recently removed from the default compile options upstream
+   # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
+   append-flags -fPIC
+}
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   -DENABLE_32BIT_GLINJECT="$(usex abi_x86_32)"
+   -DENABLE_X86_ASM="$(usex asm)"
+   -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
+   -DWITH_JACK="$(multilib_native_usex jack)"
+   -DWITH_GLINJECT="true"
+   )
+
+   # libav doesn't have AVFrame::channels
+   # https://github.com/MaartenBaert/ssr/issues/195#issuecomment-45646159
+   if has_version media-video/libav ; then
+   mycmakeargs+=( -DENABLE_FFMPEG_VERSIONS="false" )
+   fi
+
+   if multilib_is_native_abi ; then
+   mymakeargs+=( -DWITH_QT5="true" )
+   else
+   mycmakeargs+=( 

[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/files/, media-video/simplescreenrecorder/

2017-12-04 Thread Andreas Sturmlechner
commit: a86372ee4a376b78b779b655d7f1ac80c6a8b69e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Dec  4 19:08:19 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Dec  4 21:52:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a86372ee

media-video/simplescreenrecorder: Fix qtbindir, add missing DEPEND

Closes: https://bugs.gentoo.org/624480
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 media-video/simplescreenrecorder/Manifest   |  2 +-
 .../files/simplescreenrecorder-0.3.8-qtbindir.patch | 11 +++
 .../simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild  | 13 +++--
 3 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
index 1e2b7042555..422b347493b 100644
--- a/media-video/simplescreenrecorder/Manifest
+++ b/media-video/simplescreenrecorder/Manifest
@@ -1 +1 @@
-DIST simplescreenrecorder-0.3.8.tar.gz 2037017 SHA256 
ef05f1b4c36e1d82a4e96f59c5f29aaae986ad6711ccc311d0e21c8e6c191c6d SHA512 
f94c7ac7d5f6fdebd1c68da7469b6c46a21b399e2ad8744c52d3e9959d2ec74d15e6ac061d7fe41f02ebb9ee9a89fbd8feecf4e0a10110975f3857a7fbb66365
 WHIRLPOOL 
23a811f5af9921bfdaf8d5546b9497e4a46d923d6eeb38d572b4d243ca55e75f0528df4b31936f23684e9a3cd54f47c1289682d196a04d97927501e19362013b
+DIST simplescreenrecorder-0.3.8.tar.gz 2037017 BLAKE2B 
891d4ab5e02a0a47452dfdd0c936819a46ea558221edb5699dd95682561153f7db9f4a301414145e8582f944490ce6d4f722b71e197fc5fa54008c3dbbc25f4c
 SHA512 
f94c7ac7d5f6fdebd1c68da7469b6c46a21b399e2ad8744c52d3e9959d2ec74d15e6ac061d7fe41f02ebb9ee9a89fbd8feecf4e0a10110975f3857a7fbb66365

diff --git 
a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.8-qtbindir.patch
 
b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.8-qtbindir.patch
new file mode 100644
index 000..6e1cc7d5cc4
--- /dev/null
+++ 
b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.8-qtbindir.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac 2016-11-07 01:21:01.0 +0100
 b/configure.ac 2017-12-04 19:49:32.993241964 +0100
+@@ -56,7 +56,7 @@
+   AM_COND_IF([WITH_QT5], [
+   PKG_CHECK_MODULES([QT5], [Qt5Core >= 5.1.0 Qt5Gui Qt5Widgets 
Qt5X11Extras], [
+   QT_PATH1="$( eval $PKG_CONFIG --variable=libdir Qt5Core 
)/qt5/bin"
+-  QT_PATH2="$( eval $PKG_CONFIG --variable=exec_prefix 
Qt5Core )/bin"
++  QT_PATH2="$( eval $PKG_CONFIG --variable=host_bins 
Qt5Core )/bin"
+   AC_PATH_PROGS([MOC], [moc-qt5 moc], [moc], 
[$QT_PATH1:$QT_PATH2])
+   AC_PATH_PROGS([RCC], [rcc-qt5 rcc], [rcc], 
[$QT_PATH1:$QT_PATH2])
+   AC_PATH_PROGS([UIC], [uic-qt5 uic], [uic], 
[$QT_PATH1:$QT_PATH2])

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild
index 22b763bb40e..af9ce70e97a 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit flag-o-matic multilib-minimal
+inherit autotools flag-o-matic multilib-minimal
 
 if [[ ${PV} =  ]]; then
inherit git-r3
@@ -43,7 +43,11 @@ RDEPEND="
jack? ( virtual/jack )
pulseaudio? ( media-sound/pulseaudio )
 "
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+   dev-qt/linguist-tools:5
+"
+
+PATCHES=( "${FILESDIR}/${P}-qtbindir.patch" )
 
 pkg_setup() {
if [[ ${ABI} == amd64 ]]; then
@@ -68,6 +72,11 @@ pkg_setup() {
append-flags -fPIC
 }
 
+src_prepare() {
+   default
+   eautoreconf
+}
+
 multilib_src_configure() {
local myconf=(
$(multilib_native_use_enable debug assert)



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2017-07-30 Thread Michał Górny
commit: a39afbab161709dcac46a570040b175d83fb9f4a
Author: David Hicks  hicks  id  au>
AuthorDate: Sat Jul 29 17:29:13 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 30 09:44:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a39afbab

media-video/simplescreenrecorder: use HTTPS for GitHub and HOMEPAGE

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild | 5 ++---
 media-video/simplescreenrecorder/simplescreenrecorder-.ebuild  | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild
index a98a42f259f..22b763bb40e 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild
@@ -10,12 +10,11 @@ if [[ ${PV} =  ]]; then
 fi
 
 DESCRIPTION="A Simple Screen Recorder"
-HOMEPAGE="http://www.maartenbaert.be/simplescreenrecorder;
+HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
 LICENSE="GPL-3"
 PKGNAME="ssr"
 if [[ ${PV} =  ]] ; then
-   EGIT_REPO_URI="git://github.com/MaartenBaert/${PKGNAME}.git
-   https://github.com/MaartenBaert/${PKGNAME}.git;
+   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
EGIT_BOOTSTRAP=""
 else

SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
index a98a42f259f..22b763bb40e 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-.ebuild
@@ -10,12 +10,11 @@ if [[ ${PV} =  ]]; then
 fi
 
 DESCRIPTION="A Simple Screen Recorder"
-HOMEPAGE="http://www.maartenbaert.be/simplescreenrecorder;
+HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder;
 LICENSE="GPL-3"
 PKGNAME="ssr"
 if [[ ${PV} =  ]] ; then
-   EGIT_REPO_URI="git://github.com/MaartenBaert/${PKGNAME}.git
-   https://github.com/MaartenBaert/${PKGNAME}.git;
+   EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git;
EGIT_BOOTSTRAP=""
 else

SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/

2017-05-19 Thread Lars Wendler
commit: f5e5a17497fbc83bfaa21fd95a7cb8caccaeb253
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri May 19 14:04:21 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri May 19 14:07:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e5a174

media-video/simplescreenrecorder: Initial commit (bug #516082).

Thanks to Anders Larsson for providing the basic ebuild.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 media-video/simplescreenrecorder/Manifest  |  1 +
 media-video/simplescreenrecorder/metadata.xml  | 15 
 .../simplescreenrecorder-0.3.8.ebuild  | 93 ++
 .../simplescreenrecorder-.ebuild   | 93 ++
 4 files changed, 202 insertions(+)

diff --git a/media-video/simplescreenrecorder/Manifest 
b/media-video/simplescreenrecorder/Manifest
new file mode 100644
index 000..1e2b7042555
--- /dev/null
+++ b/media-video/simplescreenrecorder/Manifest
@@ -0,0 +1 @@
+DIST simplescreenrecorder-0.3.8.tar.gz 2037017 SHA256 
ef05f1b4c36e1d82a4e96f59c5f29aaae986ad6711ccc311d0e21c8e6c191c6d SHA512 
f94c7ac7d5f6fdebd1c68da7469b6c46a21b399e2ad8744c52d3e9959d2ec74d15e6ac061d7fe41f02ebb9ee9a89fbd8feecf4e0a10110975f3857a7fbb66365
 WHIRLPOOL 
23a811f5af9921bfdaf8d5546b9497e4a46d923d6eeb38d572b4d243ca55e75f0528df4b31936f23684e9a3cd54f47c1289682d196a04d97927501e19362013b

diff --git a/media-video/simplescreenrecorder/metadata.xml 
b/media-video/simplescreenrecorder/metadata.xml
new file mode 100644
index 000..9778ada8fb0
--- /dev/null
+++ b/media-video/simplescreenrecorder/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+polynomia...@gentoo.org
+Lars Wendler
+  
+  
+Enable x86 assembly optimisation.
+Enable VP8 codec support via 
media-libs/libvpx.
+  
+  
+MaartenBaert/ssr
+  
+

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild
new file mode 100644
index 000..a98a42f259f
--- /dev/null
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic multilib-minimal
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+fi
+
+DESCRIPTION="A Simple Screen Recorder"
+HOMEPAGE="http://www.maartenbaert.be/simplescreenrecorder;
+LICENSE="GPL-3"
+PKGNAME="ssr"
+if [[ ${PV} =  ]] ; then
+   EGIT_REPO_URI="git://github.com/MaartenBaert/${PKGNAME}.git
+   https://github.com/MaartenBaert/${PKGNAME}.git;
+   EGIT_BOOTSTRAP=""
+else
+   
SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/${PKGNAME}-${PV}"
+fi
+
+SLOT="0"
+IUSE="+asm debug jack mp3 pulseaudio theora vorbis vpx x264"
+
+RDEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtx11extras:5
+   media-libs/alsa-lib:0=
+   media-libs/mesa[${MULTILIB_USEDEP}]
+   || (
+   media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?]
+   media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?]
+   )
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   x11-libs/libXext
+   x11-libs/libXfixes[${MULTILIB_USEDEP}]
+   virtual/glu[${MULTILIB_USEDEP}]
+   jack? ( virtual/jack )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+   if [[ ${ABI} == amd64 ]]; then
+   elog "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
+   elog "When added 32bit GLInject libraries are also included. 
This is"
+   elog "required if you want to use OpenGL recording on 32bit 
applications."
+   elog
+   fi
+
+   if { has_version media-video/ffmpeg[x264] || has_version 
media-video/libav[x264] ; } && has_version media-libs/x264[10bit] ; then
+   ewarn
+   ewarn "media-libs/x264 is currently built with 10bit useflag."
+   ewarn "This is known to prevent simplescreenrecorder from 
recording x264 videos"
+   ewarn "correctly. Please build media-libs/x264 without 10bit if 
you want to "
+   ewarn "record videos with x264."
+   ewarn
+   fi
+
+   # QT requires -fPIC. Compile fails otherwise.
+   # Recently removed from the default compile options upstream
+   # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
+   append-flags -fPIC
+}
+
+multilib_src_configure() {
+   local myconf=(
+   $(multilib_native_use_enable debug assert)
+   $(multilib_native_use_with pulseaudio)
+   $(multilib_native_use_with jack)
+   $(use_enable asm x86-asm)
+   )
+
+