cmake-gui: update to 3.16.2
Update to 3.16.2 and use cmake build_style as this enables cross-build support. Adopt package
This commit is contained in:
parent
f957e5b442
commit
f9f7195e57
1 changed files with 21 additions and 13 deletions
|
@ -1,31 +1,39 @@
|
|||
# Template file for 'cmake-gui'
|
||||
pkgname=cmake-gui
|
||||
version=3.16.1
|
||||
version=3.16.2
|
||||
revision=1
|
||||
wrksrc="cmake-${version}"
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr --mandir=/share/man --docdir=/share/doc/cmake
|
||||
--system-libs --qt-gui ${XBPS_MAKEJOBS:+--parallel=$XBPS_MAKEJOBS}"
|
||||
build_style=cmake
|
||||
configure_args="
|
||||
-DBUILD_QtDialog=ON
|
||||
-DCMAKE_USE_SYSTEM_LIBARCHIVE=ON
|
||||
-DCMAKE_USE_SYSTEM_CURL=ON
|
||||
-DCMAKE_USE_SYSTEM_JSONCPP=ON
|
||||
-DCMAKE_USE_SYSTEM_LIBUV=ON
|
||||
-DCMAKE_USE_SYSTEM_LIBRHASH=ON"
|
||||
hostmakedepends="qt5-devel"
|
||||
makedepends="jsoncpp-devel libarchive-devel libcurl-devel libuv-devel
|
||||
ncurses-devel qt5-devel rhash-devel"
|
||||
depends="desktop-file-utils shared-mime-info"
|
||||
short_desc="Cross-platform, open-source build system - Qt GUI"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="LGPL-2.1-or-later, BSD-3-Clause"
|
||||
maintainer="Nathan Owens <ndowens04@gmail.com>"
|
||||
license="LGPL-2.1-or-later, GPL-3.0-or-later, BSD-3-Clause"
|
||||
homepage="https://www.cmake.org"
|
||||
distfiles="https://www.cmake.org/files/v${version%.*}/cmake-${version}.tar.gz"
|
||||
checksum=a275b3168fa8626eca4465da7bb159ff07c8c6cb0fb7179be59e12cbdfa725fd
|
||||
nocross=yes
|
||||
distfiles="https://www.cmake.org/files/v${version%.*}/cmake-${version}.tar.gz
|
||||
https://github.com/ndowens/void/archive/cmake-gui-data.tar.gz"
|
||||
checksum="8c09786ec60ca2be354c29829072c38113de9184f29928eb9da8446a5f2ce6a9
|
||||
137af0e1eaaa0b646817d97b6e7213de76570357574fe597a6125f170f6cc5fe"
|
||||
|
||||
do_install() {
|
||||
# We are only interested in cmake-gui.
|
||||
make DESTDIR=${wrksrc}/${pkgname} install
|
||||
vbin build/bin/cmake-gui
|
||||
|
||||
vbin bin/cmake-gui
|
||||
for a in icons mime ; do
|
||||
vcopy ../void-cmake-gui-data/cmake-gui/$a usr/share
|
||||
done
|
||||
|
||||
vmkdir usr/share
|
||||
cp -a ${pkgname}/usr/share/{applications,mime,icons} ${DESTDIR}/usr/share
|
||||
vinstall ../void-cmake-gui-data/cmake-gui/applications/cmake-gui.desktop 644 \
|
||||
usr/share/applications
|
||||
|
||||
for i in Licenses/*.txt Copyright.txt ; do
|
||||
vlicense $i
|
||||
|
|
Loading…
Reference in a new issue