diff options
author | markd <markd@pkgsrc.org> | 2019-08-27 23:02:18 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2019-08-27 23:02:18 +0000 |
commit | 81c6caf57c4cf4a2affaf1cfe74d420cb9c6d4f6 (patch) | |
tree | 243c3b9bf30f45043add8f26d67e62678eebc64e | |
parent | acc59a12360bdd31b2e4123daf550b59c741700f (diff) | |
download | pkgsrc-81c6caf57c4cf4a2affaf1cfe74d420cb9c6d4f6.tar.gz |
ssr: update to 0.3.11
Version 0.3.11
--------------
- Fixed FFmpeg 4.0 compatibility.
- Fixed AAC codec (missing channel layout).
- Improved build system.
- Minor bugfixes.
Version 0.3.10
--------------
- Custom recording frame to replace QRubberBand (important for Qt5).
- Improved build system.
Version 0.3.9
-------------
- Switch to CMake build system.
- Add RGB24 support.
- Automatically add scroll bars when the screen resolution is too low to
display the complete window.
- Improve PulseAudio latency handling of monitors.
- Add a separate checkbox to enable timestamps.
- Provide a default file name, so now all options are set to a sensible
default value.
- Use base-10 units for bitrate for consistency with FFmpeg
(1 kbit/s = 1000 bit/s).
- Minor bugfixes.
Version 0.3.8
-------------
- Revert sample rate to 44.1 kHz for FLV container, since it does not support
48 kHz.
Version 0.3.7
-------------
- Added support for latest FFmpeg/libav.
- Make relaxed GLInject permissions actually work.
- The backend now supports fragmented recording, but there is no GUI for
this yet.
- The default audio sample rate is now 48 kHz. This makes SSR compatible
with Opus.
- System tray icon now indicates errors during recording.
-rw-r--r-- | multimedia/ssr/Makefile | 15 | ||||
-rw-r--r-- | multimedia/ssr/PLIST | 29 | ||||
-rw-r--r-- | multimedia/ssr/distinfo | 13 | ||||
-rw-r--r-- | multimedia/ssr/patches/patch-configure | 15 | ||||
-rw-r--r-- | multimedia/ssr/patches/patch-glinject_Hook.cpp | 17 | ||||
-rw-r--r-- | multimedia/ssr/patches/patch-src_Benchmark.cpp | 12 |
6 files changed, 40 insertions, 61 deletions
diff --git a/multimedia/ssr/Makefile b/multimedia/ssr/Makefile index 24e26c44edd..d02bf26b0d6 100644 --- a/multimedia/ssr/Makefile +++ b/multimedia/ssr/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.13 2018/07/06 15:06:48 ryoon Exp $ +# $NetBSD: Makefile,v 1.14 2019/08/27 23:02:18 markd Exp $ # -DISTNAME= ssr-0.3.6 -PKGREVISION= 11 +DISTNAME= ssr-0.3.11 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_GITHUB:=MaartenBaert/} @@ -11,7 +10,7 @@ HOMEPAGE= http://www.maartenbaert.be/simplescreenrecorder/ COMMENT= Screen recorder for Linux LICENSE= gnu-gpl-v3 -GNU_CONFIGURE= yes +USE_CMAKE= yes USE_TOOLS+= pkg-config gmake bash:run USE_LANGUAGES= c c++ @@ -20,14 +19,16 @@ REPLACE_BASH= scripts/ssr-glinject CFLAGS.NetBSD+= -DBSD CFLAGS.SunOS+= -DBSD +CMAKE_ARGS+= -DWITH_QT5=on + .include "../../mk/dlopen.buildlink3.mk" BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q} .include "../../audio/alsa-lib/buildlink3.mk" .include "../../audio/jack/buildlink3.mk" .include "../../audio/pulseaudio/buildlink3.mk" -.include "../../multimedia/ffmpeg2/buildlink3.mk" +.include "../../multimedia/ffmpeg4/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" -.include "../../x11/qt4-libs/buildlink3.mk" -.include "../../x11/qt4-tools/buildlink3.mk" +.include "../../x11/qt5-qtbase/buildlink3.mk" +.include "../../x11/qt5-qtx11extras/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/multimedia/ssr/PLIST b/multimedia/ssr/PLIST index b3d42bbf84c..f98e646603d 100644 --- a/multimedia/ssr/PLIST +++ b/multimedia/ssr/PLIST @@ -1,40 +1,63 @@ -@comment $NetBSD: PLIST,v 1.1 2016/02/08 01:17:53 markd Exp $ +@comment $NetBSD: PLIST,v 1.2 2019/08/27 23:02:18 markd Exp $ bin/simplescreenrecorder bin/ssr-glinject -lib/libssr-glinject.la +lib/libssr-glinject.so man/man1/simplescreenrecorder.1 man/man1/ssr-glinject.1 +share/appdata/simplescreenrecorder.appdata.xml share/applications/simplescreenrecorder.desktop +share/icons/hicolor/128x128/apps/simplescreenrecorder-error.png +share/icons/hicolor/128x128/apps/simplescreenrecorder-idle.png share/icons/hicolor/128x128/apps/simplescreenrecorder-paused.png share/icons/hicolor/128x128/apps/simplescreenrecorder-recording.png share/icons/hicolor/128x128/apps/simplescreenrecorder.png +share/icons/hicolor/16x16/apps/simplescreenrecorder-error.png +share/icons/hicolor/16x16/apps/simplescreenrecorder-idle.png share/icons/hicolor/16x16/apps/simplescreenrecorder-paused.png share/icons/hicolor/16x16/apps/simplescreenrecorder-recording.png share/icons/hicolor/16x16/apps/simplescreenrecorder.png +share/icons/hicolor/192x192/apps/simplescreenrecorder-error.png +share/icons/hicolor/192x192/apps/simplescreenrecorder-idle.png share/icons/hicolor/192x192/apps/simplescreenrecorder-paused.png share/icons/hicolor/192x192/apps/simplescreenrecorder-recording.png share/icons/hicolor/192x192/apps/simplescreenrecorder.png +share/icons/hicolor/22x22/apps/simplescreenrecorder-error.png +share/icons/hicolor/22x22/apps/simplescreenrecorder-idle.png share/icons/hicolor/22x22/apps/simplescreenrecorder-paused.png share/icons/hicolor/22x22/apps/simplescreenrecorder-recording.png share/icons/hicolor/22x22/apps/simplescreenrecorder.png +share/icons/hicolor/24x24/apps/simplescreenrecorder-error.png +share/icons/hicolor/24x24/apps/simplescreenrecorder-idle.png share/icons/hicolor/24x24/apps/simplescreenrecorder-paused.png share/icons/hicolor/24x24/apps/simplescreenrecorder-recording.png share/icons/hicolor/24x24/apps/simplescreenrecorder.png +share/icons/hicolor/256x256/apps/simplescreenrecorder-error.png +share/icons/hicolor/256x256/apps/simplescreenrecorder-idle.png share/icons/hicolor/256x256/apps/simplescreenrecorder-paused.png share/icons/hicolor/256x256/apps/simplescreenrecorder-recording.png share/icons/hicolor/256x256/apps/simplescreenrecorder.png +share/icons/hicolor/32x32/apps/simplescreenrecorder-error.png +share/icons/hicolor/32x32/apps/simplescreenrecorder-idle.png share/icons/hicolor/32x32/apps/simplescreenrecorder-paused.png share/icons/hicolor/32x32/apps/simplescreenrecorder-recording.png share/icons/hicolor/32x32/apps/simplescreenrecorder.png +share/icons/hicolor/48x48/apps/simplescreenrecorder-error.png +share/icons/hicolor/48x48/apps/simplescreenrecorder-idle.png share/icons/hicolor/48x48/apps/simplescreenrecorder-paused.png share/icons/hicolor/48x48/apps/simplescreenrecorder-recording.png share/icons/hicolor/48x48/apps/simplescreenrecorder.png +share/icons/hicolor/64x64/apps/simplescreenrecorder-error.png +share/icons/hicolor/64x64/apps/simplescreenrecorder-idle.png share/icons/hicolor/64x64/apps/simplescreenrecorder-paused.png share/icons/hicolor/64x64/apps/simplescreenrecorder-recording.png share/icons/hicolor/64x64/apps/simplescreenrecorder.png +share/icons/hicolor/96x96/apps/simplescreenrecorder-error.png +share/icons/hicolor/96x96/apps/simplescreenrecorder-idle.png share/icons/hicolor/96x96/apps/simplescreenrecorder-paused.png share/icons/hicolor/96x96/apps/simplescreenrecorder-recording.png share/icons/hicolor/96x96/apps/simplescreenrecorder.png +share/icons/hicolor/scalable/apps/simplescreenrecorder-error.svg +share/icons/hicolor/scalable/apps/simplescreenrecorder-idle.svg share/icons/hicolor/scalable/apps/simplescreenrecorder-paused.svg share/icons/hicolor/scalable/apps/simplescreenrecorder-recording.svg share/icons/hicolor/scalable/apps/simplescreenrecorder.svg @@ -52,8 +75,10 @@ share/simplescreenrecorder/translations/simplescreenrecorder_es.qm share/simplescreenrecorder/translations/simplescreenrecorder_fr.qm share/simplescreenrecorder/translations/simplescreenrecorder_he.qm share/simplescreenrecorder/translations/simplescreenrecorder_hu.qm +share/simplescreenrecorder/translations/simplescreenrecorder_id.qm share/simplescreenrecorder/translations/simplescreenrecorder_it.qm share/simplescreenrecorder/translations/simplescreenrecorder_ja.qm +share/simplescreenrecorder/translations/simplescreenrecorder_lt.qm share/simplescreenrecorder/translations/simplescreenrecorder_nl.qm share/simplescreenrecorder/translations/simplescreenrecorder_pl.qm share/simplescreenrecorder/translations/simplescreenrecorder_pt_BR.qm diff --git a/multimedia/ssr/distinfo b/multimedia/ssr/distinfo index cf6cb67ce6c..5eedf09e58d 100644 --- a/multimedia/ssr/distinfo +++ b/multimedia/ssr/distinfo @@ -1,10 +1,7 @@ -$NetBSD: distinfo,v 1.4 2016/12/15 22:40:10 wiedi Exp $ +$NetBSD: distinfo,v 1.5 2019/08/27 23:02:18 markd Exp $ -SHA1 (ssr-0.3.6.tar.gz) = 20f126aeebf6ca2480898de02efb13f46471aaad -RMD160 (ssr-0.3.6.tar.gz) = 9e9c631a330e8d92c7ea3379b062be6892bdd313 -SHA512 (ssr-0.3.6.tar.gz) = 54e07050ae58c2d59327b13be6613754ada26891c157c6e9d121db2658508245c8f9a6c92921fdc125cdf82611099abf9c89d64ee093a6592fc81fb9c96cb09d -Size (ssr-0.3.6.tar.gz) = 1640585 bytes -SHA1 (patch-configure) = d92853ae320506da18ccaec91c5eb525d7d3b5a2 -SHA1 (patch-glinject_Hook.cpp) = 39e86abf5b5e348c25708fcf962cc7693be17330 +SHA1 (ssr-0.3.11.tar.gz) = 4cfd873d57b72e64ff8299a2da0ab9bfb0e054c4 +RMD160 (ssr-0.3.11.tar.gz) = 7013bc825c83a95f88062fedddbbf0271b50c671 +SHA512 (ssr-0.3.11.tar.gz) = 5919774a00cd7015cd7db40561efaea43809b9465508b7770db9eb0fc87f338746e5cd4a79a0ab6c09e516257fa80184c3dcb5ab400c0ef2c0a8cf50ea2a073f +Size (ssr-0.3.11.tar.gz) = 1823944 bytes SHA1 (patch-glinject_elfhacks.c) = 4d416e0ea6b160d34583e737ba5bd1981a8a94ef -SHA1 (patch-src_Benchmark.cpp) = f4d572b4a9c0593175703bb3f62e4259ff5e0f1a diff --git a/multimedia/ssr/patches/patch-configure b/multimedia/ssr/patches/patch-configure deleted file mode 100644 index a56aabe687e..00000000000 --- a/multimedia/ssr/patches/patch-configure +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-configure,v 1.1 2016/02/08 01:17:53 markd Exp $ - -Fix "test ==" - ---- configure.orig 2015-11-02 21:13:49.000000000 +0000 -+++ configure -@@ -17044,7 +17044,7 @@ else - ENABLE_FFMPEG_VERSIONS_FALSE= - fi - -- if test x"$with_qt5" == x"yes"; then -+ if test x"$with_qt5" = x"yes"; then - WITH_QT5_TRUE= - WITH_QT5_FALSE='#' - else diff --git a/multimedia/ssr/patches/patch-glinject_Hook.cpp b/multimedia/ssr/patches/patch-glinject_Hook.cpp deleted file mode 100644 index e8a07a329d1..00000000000 --- a/multimedia/ssr/patches/patch-glinject_Hook.cpp +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-glinject_Hook.cpp,v 1.2 2016/12/15 22:40:10 wiedi Exp $ - -Linux gets environ from unistd.h - ---- glinject/Hook.cpp.orig 2015-11-02 21:13:49.000000000 +0000 -+++ glinject/Hook.cpp -@@ -15,6 +15,10 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE - #include <GL/glx.h> - #include <X11/X.h> - -+#if defined(__NetBSD__) || defined(__sun) -+extern char **environ; -+#endif -+ - typedef void (*GLXextFuncPtr)(void); - - void InitGLInject(); diff --git a/multimedia/ssr/patches/patch-src_Benchmark.cpp b/multimedia/ssr/patches/patch-src_Benchmark.cpp deleted file mode 100644 index 2e7c903d663..00000000000 --- a/multimedia/ssr/patches/patch-src_Benchmark.cpp +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-src_Benchmark.cpp,v 1.1 2016/03/01 20:11:35 joerg Exp $ - ---- src/Benchmark.cpp.orig 2016-03-01 13:00:19.000000000 +0000 -+++ src/Benchmark.cpp -@@ -17,6 +17,7 @@ You should have received a copy of the G - along with SimpleScreenRecorder. If not, see <http://www.gnu.org/licenses/>. - */ - -+#include <random> - #include "Benchmark.h" - - #include "AVWrapper.h" |