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

Closes: https://bugs.gentoo.org/624480
Package-Manager: Portage-2.3.16, Repoman-2.3.6
This commit is contained in:
Andreas Sturmlechner
2017-12-04 20:08:19 +01:00
parent 1c132c7d10
commit a86372ee4a
3 changed files with 23 additions and 3 deletions

View File

@@ -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

View File

@@ -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])

View File

@@ -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)