Remove conan-pkgs folder

This commit is contained in:
Rasmus Karlsson 2021-03-07 12:47:27 +01:00
parent 12bd4fcda1
commit 10ec47a099
8 changed files with 0 additions and 152 deletions

3
.gitmodules vendored
View file

@ -25,6 +25,3 @@
[submodule "lib/websocketpp"]
path = lib/websocketpp
url = https://github.com/ziocleto/websocketpp
[submodule "conan-pkgs/libcommuni"]
path = conan-pkgs/libcommuni
url = https://github.com/AnotherFoxGuy/libcommuni-cmake.git

View file

@ -1,31 +0,0 @@
from conans import ConanFile, CMake, tools
class QtKeychainConan(ConanFile):
name = "QtKeychain"
version = "0.12.90"
license = "MIT"
author = "Edgar Edgar@AnotherFoxGuy.com"
url = "https://github.com/Chatterino/chatterino2"
description = "QtKeychain is a Qt API to store passwords and other secret data securely"
settings = "os", "compiler", "build_type", "arch"
generators = "cmake"
def source(self):
git = tools.Git()
git.clone("https://github.com/frankosterfeld/qtkeychain.git")
git.checkout("9a22739ea5d36bb3de46dbb93b22da2b2c119461")
def build(self):
cmake = CMake(self)
cmake.definitions['BUILD_TRANSLATIONS'] = 'OFF'
cmake.definitions['BUILD_TEST_APPLICATION'] = 'OFF'
# cmake.definitions['QTKEYCHAIN_STATIC'] = 'ON'
cmake.configure()
cmake.build()
def package(self):
cmake = CMake(self)
cmake.install()
def package_info(self):
self.cpp_info.libs = tools.collect_libs(self)

View file

@ -1,24 +0,0 @@
from conans import ConanFile, CMake, tools
class SerializeConan(ConanFile):
name = "serialize"
version = "0.2"
license = "MIT"
author = "Edgar Edgar@AnotherFoxGuy.com"
url = "https://github.com/Chatterino/chatterino2"
description = "c++ serialize/deserialize helper functions based on rapidjson"
settings = "os", "compiler", "build_type", "arch"
generators = "cmake"
no_copy_source = True
def source(self):
git = tools.Git()
git.clone("https://github.com/pajlada/serialize.git")
git.checkout("7d37cbfd5ac3bfbe046118e1cec3d32ba4696469")
def package(self):
self.copy("*.hpp", "include", "include")
def package_id(self):
self.info.header_only()

View file

@ -1,35 +0,0 @@
from conans import ConanFile, CMake, tools
class SettingsConan(ConanFile):
name = "settings"
version = "0.1"
license = "MIT"
author = "Edgar Edgar@AnotherFoxGuy.com"
url = "https://github.com/Chatterino/chatterino2"
description = "pajlada's C++ Settings library"
settings = "os", "compiler", "build_type", "arch"
generators = "cmake"
def requirements(self):
self.requires.add('rapidjson/cci.20200410')
self.requires.add('boost/[1.x.x]')
def source(self):
git = tools.Git()
git.clone("https://github.com/AnotherFoxGuy/settings.git")
git.checkout("cmake-fix", "recursive")
def build(self):
cmake = CMake(self)
cmake.definitions['CONAN_EXPORTED'] = 'ON'
cmake.definitions['BUILD_TESTS'] = 'OFF'
cmake.configure()
cmake.build()
def package(self):
cmake = CMake(self)
cmake.install()
def package_info(self):
self.cpp_info.libs = tools.collect_libs(self)

View file

@ -1,23 +0,0 @@
from conans import ConanFile, CMake, tools
class SignalsConan(ConanFile):
name = "signals"
version = "0.1"
license = "MIT"
author = "Edgar Edgar@AnotherFoxGuy.com"
url = "https://github.com/Chatterino/chatterino2"
description = "simple C++ signal library"
settings = "os", "compiler", "build_type", "arch"
generators = "cmake"
def source(self):
git = tools.Git()
git.clone("https://github.com/pajlada/signals.git")
git.checkout("baf5bb04bd13b090e405e0447c89a811f7e23ddc")
def package(self):
self.copy("*.hpp", "include", "include")
def package_id(self):
self.info.header_only()

View file

@ -1,25 +0,0 @@
from conans import ConanFile, CMake, tools
class WebSocketppConan(ConanFile):
name = "WebSocketpp"
version = "0.8.1"
license = "MIT"
author = "Edgar Edgar@AnotherFoxGuy.com"
url = "https://github.com/Chatterino/chatterino2"
description = "WebSocket++ is a header only C++ library that implements RFC6455 The WebSocket Protocol"
settings = "os", "compiler", "build_type", "arch"
generators = "cmake"
def source(self):
git = tools.Git()
git.clone("https://github.com/ziocleto/websocketpp.git")
git.checkout("1e0138c7ccedc6be859d28270ccd6195f235a94e")
def build(self):
cmake = CMake(self)
cmake.configure()
def package(self):
cmake = CMake(self)
cmake.install()

View file

@ -1,10 +0,0 @@
macro(add_pkg NAME)
execute_process(COMMAND conan export ${CMAKE_CURRENT_LIST_DIR}/${NAME} chatterino/local)
endmacro()
add_pkg("libcommuni")
add_pkg("QtKeychain")
add_pkg("Serialize")
add_pkg("Settings")
add_pkg("Signals")
add_pkg("WebSocketpp")

@ -1 +0,0 @@
Subproject commit 60ebf13e21e3973bd865fd41adac8358f743f5e5