mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Update to 2.0.2
PR: 196804 Approved by: maintainer timeout (1 month)
This commit is contained in:
parent
33b1c69f38
commit
c4e2832b73
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379149
@ -1,8 +1,10 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libilbc
|
||||
DISTVERSION= 1.1.1
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.0.2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= GHR
|
||||
|
||||
MAINTAINER= mva@FreeBSD.org
|
||||
COMMENT= Internet Low Bit Rate codec (RFC3951)
|
||||
@ -13,14 +15,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
CONFLICTS= ilbc-r[0-9]*
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= dekkers
|
||||
GH_COMMIT= b5f9b10
|
||||
GH_TAGNAME= ${GH_COMMIT}
|
||||
GH_ACCOUNT= TimothyGu
|
||||
WRKSRC= ${WRKDIR}/${GH_PROJECT}-${DISTVERSION}
|
||||
|
||||
USES= cmake
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|lib/$${CMAKE_LIBRARY_ARCHITECTURE}/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/CMakeLists.txt
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (libilbc-1.1.1.tar.gz) = 1f0cf2fa0ebaef300dbbe201a4cd4dc4661d6744fea37aa946080471de4161bd
|
||||
SIZE (libilbc-1.1.1.tar.gz) = 152937
|
||||
SHA256 (libilbc-v2.0.2.tar.gz) = ef5e06f620a1dcc09b73e1abddbd27cfed84a3b7dcf08a72b1327ede11d8e89b
|
||||
SIZE (libilbc-v2.0.2.tar.gz) = 165401
|
||||
|
45
net/libilbc/files/patch-CMakeLists.txt
Normal file
45
net/libilbc/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,45 @@
|
||||
--- CMakeLists.txt.orig 2014-12-14 19:34:22 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -50,7 +50,6 @@ else()
|
||||
endif()
|
||||
|
||||
configure_file(config.h.cmakein config.h @ONLY)
|
||||
-configure_file(libilbc.pc.in libilbc.pc @ONLY)
|
||||
|
||||
#############################################################################
|
||||
## Configure output files
|
||||
@@ -175,8 +174,9 @@ target_link_libraries(ilbc ${CMAKE_THREA
|
||||
## Compiler flags
|
||||
#############################################################################
|
||||
|
||||
-if(${CMAKE_COMPILER_IS_GNUCC})
|
||||
- set(CMAKE_C_FLAGS "-O2 -Wall -Wextra -Werror -fvisibility=hidden -Wno-unused-parameter -fno-strict-aliasing")
|
||||
+if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR
|
||||
+ "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
+ set(CMAKE_C_FLAGS "-Wall -Wextra -fvisibility=hidden -Wno-unused-parameter -fno-strict-aliasing")
|
||||
endif()
|
||||
|
||||
###################################################################################################
|
||||
@@ -186,18 +186,15 @@ endif()
|
||||
set(prefix "${CMAKE_INSTALL_PREFIX}")
|
||||
set(exec_prefix "${prefix}")
|
||||
set(includedir "${prefix}/include")
|
||||
-get_property(LIB64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS)
|
||||
-if (${LIB64})
|
||||
- set(libdir "${exec_prefix}/lib64")
|
||||
-else()
|
||||
- set(libdir "${exec_prefix}/lib")
|
||||
-endif()
|
||||
+set(libdir "${exec_prefix}/lib")
|
||||
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libilbc.pc
|
||||
- DESTINATION ${libdir}/pkgconfig)
|
||||
+ DESTINATION ${prefix}/libdata/pkgconfig)
|
||||
install(FILES ilbc/interface/ilbc.h
|
||||
DESTINATION ${includedir})
|
||||
install(TARGETS ilbc
|
||||
ARCHIVE DESTINATION ${libdir}
|
||||
LIBRARY DESTINATION ${libdir}
|
||||
RUNTIME DESTINATION bin)
|
||||
+
|
||||
+configure_file(libilbc.pc.in libilbc.pc @ONLY)
|
@ -5,4 +5,4 @@ of 30 ms and 15.20 kbps with an encoding length of 20 ms. The iLBC codec
|
||||
enables graceful speech quality degradation in the case of lost frames,
|
||||
which occurs in connection with lost or delayed IP packets.
|
||||
|
||||
WWW: http://github.com/dekkers/libilbc
|
||||
WWW: https://github.com/TimothyGu/libilbc
|
||||
|
@ -1,6 +1,5 @@
|
||||
include/ilbc.h
|
||||
lib/libilbc.a
|
||||
lib/libilbc.so
|
||||
lib/libilbc.so.1
|
||||
lib/libilbc.so.1.1.1
|
||||
lib/libilbc.so.2
|
||||
lib/libilbc.so.2.0.2
|
||||
libdata/pkgconfig/libilbc.pc
|
||||
|
Loading…
Reference in New Issue
Block a user