diff options
Diffstat (limited to 'media-video/simplescreenrecorder')
-rw-r--r-- | media-video/simplescreenrecorder/Manifest | 4 | ||||
-rw-r--r-- | media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild (renamed from media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r1.ebuild) | 40 | ||||
-rw-r--r-- | media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild | 40 |
3 files changed, 58 insertions, 26 deletions
diff --git a/media-video/simplescreenrecorder/Manifest b/media-video/simplescreenrecorder/Manifest index c15ffe15bdf1..164186aa6191 100644 --- a/media-video/simplescreenrecorder/Manifest +++ b/media-video/simplescreenrecorder/Manifest @@ -1,4 +1,4 @@ DIST simplescreenrecorder-0.3.11.tar.gz 1823944 BLAKE2B b7692ad158b4784f0222dd47227b85d33aae7eb416ed87d2eda1040027c910ec8d0ebe6a7e164e77cb9c3f6f2756e15fe97a7f05f45c92465473d2ae90e86b34 SHA512 5919774a00cd7015cd7db40561efaea43809b9465508b7770db9eb0fc87f338746e5cd4a79a0ab6c09e516257fa80184c3dcb5ab400c0ef2c0a8cf50ea2a073f -EBUILD simplescreenrecorder-0.3.11-r1.ebuild 2889 BLAKE2B c741205598595d625fdf83e9df3cc06032b7e7b440fc84d880402af6bf58e75cb23e3aae45f1bae352b94d2437dfa034294984a4c51273af45975e799828e2dc SHA512 ea236e2ad36e41e0c5ff7344028150f4a18e2561e29c8e9ee668d984657cf997ddf51fdb85e7b06f21df4f0d8a6db2689b1ff62c8f29e6b523286d9c660f9759 -EBUILD simplescreenrecorder-9999.ebuild 2889 BLAKE2B c741205598595d625fdf83e9df3cc06032b7e7b440fc84d880402af6bf58e75cb23e3aae45f1bae352b94d2437dfa034294984a4c51273af45975e799828e2dc SHA512 ea236e2ad36e41e0c5ff7344028150f4a18e2561e29c8e9ee668d984657cf997ddf51fdb85e7b06f21df4f0d8a6db2689b1ff62c8f29e6b523286d9c660f9759 +EBUILD simplescreenrecorder-0.3.11-r2.ebuild 3079 BLAKE2B b7a1704ca440040b31136057a0a7d0684a5bab4417a45f845abc96e633dd323e8a4c858f9a72bd486d3380003554f14878dd35178e3ee488dbfa186ef55c4b78 SHA512 048cdd940936d8a133f617d3b807638b7ddedb7bd01008423d1e40bba159c0a4341c1c5f4f5e5a54bcc3a2a8a65e4fdbb9f6a507ca2587b65939778a0ca0bd3a +EBUILD simplescreenrecorder-9999.ebuild 3079 BLAKE2B b7a1704ca440040b31136057a0a7d0684a5bab4417a45f845abc96e633dd323e8a4c858f9a72bd486d3380003554f14878dd35178e3ee488dbfa186ef55c4b78 SHA512 048cdd940936d8a133f617d3b807638b7ddedb7bd01008423d1e40bba159c0a4341c1c5f4f5e5a54bcc3a2a8a65e4fdbb9f6a507ca2587b65939778a0ca0bd3a MISC metadata.xml 508 BLAKE2B c43c69903c35e9e1f87c94cb26b06a8d6c4dd1a51c8a3409027ab8c867e54851aa8e4bfcaf4a0a37298795ded69743e82d2b0a4e0bb84cb3d88d6a6c5c4a1c0f SHA512 d4879cb7f57f23d273e45b429ab5548d30a0a6eefe63e28c2c60e7cef9a44b295d8455bfedaf9d9294ff4cf16b4f841f0ddb34541c62c25cbf190f7b6c7538ce diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r1.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r2.ebuild index 1cf430a123ec..852caf0a6bac 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} = 9999 ]]; 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 } diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild index 1cf430a123ec..852caf0a6bac 100644 --- a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild +++ b/media-video/simplescreenrecorder/simplescreenrecorder-9999.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} = 9999 ]]; 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 } |