Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multimedia/libmediainfo: Re-apply 93d0a11
- Remove --disable-dll - Bump PORTREVISION for package change
- Loading branch information
Showing
3 changed files
with
19 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,36 @@ | ||
PORTNAME= libmediainfo | ||
DISTVERSION= 22.12 | ||
PORTREVISION= 2 | ||
PORTVERSION= 22.12 | ||
PORTREVISION= 3 | ||
CATEGORIES= multimedia | ||
MASTER_SITES= https://mediaarea.net/download/source/${PORTNAME}/${DISTVERSION}/ \ | ||
MASTER_SITES= https://mediaarea.net/download/binary/mediainfo/${PORTVERSION}/ \ | ||
LOCAL/sunpoet | ||
DISTNAME= ${PORTNAME}_${DISTVERSION} | ||
DISTNAME= MediaInfo_CLI_${PORTVERSION}_GNU_FromSource | ||
|
||
MAINTAINER= sunpoet@FreeBSD.org | ||
COMMENT= MediaInfo library | ||
WWW= https://mediaarea.net/en/MediaInfo \ | ||
https://github.com/MediaArea/MediaInfoLib | ||
|
||
LICENSE= BSD2CLAUSE | ||
LICENSE_FILE= ${WRKSRC}/../../License.html | ||
LICENSE_FILE= ${WRKSRC}/../../../License.html | ||
|
||
LIB_DEPENDS= libtinyxml2.so:textproc/tinyxml2 \ | ||
libzen.so:multimedia/libzen | ||
|
||
USES= cmake compiler:c++11-lang dos2unix localbase:ldflags pathfix \ | ||
pkgconfig tar:xz | ||
USE_LDCONFIG= yes | ||
DOS2UNIX_GLOB= *.c *.cmake.in *.cpp *.h *.pc.in *.txt | ||
DOS2UNIX_WRKSRC= ${WRKDIR} | ||
USES= compiler:c++11-lang dos2unix libtool localbase pathfix pkgconfig tar:xz | ||
|
||
WRKSRC= ${WRKDIR}/MediaInfoLib/Project/CMake | ||
PLIST_SUB= DISTVERSION=${DISTVERSION:S|.||g} | ||
CONFIGURE_ARGS= --enable-shared --enable-static | ||
GNU_CONFIGURE= yes | ||
INSTALL_TARGET= install-strip | ||
PATHFIX_MAKEFILEIN+= configure | ||
USE_LDCONFIG= yes | ||
|
||
CMAKE_ON= BUILD_SHARED_LIBS | ||
WRKSRC= ${WRKDIR}/MediaInfo_CLI_GNU_FromSource/MediaInfoLib/Project/GNU/Library | ||
|
||
OPTIONS_DEFINE= CURL | ||
OPTIONS_DEFAULT=CURL | ||
|
||
CURL_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_CURL:BOOL=True | ||
CURL_CONFIGURE_ON= --with-libcurl=${LOCALBASE} | ||
CURL_LIB_DEPENDS= libcurl.so:ftp/curl | ||
|
||
post-patch: | ||
@${REINPLACE_CMD} -e '/^Libs_Static/d' ${PATCH_WRKSRC}/libmediainfo.pc.in | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1678696235 | ||
SHA256 (libmediainfo_22.12.tar.xz) = 0fc6d32f06d6ce5e144074d2e57e0db8dfa4e38e752d3123ada27ccaf89634bc | ||
SIZE (libmediainfo_22.12.tar.xz) = 1893340 | ||
TIMESTAMP = 1677771027 | ||
SHA256 (MediaInfo_CLI_22.12_GNU_FromSource.tar.xz) = e67ce7419ec6af9fb54ffbe3164a42ae1cd874a7e559bfff017868cef1106947 | ||
SIZE (MediaInfo_CLI_22.12_GNU_FromSource.tar.xz) = 3352944 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters