New package: qtutilities-6.0.4
This commit is contained in:
parent
e33d135247
commit
b8decb0e6e
3 changed files with 36 additions and 0 deletions
|
@ -3861,3 +3861,4 @@ libqpdf.so.28 libqpdf-10.0.0_1
|
|||
libstk-4.6.1.so libstk-4.6.1_1
|
||||
libc++utilities.so.5 cpp-utilities-5.2.0_1
|
||||
libtagparser.so.9 tagparser-9.1.2_1
|
||||
libqtutilities.so.6 qtutilities-6.0.4_1
|
||||
|
|
1
srcpkgs/qtutilities-devel
Symbolic link
1
srcpkgs/qtutilities-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
qtutilities
|
34
srcpkgs/qtutilities/template
Normal file
34
srcpkgs/qtutilities/template
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'qtutilities'
|
||||
pkgname=qtutilities
|
||||
version=6.0.4
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_SHARED_LIBS:BOOL=ON"
|
||||
hostmakedepends="qt5-qmake qt5-host-tools"
|
||||
makedepends="qt5-tools-devel cpp-utilities-devel"
|
||||
short_desc="Qt helper routines, including dialogs, widgets, and models"
|
||||
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://github.com/Martchus/qtutilities"
|
||||
distfiles="https://github.com/Martchus/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum=c5ffbeb96607212386077bad00818e0c21920e342e118a5f77e923d07018e20f
|
||||
|
||||
qtutilities-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision} cpp-utilities-devel"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/lib/pkgconfig
|
||||
|
||||
# Rename cmake modules to fit with the rest of the system
|
||||
vmkdir usr/lib/cmake
|
||||
cmake_source="${DESTDIR}/usr/share/${sourcepkg}/cmake"
|
||||
cmake_dest="${PKGDESTDIR}/usr/lib/cmake/${sourcepkg}"
|
||||
mv "$cmake_source" "$cmake_dest"
|
||||
|
||||
# Update cmake configuration to point to new location
|
||||
vsed -i "${cmake_dest}/${sourcepkg}Config.cmake" \
|
||||
-e "s@share/${sourcepkg}/cmake@lib/cmake/${sourcepkg}@g"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue