add files
This commit is contained in:
parent
3751478ce6
commit
b95f012bbf
BIN
libart-lgpl-trinity-14.1.3.tar.xz
Normal file
BIN
libart-lgpl-trinity-14.1.3.tar.xz
Normal file
Binary file not shown.
68
libart-lgpl-trinity.spec
Normal file
68
libart-lgpl-trinity.spec
Normal file
@ -0,0 +1,68 @@
|
||||
Name:libart-lgpl-trinity
|
||||
Version:14.1.3
|
||||
Release:0
|
||||
Summary:Vector graphics rendering library with TQt interface (Trinity Desktop Environment)
|
||||
|
||||
License:GPL-2.0-only
|
||||
URL:http://www.trinitydesktop.org
|
||||
Source0:https://mirror.ppa.trinitydesktop.org/trinity/releases/R%{version}/main/dependencies/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires:dbus-devel tqt3-trinity-devel tqtinterface-trinity-devel cmake g++ tde-cmake-trinity
|
||||
Requires: dbus tqt3-trinity tqtinterface-trinity
|
||||
|
||||
%description
|
||||
The libart-lgpl library provides high-performance 2D graphics rendering
|
||||
capabilities with anti-aliasing and affine transformations support. This
|
||||
Trinity-specific adaptation integrates the LGPL-licensed libart library
|
||||
with TQt (Trinity Qt) framework, enabling native graphical component
|
||||
development for TDE applications.
|
||||
%package devel
|
||||
Summary:Development libraries and headers for libart-lgpl-tqt-trinity
|
||||
%description devel
|
||||
Development libraries and headers for libart-lgpl-tqt-trinity
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
|
||||
%define trinity_dir /opt/trinity
|
||||
%define sysconfdir /etc/trinity
|
||||
%build
|
||||
cd ../
|
||||
mkdir tqt.build
|
||||
cd tqt.build
|
||||
export PKG_CONFIG_PATH=%trinity_dir/lib64/pkgconfig
|
||||
cmake \
|
||||
-DQT_PREFIX_DIR=%{trinity_dir} \
|
||||
-DMOC_EXECUTABLE=%{trinity_dir}/bin/tqmoc \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=%{buildroot}%{trinity_dir} -DMAN_INSTALL_DIR=%{buildroot}%{trinity_dir}/man \
|
||||
-DBUILD_ALL="ON" \
|
||||
-DQT_VERSION=3 \
|
||||
-DPKG_CONFIG_PATH=%{trinity_dir}/lib64/pkgconfig \
|
||||
../%{name}-%{version}/
|
||||
export LD_LIBRARY_PATH=%{trinity_dir}/lib64:$LD_LIBRARY_PATH
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
cd ../tqt.build/
|
||||
export LD_LIBRARY_PATH=%{trinity_dir}/lib64:$LD_LIBRARY_PATH
|
||||
make install
|
||||
|
||||
export buildroot=%buildroot
|
||||
sed -i "s#$buildroot##g" %buildroot%trinity_dir/lib/*.la
|
||||
sed -i "s#$buildroot##g" %buildroot%trinity_dir/lib/pkgconfig/*.pc
|
||||
%check
|
||||
|
||||
%files
|
||||
%{trinity_dir}/lib/*
|
||||
%{trinity_dir}/bin/*
|
||||
%doc %{trinity_dir}/share/man/*
|
||||
%files devel
|
||||
%{trinity_dir}/lib/*
|
||||
%{trinity_dir}/include/*
|
||||
%{trinity_dir}/bin/*
|
||||
%doc %{trinity_dir}/share/man/*
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
Loading…
Reference in New Issue
Block a user