Skip to content

Commit

Permalink
Removed deb and rpm packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben2020 committed May 21, 2024
1 parent d2d5ee8 commit abee652
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 53 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,6 @@ jobs:
cmake -G Ninja -S . -B build
cmake --build build
sudo cmake --install build
cd build
ninja package
- name: Configure CMake and Build on Ubuntu GCC Qt5
shell: bash
Expand All @@ -182,8 +179,6 @@ jobs:
cmake -G Ninja -DBUILD_QT5=ON -S . -B build
cmake --build build
sudo cmake --install build
cd build
ninja package
- name: Configure CMake and Build on Ubuntu-latest GCC NoGui
shell: bash
Expand All @@ -194,8 +189,6 @@ jobs:
cmake -G Ninja -DNO_GUI=ON -S . -B build
cmake --build build
sudo cmake --install build
cd build
ninja package
- name: Configure CMake and Build on macOS Clang Qt6
shell: bash
Expand Down
46 changes: 0 additions & 46 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,49 +66,3 @@ add_subdirectory( "scintilla/qt/ScintillaEdit" )
add_subdirectory( "showgraph" )
add_subdirectory( "gui" )
endif (NO_GUI)

# Increasing minimum version numbers of dependencies to support Ubuntu 16.04 LTS (xenial)

if (UNIX)

if (NO_GUI)

set( CPACK_PACKAGE_NAME "codequery-nogui" )
set( CPACK_DEBIAN_PACKAGE_DEPENDS "libsqlite3-0 (>= 3.11.0) " )

else (NO_GUI)
if (BUILD_QT5)

set( CPACK_PACKAGE_NAME "codequery-qt5" )
set( CPACK_DEBIAN_PACKAGE_DEPENDS "qtbase5-dev (>= 5.9.0) , libsqlite3-0 (>= 3.11.0) " )

else (BUILD_QT5)

set( CPACK_PACKAGE_NAME "codequery-qt6" )
set( CPACK_DEBIAN_PACKAGE_DEPENDS "qt6-base-dev (>= 6.4.0) , libsqlite3-0 (>= 3.11.0) " )

endif (BUILD_QT5)
endif (NO_GUI)


if( CMAKE_SIZEOF_VOID_P EQUAL 8 )
set( CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64" )
else( CMAKE_SIZEOF_VOID_P EQUAL 8 )
set( CPACK_DEBIAN_PACKAGE_ARCHITECTURE "i386" )
endif( CMAKE_SIZEOF_VOID_P EQUAL 8 )

set( CPACK_GENERATOR "DEB;TGZ")
set( CPACK_PACKAGE_VERSION "0.27.0" )
set( CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-Linux-${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}" )
set( CPACK_PACKAGE_DESCRIPTION_SUMMARY "Code understanding and searching tool")
set( CPACK_PACKAGE_DESCRIPTION "Code understanding and searching tool")
set( CPACK_PACKAGE_VENDOR "ruben2020")
set( CPACK_DEBIAN_PACKAGE_RECOMMENDS "cscope , exuberant-ctags" )
set( CPACK_DEBIAN_PACKAGE_SECTION "devel" )
set( CPACK_DEBIAN_PACKAGE_MAINTAINER "ruben2020 [email protected]")
set( CPACK_DEBIAN_PACKAGE_HOMEPAGE "http://ruben2020.github.io/codequery/")

include(CPack)

endif(UNIX)

0 comments on commit abee652

Please sign in to comment.