mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
cmake-gui: update to 3.16.4.
* drop dubious data distfile with redundant icon files
This commit is contained in:
parent
816e8e6b5f
commit
05ab6c2fd3
1 changed files with 10 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'cmake-gui'
|
||||
pkgname=cmake-gui
|
||||
version=3.16.3
|
||||
version=3.16.4
|
||||
revision=1
|
||||
wrksrc="cmake-${version}"
|
||||
build_style=cmake
|
||||
|
@ -19,21 +19,22 @@ short_desc="Cross-platform, open-source build system - Qt GUI"
|
|||
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
|
||||
https://github.com/ndowens/void/archive/cmake-gui-data.tar.gz"
|
||||
checksum="e54f16df9b53dac30fd626415833a6e75b0e47915393843da1825b096ee60668
|
||||
137af0e1eaaa0b646817d97b6e7213de76570357574fe597a6125f170f6cc5fe"
|
||||
distfiles="https://www.cmake.org/files/v${version%.*}/cmake-${version}.tar.gz"
|
||||
checksum="9bcc8c114d9da603af9512083ed7d4a39911d16105466beba165ba8fe939ac2c"
|
||||
|
||||
do_install() {
|
||||
# We are only interested in cmake-gui.
|
||||
vbin build/bin/cmake-gui
|
||||
|
||||
for a in icons mime ; do
|
||||
vcopy ../void-cmake-gui-data/cmake-gui/$a usr/share
|
||||
for res in 32 64 128 ; do
|
||||
vmkdir usr/share/icons/hicolor/${res}x${res}/apps
|
||||
vcopy Source/QtDialog/CMakeSetup${res}.png usr/share/icons/hicolor/${res}x${res}/apps/CMakeSetup.png
|
||||
done
|
||||
|
||||
vinstall ../void-cmake-gui-data/cmake-gui/applications/cmake-gui.desktop 644 \
|
||||
usr/share/applications
|
||||
vmkdir usr/share/mime
|
||||
vmkdir usr/share/applications
|
||||
vcopy Source/QtDialog/cmakecache.xml usr/share/mime
|
||||
vcopy Source/QtDialog/cmake-gui.desktop usr/share/applications
|
||||
|
||||
for i in Licenses/*.txt Copyright.txt ; do
|
||||
vlicense $i
|
||||
|
|
Loading…
Add table
Reference in a new issue