!2 添加libjpeg
From: @yanansong Reviewed-by: @abc12133 Signed-off-by: @abc12133
This commit is contained in:
commit
36785de8c1
@ -11,6 +11,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: ft_engine
|
||||
Version: 1.0.0
|
||||
Release: 1%{?dist}
|
||||
@ -26,11 +28,13 @@ BuildRequires: distributed-utils distributed-build ft_surface-devel ft_mmi-deve
|
||||
BuildRequires: libglvnd libglvnd-core-devel libglvnd-devel libglvnd-egl libglvnd-gles libglvnd-glx libglvnd-opengl mesa-dri-drivers
|
||||
BuildRequires: mesa-filesystem mesa-libEGL mesa-libEGL-devel mesa-libGL mesa-libGL-devel mesa-libOSMesa mesa-libOSMesa-devel mesa-libgbm
|
||||
BuildRequires: mesa-libgbm-devel mesa-libglapi mesa-libxatracker mesa-libxatracker-devel mesa-vdpau-drivers vulkan-devel mesa-vulkan-drivers
|
||||
BuildRequires: libjpeg-devel
|
||||
Requires: compiler-rt llvm-devel python3 libdrm-devel systemd-devel harfbuzz-devel jsoncpp-devel expat-devel
|
||||
Requires: distributed-utils ft_surface ft_mmi ft_flutter ft_multimedia
|
||||
Requires: libglvnd libglvnd-core-devel libglvnd-devel libglvnd-egl libglvnd-gles libglvnd-glx libglvnd-opengl mesa-dri-drivers
|
||||
Requires: mesa-filesystem mesa-libEGL mesa-libEGL-devel mesa-libGL mesa-libGL-devel mesa-libOSMesa mesa-libOSMesa-devel mesa-libgbm
|
||||
Requires: mesa-libgbm-devel mesa-libglapi mesa-libxatracker mesa-libxatracker-devel mesa-vdpau-drivers vulkan-devel mesa-vulkan-drivers
|
||||
Requires: libjpeg-turbo
|
||||
|
||||
%description
|
||||
Ft_engine consists of window display and window management, providing the core capabilities of the Windows engine.
|
||||
@ -53,18 +57,20 @@ cd %{_builddir}/%{name}-%{version}
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_libdir}
|
||||
%ifarch x86_64
|
||||
cp -pdf %{_builddir}/%{name}-%{version}/out/Release/x64/lib/lib*.so %{buildroot}%{_libdir}
|
||||
cp -pdf %{_builddir}/%{name}-%{version}/out/Release/x64/common/common/lib*.so %{buildroot}%{_libdir}
|
||||
%endif
|
||||
%ifarch aarch64
|
||||
cp -pdf %{_builddir}/%{name}-%{version}/out/Release/aarch64/lib/lib*.so %{buildroot}%{_libdir}
|
||||
cp -pdf %{_builddir}/%{name}-%{version}/out/Release/aarch64/common/common/lib*.so %{buildroot}%{_libdir}
|
||||
%endif
|
||||
|
||||
mkdir -p %{buildroot}/system/profile/ft
|
||||
cp -pdf %{_builddir}/%{name}-%{version}/etc/ft.xml %{buildroot}/system/profile/ft
|
||||
|
||||
mkdir -p %{buildroot}/usr/local/share/ft
|
||||
cp -pdf %{_builddir}/%{name}-%{version}/etc/icon %{buildroot}/usr/local/share/ft/
|
||||
cp -pdf %{_builddir}/%{name}-%{version}/etc/desktop %{buildroot}/usr/local/share/ft/
|
||||
mkdir -p %{buildroot}/usr/local/share/ft/icon
|
||||
mkdir -p %{buildroot}/usr/local/share/ft/desktop
|
||||
cp -pdf %{_builddir}/%{name}-%{version}/etc/icon/* %{buildroot}/usr/local/share/ft/icon
|
||||
cp -pdf %{_builddir}/%{name}-%{version}/etc/desktop/* %{buildroot}/usr/local/share/ft/desktop
|
||||
|
||||
mkdir -p %{buildroot}/usr/local/share/ft/window_manager
|
||||
cp -pdf %{_builddir}/%{name}-%{version}/window_manager/resources/config/other/display_manager_config.xml %{buildroot}/usr/local/share/ft/window_manager
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user