Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake-3.19.1-1 #3

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
35 changes: 0 additions & 35 deletions cmake/0001-3.17.3-cpuinfo_suppl.patch

This file was deleted.

22 changes: 0 additions & 22 deletions cmake/3.17.3-case-sensitivity.patch

This file was deleted.

118 changes: 0 additions & 118 deletions cmake/3.17.3-cpuinfo.patch

This file was deleted.

74 changes: 0 additions & 74 deletions cmake/3.17.3-cygwin-paths.patch

This file was deleted.

17 changes: 0 additions & 17 deletions cmake/3.17.3-findtclsh.patch

This file was deleted.

23 changes: 0 additions & 23 deletions cmake/3.17.3-opengl.patch

This file was deleted.

57 changes: 37 additions & 20 deletions cmake/cmake.cygport
@@ -1,8 +1,8 @@
inherit emacs qt5

NAME="cmake"
VERSION=3.17.3
RELEASE=2
VERSION=3.19.1
RELEASE=1
CATEGORY="Devel"
SUMMARY="Cross-platform makefile generation system"
DESCRIPTION="CMake is used to control the software compilation process using
Expand All @@ -16,16 +16,32 @@ SRC_URI="https://github.com/Kitware/CMake/releases/download/v${VERSION}/cmake-${
https://github.com/Kitware/CMake/releases/download/v${VERSION}/cmake-${VERSION}-SHA-256.txt.asc"

PATCH_URI="
perl-libs.patch
3.17.3-case-sensitivity.patch
3.17.3-opengl.patch
3.17.3-findtclsh.patch
3.17.3-cpuinfo.patch
3.17.3-cygwin-paths.patch
0001-3.17.3-cpuinfo_suppl.patch
"

PKG_NAMES="${NAME} ${NAME}-gui ${NAME}-doc emacs-cmake"
BUILD_REQUIRES="
libarchive-devel\
libcurl-devel\
libexpat-devel\
libjsoncpp-devel\
libncurses-devel\
librhash-devel\
libuuid-devel\
libuv-devel\
zlib-devel\
libQt5Core-devel\
libQt5Gui-devel\
librhash-devel\
libbz2-devel\
liblzma-devel\
libzstd-devel\
python38-sphinx\
python38-alabaster\
emacs\
" # This list might be insufficient.


PKG_NAMES="${NAME} ${NAME}-gui ${NAME}-doc \
emacs-cmake vim-cmake bash-completion-cmake"
cmake_CONTENTS="--exclude=cmake-gui.* usr/bin/ usr/share/aclocal/
usr/share/cmake*/ usr/share/man/"
cmake_gui_SUMMARY="${SUMMARY} (GUI)"
Expand All @@ -40,6 +56,14 @@ emacs_cmake_CATEGORY="Editors"
emacs_cmake_SUMMARY="${SUMMARY} (Emacs mode)"
emacs_cmake_REQUIRES=${NAME}
emacs_cmake_CONTENTS="usr/share/emacs/"
vim_cmake_CATEGORY="Editors"
vim_cmake_SUMMARY="${SUMMARY} (vim)"
vim_cmake_REQUIRES=${NAME}
vim_cmake_CONTENTS="usr/share/vim/"
bash_completion_cmake_CATEGORY="Shells"
bash_completion_cmake_SUMMARY="${SUMMARY} (bash-completion)"
bash_completion_cmake_REQUIRES=${NAME}
bash_completion_cmake_CONTENTS="usr/share/bash-completion/"

src_compile() {
cd ${B}
Expand All @@ -50,15 +74,8 @@ src_compile() {
--docdir=/share/doc/${NAME} \
--mandir=/share/man \
--qt-gui --qt-qmake=${QT5_QMAKE} \
--system-libs \
--sphinx-man --sphinx-html \
|| error "bootstrap failed"
--system-libs \
--sphinx-man --sphinx-html \
|| error "bootstrap failed"
cygmake
}

src_install() {
cd ${B}
cyginstall

doemacs ${D}/usr/share/${NAME}-${VERSION}/editors/emacs/cmake-mode.el
}
18 changes: 0 additions & 18 deletions cmake/opengl.patch

This file was deleted.