Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multimedia/libmediainfo: Revert to previous commit
Last commit by maintainer broke users of mediainfo, revert related libraries prior to this change This retains changes to WWW and pkg-descr and removal of CXXFLAGS PR: 268709, 269601 Reported by: Michiel van Baak Jansen <michiel@vanbaak.eu> Approved by: portmgr (blanket, maintainer timeout: 3+ weeks) Fixes: 93d0a11
- Loading branch information
Daniel Engberg
authored and
Daniel Engberg
committed
Mar 13, 2023
1 parent
90dc816
commit 0194336
Showing
3 changed files
with
27 additions
and
19 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,36 +1,39 @@ | ||
PORTNAME= libmediainfo | ||
PORTVERSION= 22.12 | ||
PORTREVISION= 1 | ||
DISTVERSION= 22.12 | ||
PORTREVISION= 2 | ||
CATEGORIES= multimedia | ||
MASTER_SITES= https://mediaarea.net/download/binary/mediainfo/${PORTVERSION}/ \ | ||
MASTER_SITES= https://mediaarea.net/download/source/${PORTNAME}/${DISTVERSION}/ \ | ||
LOCAL/sunpoet | ||
DISTNAME= MediaInfo_CLI_${PORTVERSION}_GNU_FromSource | ||
DISTNAME= ${PORTNAME}_${DISTVERSION} | ||
|
||
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= compiler:c++11-lang dos2unix libtool localbase pathfix pkgconfig tar:xz | ||
|
||
CONFIGURE_ARGS= --enable-shared --enable-static --disable-dll | ||
GNU_CONFIGURE= yes | ||
INSTALL_TARGET= install-strip | ||
PATHFIX_MAKEFILEIN+= configure | ||
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} | ||
|
||
WRKSRC= ${WRKDIR}/MediaInfoLib/Project/CMake | ||
PLIST_SUB= DISTVERSION=${DISTVERSION:S|.||g} | ||
|
||
WRKSRC= ${WRKDIR}/MediaInfo_CLI_GNU_FromSource/MediaInfoLib/Project/GNU/Library | ||
CMAKE_ON= BUILD_SHARED_LIBS | ||
|
||
OPTIONS_DEFINE= CURL | ||
OPTIONS_DEFAULT=CURL | ||
|
||
CURL_CONFIGURE_ON= --with-libcurl=${LOCALBASE} | ||
CURL_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_CURL:BOOL=True | ||
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 = 1674589520 | ||
SHA256 (MediaInfo_CLI_22.12_GNU_FromSource.tar.xz) = e67ce7419ec6af9fb54ffbe3164a42ae1cd874a7e559bfff017868cef1106947 | ||
SIZE (MediaInfo_CLI_22.12_GNU_FromSource.tar.xz) = 3352944 | ||
TIMESTAMP = 1678696235 | ||
SHA256 (libmediainfo_22.12.tar.xz) = 0fc6d32f06d6ce5e144074d2e57e0db8dfa4e38e752d3123ada27ccaf89634bc | ||
SIZE (libmediainfo_22.12.tar.xz) = 1893340 |
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