Package simplescreenrecorder: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 | # Unpackaged files in buildroot should terminate build %define _unpackaged_files_terminate_build 1 %ifarch %arm aarch64 ppc64le loongarch64 riscv64 %def_without glinject %else %def_with glinject %endif Name: simplescreenrecorder Version: 0.4.4 Release: alt5 Summary: Simple Screen Recording with OpenGL capture License: GPL-3.0 and ISC and GPL-3.0+ and Zlib Group: Video Url: https://www.maartenbaert.be/simplescreenrecorder/ Source: https://github.com/MaartenBaert/ssr/archive/%version/ssr-%version.tar.gz Patch0: simplescreenrecorder-0.4.4-alt-hide-window-on-the-screen-recording.patch Patch1: simplescreenrecorder-0.4.4-upstream-fix-for-compatibility-with-ffmpeg6.patch Patch2: simplescreenrecorder-0.4.4-alt-fix-russian-translations.patch BuildRequires(pre): rpm-build-ninja BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: libavformat-devel BuildRequires: libswscale-devel BuildRequires: libswresample-devel BuildRequires: pkgconfig(Qt5) >= 5.7.0 BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(xi) BuildRequires: qt5-linguist BuildRequires: libappstream-glib BuildRequires: libXinerama-devel BuildRequires: libv4l-devel BuildRequires: qt5-tools-devel Obsoletes: simplescreenrecording %description %summary %prep %setup -n ssr-%version %patch0 -p2 %if "%(rpmquery --qf '%%{VERSION}' libavformat-devel)" >= "6" %patch1 -p1 %endif %patch2 -p1 f="data/simplescreenrecorder.desktop" for s in "GenericName=Simple screen recorder" \ "GenericName[ru]=Запись видео с экрана" \ "Comment[ru]=Программа записи видео с экрана" ; do grep -F -q "${s%%=}" "$f" || echo "$s" >> "$f" done # XXX waiting for support for channels ##sed -i '/#define SSR_USE_AVFRAME_CHANNELS/s/TEST_AV_VERSION.*/TEST_AV_VERSION(LIBAVCODEC, 57, 0, 57, 0)/' src/Global.h %ifarch %e2k sed -i 's,^#ifdef __x86_64__,#if defined (__x86_64__) || defined (__e2k__),' \ glinject/elfhacks.h %endif %build export PATH=%_qt5_bindir:$PATH %cmake \ -GNinja \ %ifnarch %ix86 x86_64 -DENABLE_X86_ASM=FALSE \ %endif %if_without glinject -DWITH_GLINJECT=FALSE \ %endif -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DWITH_QT5=TRUE cmake --build "%_cmake__builddir" -j%__nprocs %install %cmake_install rm -f %buildroot%_libdir/*.la %files %_bindir/* %if_with glinject %_libdir/lib* %endif %_desktopdir/* %_iconsdir/hicolor/*/apps/* %_man1dir/*.1.* %_datadir/%name %_datadir/metainfo/* %changelog * Thu Mar 14 2024 Leontiy Volodin <lvol@altlinux.org> 0.4.4-alt5 - Simplified backporting to p10 branch. - Updated russian translations. * Thu Nov 02 2023 Ivan A. Melnikov <iv@altlinux.org> 0.4.4-alt4.1 - Introduce with/without glinject knob; - Disable glinject on loongarch64 and riscv64. * Tue Sep 19 2023 Leontiy Volodin <lvol@altlinux.org> 0.4.4-alt4 - Fixed build with ffmpeg 6.0. * Tue Aug 02 2022 Leontiy Volodin <lvol@altlinux.org> 0.4.4-alt3 - Hide the window when the screen recording is started (ALT #43422). * Mon May 23 2022 Fr. Br. George <george@altlinux.org> 0.4.4-alt2 - Fix fgrep warning * Thu May 12 2022 Leontiy Volodin <lvol@altlinux.org> 0.4.4-alt1 - New version (0.4.4) with rpmgs script. - Updated translations. * Wed Apr 28 2021 Arseny Maslennikov <arseny@altlinux.org> 0.4.3-alt1.1 - NMU: spec: adapted to new cmake macros. * Mon Dec 28 2020 Leontiy Volodin <lvol@altlinux.org> 0.4.3-alt1 - 0.4.3 - Updated source link. - Built with ninja instead of make. - Features: + Added V4L2 support (most webcams and capture cards). + Added option to mark recorded area on screen during recording. + Added JACK metadata. + Optionally support XDG config directory (~/.config/simplescreenrecorder) instead of home directory (~/.ssr). + Bugfixes. * Tue May 19 2020 Leontiy Volodin <lvol@altlinux.org> 0.4.2-alt1 - 0.4.2 * Fri May 01 2020 Leontiy Volodin <lvol@altlinux.org> 0.4.1-alt1 - 0.4.1 * Mon Apr 13 2020 Leontiy Volodin <lvol@altlinux.org> 0.4.0-alt1 - 0.4.0 * Fri Oct 18 2019 Leontiy Volodin <lvol@altlinux.org> 0.3.11-alt4.gitb200b97 - update from git - update buildrequires - fixed russian translation * Thu May 09 2019 Michael Shigorin <mike@altlinux.org> 0.3.11-alt3 - fixed build on e2k - minor spec cleanup * Sun Feb 17 2019 Anton Midyukov <antohami@altlinux.org> 0.3.11-alt2 - not ExclusiveArch - build with qt5 - update buildrequires * Tue Jun 26 2018 Fr. Br. George <george@altlinux.ru> 0.3.11-alt1 - Autobuild version bump to 0.3.11 - Exclusive x86 build * Tue Feb 20 2018 Fr. Br. George <george@altlinux.ru> 0.3.9-alt1 - Autobuild version bump to 0.3.9 * Mon Nov 20 2017 Andrey Cherepanov <cas@altlinux.org> 0.3.8-alt4 - Fix menu localization by add missing original GenericName * Wed Nov 15 2017 Andrey Cherepanov <cas@altlinux.org> 0.3.8-alt3 - Add Russian localization to desktop file. * Tue Jun 13 2017 Anton Farygin <rider@altlinux.ru> 0.3.8-alt2 - rebuilt with ffmpeg - added man pages * Mon Mar 13 2017 Fr. Br. George <george@altlinux.ru> 0.3.8-alt1 - Autobuild version bump to 0.3.8 * Mon Oct 31 2016 Fr. Br. George <george@altlinux.ru> 0.3.7-alt1 - Autobuild version bump to 0.3.7 * Wed Nov 18 2015 Fr. Br. George <george@altlinux.ru> 0.3.6-alt1 - Autobuild version bump to 0.3.6 * Mon Feb 02 2015 Fr. Br. George <george@altlinux.ru> 0.3.3-alt1 - Autobuild version bump to 0.3.3 - Libavformat has no channels support still * Mon Oct 06 2014 Fr. Br. George <george@altlinux.ru> 0.3.1-alt1 - Autobuild version bump to 0.3.1 - Obsolete simplescreenrecording * Mon Oct 06 2014 Fr. Br. George <george@altlinux.ru> 0.3.0-alt1 - New version * Wed Sep 04 2013 Denis Smirnov <mithraen@altlinux.ru> 0.0.1-alt1 - initial build for ALT Linux Sisyphus |