Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:branches:multimedia
aegisub
aegisub.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File aegisub.spec of Package aegisub
# # spec file for package aegisub # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define __builder ninja Name: aegisub Version: 3.3.3 Release: 0 Summary: Subtitle editor License: BSD-3-Clause Group: Productivity/Multimedia/Video/Editors and Convertors URL: http://www.aegisub.org/ Source0: https://github.com/wangqr/Aegisub/archive/refs/tags/v%{version}.tar.gz#/Aegisub-%{version}.tar.gz Patch1: aegisub-3.3.3-fix-boost-181-build.patch Patch10: aegisub-3.3.3-declang.patch Patch11: aegisub-PR160.patch BuildRequires: clang BuildRequires: cmake BuildRequires: ninja BuildRequires: lld BuildRequires: intltool BuildRequires: libboost_chrono-devel BuildRequires: libboost_container-devel BuildRequires: libboost_filesystem-devel BuildRequires: libboost_headers-devel BuildRequires: libboost_locale-devel BuildRequires: libboost_regex-devel BuildRequires: libboost_system-devel BuildRequires: libboost_thread-devel BuildRequires: lua51 BuildRequires: pkgconfig >= 0.20 BuildRequires: wxGTK3-3_2-devel BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(avisynth) BuildRequires: pkgconfig(ffms2) BuildRequires: pkgconfig(fftw3) >= 3.3 BuildRequires: pkgconfig(fontconfig) >= 2.4 BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(hunspell) >= 1.2.0 BuildRequires: pkgconfig(icu-uc) BuildRequires: pkgconfig(libass) BuildRequires: pkgconfig(libpulse) >= 0.5 BuildRequires: pkgconfig(luajit) BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(uchardet) BuildRequires: pkgconfig(zlib) ExcludeArch: ppc ppc64 ppc64le i586 s390x %description Aegisub is a subtitle editor. It works with the Advanced SubStation Alpha format (aptly abbreviated ASS) which allows for many advanced effects in the subtitles, apart from just basic timed text. As upstream is orphaned, this version is the wangqr fork. %prep %autosetup -p1 -n Aegisub-%{version} export FORCE_GIT_VERSION=%{version} ./build/version.sh . # of course windozers would shit out the whole bunch of crap that breaks their own build… rm -rf build/luajit* %build ulimit -Sn 4000 export SUSE_ZNOW=0 %global _lto_cflags -flto=thin %global _lto_ldlags -flto=thin -Wl,--plugin-opt=O3 %{?jobs:-Wl,--threads=%{jobs}} export CFLAGS="${CFLAGS} -w -fPIC -O3 %{_lto_cflags}" %ifarch x86_64 export CFLAGS="${CFLAGS} -march=x86-64 -mtune=generic -mssse3 -msse4 -msse4.1 -msse4.2 -mavx -maes -mpclmul" #export CFLAGS="${CFLAGS} -fglobal-isel" %endif export LDFLAGS="-fuse-ld=lld -fPIC -Wl,-O1 -Wl,--gc-sections -Wl,--icf=safe %{_lto_cflags} %{_lto_ldlags}" export LD="lld" alias ld=ld.lld export CC=clang export CXX=clang++ export CFLAGS="${CFLAGS} -v -fbracket-depth=1024 -fconstexpr-depth=1024" export CXXFLAGS="${CFLAGS}" export LDFLAGS="${LDFLAGS} " export HOST="$(${CC} -print-target-triple)" %cmake \ -DUSE_PCH=OFF -DENABLE_PCH=OFF \ -DENABLE_PRECOMPILED_HEADERS=OFF \ -DSKIP_PRECOMPILE_HEADERS=ON \ -DUSE_PRECOMPILED_HEADERS=OFF \ -DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_INSTALL_RPATH="" \ -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF \ -DCMAKE_SKIP_INSTALL_RPATH=ON \ -DCMAKE_C_COMPILER="${CC}" \ -DCMAKE_CXX_COMPILER="${CXX}" \ -DCMAKE_LINKER="${LD}" \ -DCMAKE_C_FLAGS="${CFLAGS}" \ -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \ -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \ -DWITH_UPDATE_CHECKER=OFF \ -DWITH_LIBPULSE=ON \ -DWITH_OPENAL=ON \ -DWITH_OSS=OFF \ -DWITH_TEST=OFF %cmake_build %install %cmake_install %find_lang %{name} %files -f %{name}.lang %license LICENCE %doc README.md %{_bindir}/aegisub #{_datadir}/aegisub %{_datadir}/applications/aegisub.desktop %{_datadir}/icons/hicolor/*/apps/aegisub.* #{_datadir}/metainfo/aegisub.appdata.xml %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor