Пакет deepin-movie: 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 | %ifarch loongarch64 %def_without clang %else %def_with clang %endif Name: deepin-movie Version: 6.0.6 Release: alt1 Summary: Deepin movie is Deepin Desktop Environment Movie Player License: GPL-3.0+ and CC0-1.0 and CC-BY-4.0 Group: Video Url: https://github.com/linuxdeepin/deepin-movie-reborn Source: %url/archive/%version/%name-reborn-%version.tar Patch0: %name-5.10.15-alt-cxx-flags.patch Patch1: %name-5.10.15-alt-underlinked-libraries.patch Requires: libdmr libdvdnav libgsettings-qt # direct dependency because dmr controls mpv via libmpv calls Requires: libmpv2 BuildRequires(pre): rpm-build-ninja # Automatically added by buildreq on Sat Oct 28 2023 # optimized out: alt-os-release clang17.0 clang17.0-support cmake cmake-modules glib2-devel glibc-kernheaders-generic glibc-kernheaders-x86 gstreamer1.0-devel libX11-devel libXtst-devel libavcodec-devel libavformat-devel libavutil-devel libclang-cpp17 libdbusextended-qt5 libdouble-conversion3 libdtkcore-devel libdtkgui-devel libdvdread-devel libglvnd-devel libgpg-error libgsettings-qt libmpris-qt5 libp11-kit libqt5-concurrent libqt5-core libqt5-dbus libqt5-gui libqt5-multimedia libqt5-network libqt5-printsupport libqt5-sql libqt5-svg libqt5-widgets libqt5-x11extras libqt5-xml libsasl2-3 libssl-devel libstartup-notification libstdc++-devel libva-devel libxcb-devel lld17.0 llvm-common llvm17.0-libs pkg-config python3 python3-base python3-dev python3-module-setuptools qt5-base-devel qt5-tools sh5 xorg-proto-devel BuildRequires: dbusextended-qt5-devel gsettings-qt-devel gst-plugins1.0-devel libdtkwidget-devel libdvdnav-devel libffmpegthumbnailer-devel libmpv-devel libxcbutil-devel mpris-qt5-devel qt5-multimedia-devel qt5-svg-devel qt5-tools-devel qt5-x11extras-devel %if_with clang BuildRequires: clang-devel lld-devel %else BuildRequires: gcc-c++ %endif %description %summary. %package -n libdmr Summary: Library for %name Group: System/Libraries %description -n libdmr This package provides Library for %name. %package -n libdmr-devel Summary: Development files for libdmr Group: Development/Other %description -n libdmr-devel This package provides development files for libdmr. %prep %setup -n %name-reborn-%version %if_with clang # build: use system opt flags. # The package isn't built with the patch using gcc. %patch0 -p1 %endif %patch1 -p1 %build %if_with clang %define optflags_lto -flto=thin export CC=clang export CXX=clang++ export LDFLAGS="-fuse-ld=lld $LDFLAGS" %else export CC=gcc export CXX=g++ %endif %cmake \ -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=%_prefix \ -DCMAKE_INSTALL_LIBDIR=%_libdir \ -DAPP_VERSION=%version \ -DVERSION=%version cmake --build "%_cmake__builddir" -j%__nprocs %install %cmake_install %find_lang %name %files -f %name.lang %doc CHANGELOG.md HACKING.md LICENSE LICENSES README.md %_bindir/%name %_datadir/%name/ %_desktopdir/%name.desktop %_datadir/dbus-1/services/com.deepin.movie.service %_datadir/glib-2.0/schemas/com.deepin.deepin-movie.gschema.xml %_iconsdir/hicolor/scalable/apps/%name.svg %dir %_datadir/deepin-manual/ %dir %_datadir/deepin-manual/manual-assets/ %dir %_datadir/deepin-manual/manual-assets/application/ %dir %_datadir/deepin-manual/manual-assets/application/%name/ %_datadir/deepin-manual/manual-assets/application/%name/movie/ %files -n libdmr %_libdir/libdmr.so.* %files -n libdmr-devel %_libdir/libdmr.so %dir %_includedir/libdmr/ %_includedir/libdmr/*.h %_pkgconfigdir/libdmr.pc %changelog * Wed Mar 06 2024 Leontiy Volodin <lvol@altlinux.org> 6.0.6-alt1 - New version 6.0.6. * Wed Nov 01 2023 Leontiy Volodin <lvol@altlinux.org> 6.0.5-alt2 - Fixed build with dtkgui. - Cleanup spec and BRs. - Used default compiler versions for easy backporting. * Tue Oct 31 2023 Ivan A. Melnikov <iv@altlinux.org> 6.0.5-alt1.1 - NMU: Build on loongarch64 with gcc13. * Fri Mar 24 2023 Leontiy Volodin <lvol@altlinux.org> 6.0.5-alt1 - New version 6.0.5. * Tue Jan 31 2023 Leontiy Volodin <lvol@altlinux.org> 6.0.1-alt1 - New version (6.0.1). - Updated libmpv patch. - Enabled build on armh. * Fri Nov 18 2022 Leontiy Volodin <lvol@altlinux.org> 5.10.15-alt1 - NMU: + 5.9.14 -> 5.10.15 (fix FTBFS). + update License (by lakostis@). + remove build-fix patch (by lakostis@). + BR: added gst deps (by lakostis@). + BR: added qt5-multimedia (by lakostis@). + Requires: bump libmpv dependency (by lakostis@). + build using gcc instead clang. + fix underlinked libraries. - Future improvements: + clang build: use system opt flags (by lakostis@). * Fri May 06 2022 Leontiy Volodin <lvol@altlinux.org> 5.9.14-alt1 - New version (5.9.14). * Wed Feb 09 2022 Leontiy Volodin <lvol@altlinux.org> 5.9.8-alt1 - New version (5.9.8). * Thu Jun 10 2021 Leontiy Volodin <lvol@altlinux.org> 5.7.15-alt1.gitfe98519 - New version (5.7.15). - Updated to git commit fe98519031e8482cba72bfca4ad67269cd98a1de. * Mon Apr 26 2021 Leontiy Volodin <lvol@altlinux.org> 5.7.11-alt1 - New version (5.7.11) with rpmgs script. * Thu Mar 25 2021 Leontiy Volodin <lvol@altlinux.org> 5.7.6.165-alt2 - Fixed version tag. * Mon Jan 11 2021 Leontiy Volodin <lvol@altlinux.org> 5.7.6.165-alt1 - New version (5.7.6.165) with rpmgs script. * Thu Dec 10 2020 Leontiy Volodin <lvol@altlinux.org> 5.7.6.164-alt1 - New version (5.7.6.164) with rpmgs script. - Fixed build with mpv (thanks archlinux for the patches). * Mon Nov 30 2020 Leontiy Volodin <lvol@altlinux.org> 5.7.6.157-alt1.git1ad288f - Built from git. * Fri Nov 13 2020 Leontiy Volodin <lvol@altlinux.org> 5.7.6.88-alt1 - New version (5.7.6.88) with rpmgs script. * Thu Nov 05 2020 Leontiy Volodin <lvol@altlinux.org> 5.7.6.74-alt1 - New version (5.7.6.74) with rpmgs script. * Mon Oct 26 2020 Leontiy Volodin <lvol@altlinux.org> 5.7.6.61-alt1 - New version (5.7.6.61) with rpmgs script. * Mon Oct 19 2020 Leontiy Volodin <lvol@altlinux.org> 5.7.6.51-alt1 - New version (5.7.6.51) with rpmgs script. * Fri Oct 16 2020 Leontiy Volodin <lvol@altlinux.org> 5.7.6.48-alt1 - New version (5.7.6.48) with rpmgs script. * Thu Oct 15 2020 Leontiy Volodin <lvol@altlinux.org> 5.7.6.47-alt1 - New version (5.7.6.47) with rpmgs script. * Sat Oct 03 2020 Leontiy Volodin <lvol@altlinux.org> 5.7.6.37-alt1 - New version (5.7.6.37) with rpmgs script. * Fri Sep 11 2020 Leontiy Volodin <lvol@altlinux.org> 5.7.6.29-alt1 - Initial build for ALT Sisyphus. |