Репозиторий Sisyphus
Последнее обновление: 2 декабря 2020 | Пакетов: 17751 | Посещений: 19737904
en ru br
Репозитории ALT
S:5.7.6.157-alt1.git1ad288f
www.altlinux.org/Changes

Группа :: Видео
Пакет: deepin-movie

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable clang

Name: deepin-movie
Version: 5.7.6.157
Release: alt1.git1ad288f
Summary: Deepin movie is Deepin Desktop Environment Movie Player
License: GPL-3.0+ and LGPL-2.1+
Group: Video
Url: https://github.com/linuxdeepin/deepin-movie-reborn
Packager: Leontiy Volodin <lvol at altlinux.org>

Source: %url/archive/%version/%name-reborn-%version.tar.gz

ExcludeArch: armh

%if_enabled clang
BuildRequires(pre): clang11.0-devel
%else
BuildRequires(pre): gcc-c++
%endif
BuildRequires(pre): rpm-build-ninja
BuildRequires: cmake
BuildRequires: qt5-base-devel
BuildRequires: qt5-x11extras-devel
BuildRequires: qt5-tools-devel
BuildRequires: dtk5-widget-devel
BuildRequires: libmpv-devel
BuildRequires: libxcb-devel
BuildRequires: libxcbutil-devel
BuildRequires: libxcbutil-icccm-devel
BuildRequires: xorg-xcbproto-devel
BuildRequires: libavformat-devel
BuildRequires: libavutil-devel
BuildRequires: libavcodec-devel
BuildRequires: libffmpegthumbnailer-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libdvdnav-devel
BuildRequires: gsettings-qt-devel
BuildRequires: libswresample-devel
Requires: libdmr libdvdnav libgsettings-qt

%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

#sed -i '/#include <DPalette>/a #include <QPainterPath>' src/widgets/{tip,toolbutton}.h


%build
%if_enabled clang
export CC="clang"
export CXX="clang++"
export AR="llvm-ar"
%endif

%cmake \
   -GNinja \
   -DCMAKE_BUILD_TYPE=Release
%ninja_build -C BUILD

%install
%ninja_install -C BUILD
%find_lang %name

%files -f %name.lang
%doc CHANGELOG.md HACKING.md LICENSE LICENSE.OpenSSL README.md
%_bindir/%name
%_datadir/%name/
%_desktopdir/%name.desktop
%_datadir/glib-2.0/schemas/com.deepin.deepin-movie.gschema.xml
%_iconsdir/hicolor/scalable/apps/%name.svg

%files -n libdmr
%_libdir/libdmr.so.*

%files -n libdmr-devel
%_libdir/libdmr.so
%dir %_includedir/libdmr/
%_includedir/libdmr/*.h
%_pkgconfigdir/libdmr.pc

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin