Репозитории ALT
Последнее обновление в Пт, 24 июля 2020, 16:39:53 +0000 | Пакетов: 19068
en ru
Исходные пакеты в ветвях
свернуть окно
  • 1.4-alt0.M70T.1
Группа :: Видео
Исходный пакет: x265
Необработанный spec-файл

%define soversion 160
Name: x265
Version: 2.8
Release: alt1

Summary: H.265/HEVC encoder
License: GPL
Group: Video
Url: http://x265.org

Requires: libx265-%soversion = %version-%release

Source: %name-%version-%release.tar

BuildRequires: cmake gcc-c++ yasm

%description
H.265/HEVC encoder

%package -n libx265-%soversion
Summary: H.265/HEVC encoder library
Group: System/Libraries
Obsoletes: libx265 = 2.5-alt1

%package -n libx265-devel
Summary: Development files of H.265/HEVC encoder library
Group: Development/C
Requires: libx265-%soversion = %version-%release

%description -n libx265-%soversion
H.265/HEVC encoder library

%description -n libx265-devel
Development files of H.265/HEVC encoder library

%prep
%setup
sed -i -e '/X265_VERSION / s,unknown,%version,' \
-e '/X265_LATEST_TAG / s,0\.0,%version,' \
source/cmake/version.cmake

%build
%add_optflags %optflags_shared
cmake -DCMAKE_CXX_FLAGS='%optflags' -DCMAKE_INSTALL_PREFIX=%prefix -DLIB_INSTALL_DIR=%_lib source
%make_build

%install
%makeinstall_std

%ifnarch x86_64
%set_verify_elf_method textrel=relaxed
%endif

%files
%_bindir/x265

%files -n libx265-%soversion
%_libdir/libx265.so.%soversion

%files -n libx265-devel
%_libdir/libx265.so
%_includedir/x265.h
%_includedir/x265_config.h
%_pkgconfigdir/*

%changelog
* Mon Jun 04 2018 Anton Farygin <rider at altlinux.ru> 2.8-alt1
- 2.8

* Fri Feb 16 2018 Anton Farygin <rider at altlinux.ru> 2.5-alt2
- renamed libx265 to libx265-130

* Fri Oct 06 2017 Anton Farygin <rider at altlinux.ru> 2.5-alt1
- 2.5 release

* Thu May 25 2017 Anton Farygin <rider at altlinux.ru> 2.4-alt1
- 2.4 release

* Sat Jun 06 2015 Sergey Bolshakov <sbolshakov at altlinux.ru> 1.7-alt1
- 1.7 release

* Wed Apr 29 2015 Sergey Bolshakov <sbolshakov at altlinux.ru> 1.6-alt1
- 1.6 release

* Tue Dec 09 2014 Sergey Bolshakov <sbolshakov at altlinux.ru> 1.4-alt1
- 1.4 release
 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT