From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 81297138AE9 for ; Tue, 19 Dec 2017 03:09:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6781FE1137; Tue, 19 Dec 2017 03:09:49 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A383E1137 for ; Tue, 19 Dec 2017 03:09:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0AD1F33BF55 for ; Tue, 19 Dec 2017 03:09:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07639AE90 for ; Tue, 19 Dec 2017 03:09:45 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1513652980.b76210039400e19baf6bc617e50961e8d0813584.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild X-VCS-Directories: media-video/simplescreenrecorder/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: b76210039400e19baf6bc617e50961e8d0813584 X-VCS-Branch: master Date: Tue, 19 Dec 2017 03:09:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 912a13ab-660c-45b3-a984-5602bd55c150 X-Archives-Hash: d67991891f1d7f4454491a5bef421717 commit: b76210039400e19baf6bc617e50961e8d0813584 Author: Lars Wendler gentoo org> AuthorDate: Tue Dec 19 02:56:05 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Dec 19 03:09:40 2017 +0000 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-9999.ebuild | 33 ++++++++++++++-------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild index 22b763bb40e..a732537e48c 100644 --- a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild +++ b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit flag-o-matic multilib-minimal +inherit cmake-multilib flag-o-matic xdg-utils if [[ ${PV} = 9999 ]]; 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 }