Compare commits
2 Commits
rawhide
...
main-riscv
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | a7019b8589 | |
David Abdurachmanov | 72a3a8e10d |
|
@ -1,13 +1,13 @@
|
||||||
Name: libunicode
|
Name: libunicode
|
||||||
Version: 0.4.0
|
Version: 0.4.0
|
||||||
Release: %autorelease
|
Release: %autorelease -e 0.riscv64
|
||||||
Summary: Modern C++20 Unicode Library
|
Summary: Modern C++20 Unicode Library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/contour-terminal/libunicode
|
URL: https://github.com/contour-terminal/libunicode
|
||||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
Patch0: libunicode-fix-catch-in-cmake.patch
|
Patch0: libunicode-fix-catch-in-cmake.patch
|
||||||
|
|
||||||
ExclusiveArch: x86_64 aarch64
|
ExclusiveArch: x86_64 aarch64 riscv64
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
@ -43,6 +43,9 @@ The %{name}-tools package contains tools about %{name}.
|
||||||
%cmake \
|
%cmake \
|
||||||
-GNinja \
|
-GNinja \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
%ifarch riscv64
|
||||||
|
-DLIBUNICODE_USE_INTRINSICS=OFF \
|
||||||
|
%endif
|
||||||
-DLIBUNICODE_UCD_DIR=%{_datadir}/unicode/ucd \
|
-DLIBUNICODE_UCD_DIR=%{_datadir}/unicode/ucd \
|
||||||
|
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
Loading…
Reference in New Issue