Skip to content

Commit 4e90d73

Browse files
authored
refactor(cmake): drop cpack supports (estkme-group#367)
* refactor(cmake): drop cpack supports * chore: accept reviews
1 parent 7c09aa2 commit 4e90d73

4 files changed

Lines changed: 0 additions & 29 deletions

File tree

.github/scripts/build-ci.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ make-without-lto)
5050
copy-usage "$PKGDIR/executables"
5151
create-bundle "$ARTIFACT/lpac-$KERNEL-$MACHINE-without-lto.zip" "$PKGDIR/executables"
5252
;;
53-
debian)
54-
cmake "$WORKSPACE" -DCPACK_GENERATOR=DEB
55-
make -j VERBOSE=1 package
56-
cp lpac_*.deb "$ARTIFACT"
57-
;;
5853
mingw)
5954
cmake "$WORKSPACE" -DSTANDALONE_MODE=ON -DCMAKE_TOOLCHAIN_FILE=./cmake/linux-mingw64.cmake
6055
make -j VERBOSE=1

.github/workflows/build.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ jobs:
2828
- {os: ubuntu-24.04-arm, variant: make, name: Linux ARM, artifact: linux-arm}
2929
- {os: ubuntu-24.04, variant: make-without-lto, name: Linux (w/o LTO), artifact: linux-x64-without-lto}
3030
- {os: ubuntu-24.04-arm, variant: make-without-lto, name: Linux ARM (w/o LTO), artifact: linux-arm-without-lto}
31-
- {os: ubuntu-24.04, variant: debian, name: Debian, artifact: debian-x64}
32-
- {os: ubuntu-24.04-arm, variant: debian, name: Debian ARM, artifact: debian-arm}
3331
- {os: ubuntu-24.04, variant: make-qmi, name: Linux with QMI, artifact: linux-qmi-x64}
3432
- {os: ubuntu-24.04-arm, variant: make-qmi, name: Linux ARM with QMI, artifact: linux-qmi-arm}
3533
- {os: ubuntu-24.04, variant: mingw, name: Windows with MinGW, artifact: windows-x64}

CMakeLists.txt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -84,22 +84,6 @@ else()
8484
set(DL_LIBRARY dl)
8585
endif()
8686

87-
if(CPACK_GENERATOR)
88-
set(CPACK_PACKAGE_VENDOR "eSTK.me Group")
89-
90-
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "eSTK.me Group")
91-
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6")
92-
set(CPACK_DEBIAN_PACKAGE_RECOMMENDS "libcurl, libpcsclite, pcscd")
93-
94-
set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT)
95-
96-
set(CPACK_RPM_PACKAGE_LICENSE "AGPL-3.0-only AND LGPL-2.0-only")
97-
set(CPACK_RPM_PACKAGE_AUTOREQ "yes")
98-
set(CPACK_RPM_PACKAGE_REQUIRES "libcurl, libpcsclite, pcscd")
99-
100-
include(CPack)
101-
endif()
102-
10387
if (USE_SYSTEM_DEPS)
10488
find_package(cJSON REQUIRED)
10589
elseif (NOT NO_NETWORK)

docs/DEVELOPERS.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ The resulting binary can then be found under `build/output/executables` folder.
3333

3434
### Linux
3535

36-
#### Debian/Ubuntu
37-
38-
Require `build-essential` `libpcsclite-dev` `libcurl4-openssl-dev` installed.
39-
40-
If you want to get a Deb package, run `cmake -B build -DCPACK_GENERATOR=DEB` then `cmake --build build`.
41-
4236
#### Droidian
4337

4438
Same as normal Debian/Ubuntu, however, in order to build the GBinder backends, you will need `libgbinder-dev`, `glib2.0-dev`, and you will have to pass `-DLPAC_WITH_APDU_GBINDER=ON` when invoking `cmake`.

0 commit comments

Comments
 (0)