mirror of
https://github.com/conan-io/conan-center-index.git
synced 2025-08-16 11:31:19 +00:00
(#14496) taglib: bump version to 1.13
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
sources:
|
||||
"1.13":
|
||||
url: "https://taglib.org/releases/taglib-1.13.tar.gz"
|
||||
sha256: "58f08b4db3dc31ed152c04896ee9172d22052bc7ef12888028c01d8b1d60ade0"
|
||||
"1.12":
|
||||
url: "https://taglib.org/releases/taglib-1.12.tar.gz"
|
||||
sha256: "7fccd07669a523b07a15bd24c8da1bbb92206cb19e9366c3692af3d79253b703"
|
||||
|
@@ -1,6 +1,7 @@
|
||||
from conan import ConanFile
|
||||
from conan.tools.cmake import CMake, CMakeDeps, CMakeToolchain, cmake_layout
|
||||
from conan.tools.files import apply_conandata_patches, copy, export_conandata_patches, get, replace_in_file, rm, rmdir
|
||||
from conan.tools.scm import Version
|
||||
from conans import tools as tools_legacy
|
||||
import os
|
||||
|
||||
@@ -68,7 +69,10 @@ class TaglibConan(ConanFile):
|
||||
os.path.join(self.source_folder, "taglib", "CMakeLists.txt"),
|
||||
os.path.join(self.source_folder, "bindings", "c", "CMakeLists.txt"),
|
||||
]:
|
||||
replace_in_file(self, cmakelists, "INSTALL_NAME_DIR ${LIB_INSTALL_DIR}", "")
|
||||
if Version(self.version) >= "1.13":
|
||||
replace_in_file(self, cmakelists, "INSTALL_NAME_DIR ${CMAKE_INSTALL_LIBDIR}", "")
|
||||
else:
|
||||
replace_in_file(self, cmakelists, "INSTALL_NAME_DIR ${LIB_INSTALL_DIR}", "")
|
||||
|
||||
def build(self):
|
||||
self._patch_sources()
|
||||
|
@@ -1,3 +1,5 @@
|
||||
versions:
|
||||
"1.13":
|
||||
folder: all
|
||||
"1.12":
|
||||
folder: all
|
||||
|
Reference in New Issue
Block a user