forked from Lainports/freebsd-ports
devel/*libplist: Update to 2.6.0
https://github.com/libimobiledevice/libplist/releases/tag/2.3.0 https://github.com/libimobiledevice/libplist/releases/tag/2.4.0 https://github.com/libimobiledevice/libplist/releases/tag/2.5.0 https://github.com/libimobiledevice/libplist/releases/tag/2.6.0 PR: 280014 Reported by: <fabio.comolli@gmail.com>
This commit is contained in:
parent
fccd9b82b9
commit
208fb5d5fa
5 changed files with 45 additions and 44 deletions
|
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= libplist
|
||||
PORTVERSION= 2.2.0
|
||||
PORTREVISION?= 3
|
||||
PORTVERSION= 2.6.0
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= https://github.com/libimobiledevice/${PORTNAME}/releases/download/${PORTVERSION}/
|
||||
|
||||
|
|
@ -11,19 +11,21 @@ WWW= https://www.libimobiledevice.org
|
|||
LICENSE= LGPL21+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
|
||||
|
||||
USES+= autoreconf compiler cpe gnome libtool pathfix pkgconfig tar:bzip2
|
||||
USES+= autoreconf compiler cpe libtool pathfix pkgconfig tar:bzip2
|
||||
CPE_VENDOR= libimobiledevice
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
SLAVE_PORT?= no
|
||||
|
||||
.if ${SLAVE_PORT} == no
|
||||
|
||||
USE_GNOME= libxml2
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CONFIGURE_ARGS= --without-cython
|
||||
USE_LDCONFIG= ${LOCALBASE}/lib
|
||||
|
||||
TEST_TARGET= check
|
||||
|
||||
PORTDOCS= AUTHORS NEWS README.md
|
||||
|
||||
|
|
@ -31,7 +33,7 @@ OPTIONS_DEFINE= DOCS
|
|||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.endif # ${SLAVE_PORT} == no
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1611087644
|
||||
SHA256 (libplist-2.2.0.tar.bz2) = 4a5517e5377ec421df84c586ba85bb4e1d26f11ad203d7d450a907c0156fbd9a
|
||||
SIZE (libplist-2.2.0.tar.bz2) = 451801
|
||||
TIMESTAMP = 1720417590
|
||||
SHA256 (libplist-2.6.0.tar.bz2) = 67be9ee3169366589c92dc7c22809b90f51911dd9de22520c39c9a64fb047c9c
|
||||
SIZE (libplist-2.6.0.tar.bz2) = 493169
|
||||
|
|
|
|||
|
|
@ -1,17 +1,8 @@
|
|||
Remove bash-isms from configure script
|
||||
|
||||
--- configure.ac.orig 2020-06-15 12:45:49 UTC
|
||||
--- configure.ac.orig 2024-02-21 00:49:54 UTC
|
||||
+++ configure.ac
|
||||
@@ -154,7 +154,7 @@ AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wredu
|
||||
GLOBAL_LDFLAGS="$PTHREAD_LIBS"
|
||||
|
||||
if test "x$ac_cv_fmin_builtin" != "xyes"; then
|
||||
- GLOBAL_LDFLAGS+=" -lm"
|
||||
+ GLOBAL_LDFLAGS="$GLOBAL_CFLAGS -lm"
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(debug,
|
||||
@@ -169,7 +169,7 @@ esac],
|
||||
@@ -189,16 +189,16 @@ if (test "x$debug" = "xyes"); then
|
||||
|
||||
if (test "x$debug" = "xyes"); then
|
||||
AC_DEFINE(DEBUG, 1, [Define if debug message output code should be built.])
|
||||
|
|
@ -19,8 +10,19 @@ Remove bash-isms from configure script
|
|||
+ GLOBAL_CFLAGS="$GLOBAL_CFLAGS -g"
|
||||
fi
|
||||
|
||||
if test "x$enable_static" = "xyes" -a "x$enable_shared" = "xno"; then
|
||||
- GLOBAL_CFLAGS+=" -DLIBPLIST_STATIC"
|
||||
+ GLOBAL_CFLAGS="$GLOBAL_CFLAGS -DLIBPLIST_STATIC"
|
||||
fi
|
||||
|
||||
GLOBAL_CXXFLAGS=$GLOBAL_CFLAGS
|
||||
AS_COMPILER_FLAG([-fvisibility=hidden], [
|
||||
- GLOBAL_CFLAGS+=" -fvisibility=hidden"
|
||||
+ GLOBAL_CFLAGS="$GLOBAL_CFLAGS -fvisibility=hidden"
|
||||
], [])
|
||||
|
||||
AC_SUBST(GLOBAL_CFLAGS)
|
||||
@@ -201,23 +201,23 @@ fi
|
||||
@@ -237,23 +237,23 @@ if test "x$build_sanitizers" = "xyes"; then
|
||||
|
||||
if test "x$build_sanitizers" = "xyes"; then
|
||||
AS_COMPILER_FLAG([-fsanitize=address], [
|
||||
|
|
@ -49,7 +51,7 @@ Remove bash-isms from configure script
|
|||
fi
|
||||
|
||||
if test -z "$SANITIZER_FLAGS"; then
|
||||
@@ -230,13 +230,13 @@ if test "x$build_sanitizers" = "xyes"; then
|
||||
@@ -266,13 +266,13 @@ if test "x$build_sanitizers" = "xyes"; then
|
||||
if test -z "$SAN_COV_FLAGS"; then
|
||||
SAN_COV_FLAGS="$COV_CHECK"
|
||||
else
|
||||
|
|
@ -66,7 +68,7 @@ Remove bash-isms from configure script
|
|||
else
|
||||
AC_MSG_WARN([No sanitizer coverage supported by compiler])
|
||||
fi
|
||||
@@ -244,20 +244,20 @@ if test "x$build_sanitizers" = "xyes"; then
|
||||
@@ -280,20 +280,20 @@ if test "x$build_sanitizers" = "xyes"; then
|
||||
CFLAGS="-O1"
|
||||
|
||||
AS_COMPILER_FLAG([-fno-omit-frame-pointer], [
|
||||
|
|
@ -92,9 +94,9 @@ Remove bash-isms from configure script
|
|||
CXXFLAGS="$CFLAGS -std=c++11"
|
||||
fi
|
||||
|
||||
@@ -266,9 +266,9 @@ if test "x$build_fuzzers" = "xyes"; then
|
||||
AC_MSG_WARN([building fuzzers requires clang/clang++ (continuing anyway)])
|
||||
fi
|
||||
@@ -307,9 +307,9 @@ if test "x$build_fuzzers" = "xyes"; then
|
||||
;;
|
||||
esac
|
||||
|
||||
- CFLAGS+=" -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION"
|
||||
+ CFLAGS="$CFLAGS -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION"
|
||||
|
|
|
|||
|
|
@ -15,12 +15,12 @@ include/plist/plist++.h
|
|||
include/plist/plist.h
|
||||
lib/libplist++-2.0.a
|
||||
lib/libplist++-2.0.so
|
||||
lib/libplist++-2.0.so.3
|
||||
lib/libplist++-2.0.so.3.3.0
|
||||
lib/libplist++-2.0.so.4
|
||||
lib/libplist++-2.0.so.4.6.0
|
||||
lib/libplist-2.0.a
|
||||
lib/libplist-2.0.so
|
||||
lib/libplist-2.0.so.3
|
||||
lib/libplist-2.0.so.3.3.0
|
||||
lib/libplist-2.0.so.4
|
||||
lib/libplist-2.0.so.4.6.0
|
||||
libdata/pkgconfig/libplist++-2.0.pc
|
||||
libdata/pkgconfig/libplist-2.0.pc
|
||||
share/man/man1/plistutil.1.gz
|
||||
|
|
|
|||
|
|
@ -5,29 +5,26 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|||
MAINTAINER= jhale@FreeBSD.org
|
||||
COMMENT= Python bindings for libplist
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython3>=3.0.0:lang/cython3@${PY_FLAVOR}
|
||||
LIB_DEPENDS= libplist-2.0.so:${MASTER_PORT}
|
||||
|
||||
PORTSCOUT= ignore:1
|
||||
USES+= localbase:ldflags python
|
||||
USE_PYTHON= flavors
|
||||
|
||||
USES= cpe python
|
||||
CPE_VENDOR= libimobiledevice
|
||||
USE_PYTHON= flavors cython
|
||||
BINARY_ALIAS= cython=cython-${PYTHON_VER}
|
||||
CONFIGURE_ENV= PYTHON_LDFLAGS="`pkg-config --libs python-${PYTHON_VER}`"
|
||||
SLAVE_PORT= yes
|
||||
MASTERDIR= ${.CURDIR:H:H}/devel/libplist
|
||||
# Required to reference installed libplist.
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
BINARY_ALIAS= cython=cython-${PYTHON_VER}
|
||||
MASTERDIR= ${.CURDIR:H:H}/devel/libplist
|
||||
PORTSCOUT= ignore:1
|
||||
|
||||
BUILD_WRKSRC= ${WRKSRC}/cython
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
PLIST_FILES= include/plist/cython/plist.pxd \
|
||||
${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/plist.a \
|
||||
${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/plist.so
|
||||
${PYTHONPREFIX_SITELIBDIR:S|^${PREFIX}/||}/plist.so
|
||||
|
||||
SLAVE_PORT= yes
|
||||
|
||||
pre-configure:
|
||||
@${REINPLACE_CMD} -e 's|$$(top_builddir)/src/libplist-2.0.la|-lplist-2.0|' \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue