summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-12-04 20:08:19 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-12-04 22:52:17 +0100
commita86372ee4a376b78b779b655d7f1ac80c6a8b69e (patch)
tree57e5c313ed6b0bf616460399cf355d65f97bab4a /media-video
parentmedia-sound/sonic-visualiser Fix QA issue deprecated fdo-mime inherit (diff)
downloadgentoo-a86372ee4a376b78b779b655d7f1ac80c6a8b69e.tar.gz
gentoo-a86372ee4a376b78b779b655d7f1ac80c6a8b69e.tar.bz2
gentoo-a86372ee4a376b78b779b655d7f1ac80c6a8b69e.zip
media-video/simplescreenrecorder: Fix qtbindir, add missing DEPEND
Closes: https://bugs.gentoo.org/624480 Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'media-video')
-rw-r--r--media-video/simplescreenrecorder/Manifest2
-rw-r--r--media-video/simplescreenrecorder/files/simplescreenrecorder-0.3.8-qtbindir.patch11
-rw-r--r--media-video/simplescreenrecorder/simplescreenrecorder-0.3.8.ebuild13
3 files changed, 23 insertions, 3 deletions
diff --git a/media-video/simplescreenrecorder/Manifest b/media-video/simplescreenrecorder/Manifest
index 1e2b7042555f..422b347493be 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 000000000000..6e1cc7d5cc44
--- /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.000000000 +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 22b763bb40ea..af9ce70e97a2 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} = 9999 ]]; 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)