Skip to content

Commit

Permalink
chore: rpm: remove unneeded custom cryptopp
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Sep 5, 2022
1 parent 08e797c commit dff11c5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:

- name: Build
run: |
docker run -v $(pwd)/.ccache:/ccache -v $(pwd):/project -e CCACHE_DIR=/ccache packagefoundation/yap-ubuntu-focal:latest build ubuntu-focal packages
docker run -v $(pwd)/.ccache:/ccache -v $(pwd):/project -e CCACHE_DIR=/ccache packagefoundation/yap-rocky-8:latest build rocky-8 packages
docker run -v $(pwd)/.ccache:/ccache -v $(pwd):/project -e CCACHE_DIR=/ccache packagefoundation/yap-ubuntu-focal:latest build ubuntu-focal packages/deb
docker run -v $(pwd)/.ccache:/ccache -v $(pwd):/project -e CCACHE_DIR=/ccache packagefoundation/yap-rocky-8:latest build rocky-8 packages/rpm
mkdir artifacts_ci
sudo mv artifacts/*.deb artifacts_ci
Expand Down
5 changes: 3 additions & 2 deletions libs/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ podofo_dep = cpp.find_library('libpodofo', dirs : libdir)
crypto_dep = dependency('libcrypto')
cryptop_dep = dependency('libcrypto++', required : false)
cryptopp_dep = dependency('libcryptopp', required : false)
cryptoppp_dep = dependency('cryptopp', required : false)
pcsclite_dep = dependency('libpcsclite')
thread_dep = dependency('threads')

Expand Down Expand Up @@ -203,15 +204,15 @@ libcie_sign_sdk = static_library(
'cie-sign-sdk',
cie_sign_sdk_sources,
include_directories : inc_a,
dependencies : [ crypto_dep, cryptop_dep, cryptopp_dep, libxml2_dep, pcsclite_dep, thread_dep, curl_dep, fontconfig_dep, freetype_dep, png_dep, podofo_dep, xml2_dep ],
dependencies : [ crypto_dep, cryptop_dep, cryptopp_dep, cryptoppp_dep, libxml2_dep, pcsclite_dep, thread_dep, curl_dep, fontconfig_dep, freetype_dep, png_dep, podofo_dep, xml2_dep ],
install : true
)

libcie_pkcs11 = library(
'cie-pkcs11',
cie_pkcs11_sources,
include_directories : inc_so,
dependencies : [ crypto_dep, cryptop_dep, cryptopp_dep, libxml2_dep, pcsclite_dep, png_dep, thread_dep, curl_dep, fontconfig_dep, freetype_dep, xml2_dep ],
dependencies : [ crypto_dep, cryptop_dep, cryptopp_dep, cryptoppp_dep, libxml2_dep, pcsclite_dep, png_dep, thread_dep, curl_dep, fontconfig_dep, freetype_dep, xml2_dep ],
link_with: libcie_sign_sdk,
install : true,
)
Expand Down
2 changes: 2 additions & 0 deletions packages/cie-middleware/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ depends:yum=(
"fontconfig"
"freetype"
"java-11-openjdk-headless"
"libcurl"
"libpng"
"libxml2"
"openssl"
Expand All @@ -107,6 +108,7 @@ makedepends:yum=(
"freetype-devel"
"gcc-c++"
"java-11-openjdk-devel"
"libcurl-devel"
"libpng-devel"
"libxml2-devel"
"meson"
Expand Down
4 changes: 2 additions & 2 deletions packages/yap.json → packages/deb/yap.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"output": "artifacts",
"Projects": [
{
"name": "cryptopp",
"name": "../cryptopp",
"install": true
},
{
"name": "cie-middleware"
"name": "../cie-middleware"
}
]
}
11 changes: 11 additions & 0 deletions packages/rpm/yap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "cie-middleware",
"Description": "CIE middleware",
"build_dir": "/tmp/",
"output": "artifacts",
"Projects": [
{
"name": "../cie-middleware"
}
]
}

0 comments on commit dff11c5

Please sign in to comment.