diff options
Diffstat (limited to 'media-video/simplescreenrecorder')
3 files changed, 34 insertions, 4 deletions
diff --git a/media-video/simplescreenrecorder/Manifest b/media-video/simplescreenrecorder/Manifest index c97bf7d48f96..c99b6f47852e 100644 --- a/media-video/simplescreenrecorder/Manifest +++ b/media-video/simplescreenrecorder/Manifest @@ -1,4 +1,5 @@ +AUX simplescreenrecorder-0.4.2-cmake.patch 968 BLAKE2B d5d750a4ce9520b6c48f6661865d6c18a253d4af00839d42954f690a690d7a3eeadab48c09d5fcc3b391f68cfac31d75606d7e3cc4dad01144804ed7a28c7296 SHA512 6c91ad4faaa9afa3077d6ac12d9e1015ba858a8b2d629d4a1fb9f2a2dd871c2c8126364b10af3cda79fee9c9929b5eb34d98fb674d01f0fb4beed504a4efb646 DIST simplescreenrecorder-0.4.2.tar.gz 1912151 BLAKE2B d8a4605a82e49693f94ecfac8853405a660a4528c3001961b1734d4387e49eeb4c91603929b3cd5d5b67a23a6ec839ace606b29666b916960f10322e6ec1b452 SHA512 60b0127d7f82f294e5a8f015363e37a10b5492089a0178b07a5e383c7e4b857102ed2bda7a95e3c67293a255f892481aeaf4037c583320d68d463637348ed7f7 -EBUILD simplescreenrecorder-0.4.2.ebuild 2666 BLAKE2B c186fd39471080abef980ced16a9e56bd91edcc86f40300dfca6ba420d5e06ea2b2a5839c27398b2898fdb2cf9ea5a624997fa7158b96e581c46b38cd88782cb SHA512 27cf19b3f1adceaf8c17e7b2bc0dd500b95c948e35115fef081f7ed3cbea5e2e8550bdb92175680268364d30cd95c13f43a7b1a3f01da394a73ab49344450041 +EBUILD simplescreenrecorder-0.4.2.ebuild 2718 BLAKE2B 0712b8298b4ec6cc393851712346083b44cb42781a23ec3cb74beab38d6022e83569103f142807614b625aac19ca8b1f42f953d0fc71434b11c959dfe0eceec9 SHA512 5cb59f76a0625debac06d75ed0c0901c9b0c2202ee72f0a181db0445cd67fcd66473c0042fb8471c4259821520351d63fcd926fa51396b59d5bb7f77b42f9625 EBUILD simplescreenrecorder-9999.ebuild 2666 BLAKE2B c186fd39471080abef980ced16a9e56bd91edcc86f40300dfca6ba420d5e06ea2b2a5839c27398b2898fdb2cf9ea5a624997fa7158b96e581c46b38cd88782cb SHA512 27cf19b3f1adceaf8c17e7b2bc0dd500b95c948e35115fef081f7ed3cbea5e2e8550bdb92175680268364d30cd95c13f43a7b1a3f01da394a73ab49344450041 MISC metadata.xml 508 BLAKE2B c43c69903c35e9e1f87c94cb26b06a8d6c4dd1a51c8a3409027ab8c867e54851aa8e4bfcaf4a0a37298795ded69743e82d2b0a4e0bb84cb3d88d6a6c5c4a1c0f SHA512 d4879cb7f57f23d273e45b429ab5548d30a0a6eefe63e28c2c60e7cef9a44b295d8455bfedaf9d9294ff4cf16b4f841f0ddb34541c62c25cbf190f7b6c7538ce 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 000000000000..9f8bc408331e --- /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 <andreas.sturmlechner@gmail.com> +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 9fb007c901bd..0a27ef778b0a 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 |