|
@@ -1,14 +1,17 @@
|
|
from conans import ConanFile, CMake, tools
|
|
from conans import ConanFile, CMake, tools
|
|
|
|
|
|
|
|
|
|
-class LiboggConan(ConanFile):
|
|
|
|
|
|
+class LibOggConan(ConanFile):
|
|
name = "libogg"
|
|
name = "libogg"
|
|
version = "1.3.4"
|
|
version = "1.3.4"
|
|
- license = "<Put the package license here>"
|
|
|
|
- author = "<Put your name here> <And your email here>"
|
|
|
|
- url = "<Package recipe repository url here, for issues about the package>"
|
|
|
|
- description = "<Description of Libogg here>"
|
|
|
|
- topics = ("<Put some tag here>", "<here>", "<and here>")
|
|
|
|
|
|
+ license = "BSD-2-Clause"
|
|
|
|
+ author = "Shawn Morford <DarkMorford@Gmail.com>"
|
|
|
|
+ url = "https://code.darkmorford.net/conan-pkg/libogg"
|
|
|
|
+ description = ("Ogg is a multimedia container format, and the native file and stream format for the "
|
|
|
|
+ "Xiph.org multimedia codecs. As with all Xiph.org technology it is an open format "
|
|
|
|
+ "free for anyone to use.")
|
|
|
|
+ homepage = "https://www.xiph.org/ogg/"
|
|
|
|
+ topics = ("xiph.org", "media", "container")
|
|
settings = "os", "compiler", "build_type", "arch"
|
|
settings = "os", "compiler", "build_type", "arch"
|
|
options = {"shared": [True, False]}
|
|
options = {"shared": [True, False]}
|
|
default_options = {"shared": False}
|
|
default_options = {"shared": False}
|
|
@@ -24,6 +27,9 @@ class LiboggConan(ConanFile):
|
|
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
|
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
|
conan_basic_setup()''')
|
|
conan_basic_setup()''')
|
|
|
|
|
|
|
|
+ def configure(self):
|
|
|
|
+ del self.settings.compiler.libcxx
|
|
|
|
+
|
|
def build(self):
|
|
def build(self):
|
|
cmake = CMake(self)
|
|
cmake = CMake(self)
|
|
cmake.configure(source_folder="hello")
|
|
cmake.configure(source_folder="hello")
|
|
@@ -44,6 +50,3 @@ conan_basic_setup()''')
|
|
|
|
|
|
def package_info(self):
|
|
def package_info(self):
|
|
self.cpp_info.libs = ["hello"]
|
|
self.cpp_info.libs = ["hello"]
|
|
-
|
|
|
|
- def configure(self):
|
|
|
|
- del self.settings.compiler.libcxx
|
|
|