summaryrefslogtreecommitdiff
path: root/homebrew/qca/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/qca/.beer')
-rw-r--r--homebrew/qca/.beer63
1 files changed, 63 insertions, 0 deletions
diff --git a/homebrew/qca/.beer b/homebrew/qca/.beer
new file mode 100644
index 000000000..e35c28751
--- /dev/null
+++ b/homebrew/qca/.beer
@@ -0,0 +1,63 @@
+{
+ "name": "Qca",
+ "description": "Qt Cryptographic Architecture (QCA)",
+ "url": "https://github.com/KDE/qca/archive/v2.1.3.tar.gz",
+ "mirror": null,
+ "homepage": "https://userbase.kde.org/QCA",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ },
+ {
+ "depend": "qt",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://github.com/KDE/qca/commit/7ba0ee591e0f50a7e7b532f9eb7e500e7da784fb.diff?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": "https://github.com/KDE/qca/commit/b435c1b87b14ac2d2de9f83e586bfd6d8c2a755e.diff?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": "https://github.com/KDE/qca/commit/f4b2eb0ced5310f3c43398eb1f03e0c065e08a82.diff?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": "https://github.com/KDE/qca/pull/3.patch?full_index=1",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "args = std_cmake_args",
+ "args << \"-DQT4_BUILD=OFF\"",
+ "args << \"-DBUILD_TESTS=OFF\"",
+ "args << \"-DQCA_PLUGINS_INSTALL_DIR=#{lib}/qt5/plugins\"",
+ "args << \"-DWITH_botan_PLUGIN=NO\"",
+ "args << \"-DWITH_gcrypt_PLUGIN=NO\"",
+ "args << \"-DWITH_gnupg_PLUGIN=NO\"",
+ "args << \"-DWITH_nss_PLUGIN=NO\"",
+ "args << \"-DWITH_pkcs11_PLUGIN=NO\"",
+ "inreplace \"src/CMakeLists.txt\",",
+ "/^(\\s+)(INSTALL_NAME_DIR )(\"\\$\\{QCA_LIBRARY_INSTALL_DIR\\}\")$/,",
+ "\"\\\\1\\\\2\\\"#{opt_lib}\\\"\"",
+ "system \"cmake\", \".\", *args",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.1.3",
+ "file": "qca.rb"
+} \ No newline at end of file