Skip to content

Commit

Permalink
multimedia/libzen: Change back to make
Browse files Browse the repository at this point in the history
- Use all-in-one tarball
- Update WWW and clean up pkg-descr
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Jan 30, 2023
1 parent 93d0a11 commit 23e0c77
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 23 deletions.
27 changes: 14 additions & 13 deletions multimedia/libzen/Makefile
@@ -1,28 +1,29 @@
PORTNAME= libzen
DISTVERSION= 0.4.40
PORTVERSION= 0.4.40
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= multimedia
MASTER_SITES= https://mediaarea.net/download/source/${PORTNAME}/${DISTVERSION}/ \
MASTER_SITES= https://mediaarea.net/download/binary/mediainfo/${MEDIAINFO_PORTVERSION}/ \
LOCAL/sunpoet
DISTNAME= ${PORTNAME}_${DISTVERSION}
DISTNAME= MediaInfo_CLI_${MEDIAINFO_PORTVERSION}_GNU_FromSource

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= ZenLib used by MediaInfo and its library
WWW= https://mediaarea.net/en/MediaInfo
WWW= https://mediaarea.net/en/MediaInfo \
https://github.com/MediaArea/ZenLib

LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/../../License.txt
LICENSE_FILE= ${WRKSRC}/../../../License.txt

USES= cmake compiler:c++11-lang dos2unix pathfix pkgconfig tar:bz2
USE_LDCONFIG= yes
DOS2UNIX_GLOB= *.c *.cmake.in *.cpp *.h *.pc.in *.txt
DOS2UNIX_WRKSRC= ${WRKDIR}
USES= compiler:c++11-lang dos2unix libtool pathfix tar:xz

WRKSRC= ${WRKDIR}/ZenLib/Project/CMake
CONFIGURE_ARGS= --enable-shared --enable-static
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes

PLIST_SUB= DISTVERSION=${DISTVERSION}
WRKSRC= ${WRKDIR}/MediaInfo_CLI_GNU_FromSource/ZenLib/Project/GNU/Library

post-patch:
@${REINPLACE_CMD} -e '/^Libs_Static/d' ${PATCH_WRKSRC}/libzen.pc.in
MEDIAINFO_PORTVERSION= 22.12

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions multimedia/libzen/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1672600333
SHA256 (libzen_0.4.40.tar.bz2) = 5543e2c45214b9d9f0ba4f43dee61d0296e1ff9f1427ed6c879ddd1b62b9f69e
SIZE (libzen_0.4.40.tar.bz2) = 137110
TIMESTAMP = 1674589522
SHA256 (MediaInfo_CLI_22.12_GNU_FromSource.tar.xz) = e67ce7419ec6af9fb54ffbe3164a42ae1cd874a7e559bfff017868cef1106947
SIZE (MediaInfo_CLI_22.12_GNU_FromSource.tar.xz) = 3352944
2 changes: 0 additions & 2 deletions multimedia/libzen/pkg-descr
Expand Up @@ -2,5 +2,3 @@ MediaInfo is a convenient unified display of the most relevant technical and
tag data for video and audio files.

Read http://mediaarea.net/en/MediaInfo/Support/Formats for supported formats.

See also: https://github.com/MediaArea/ZenLib
13 changes: 8 additions & 5 deletions multimedia/libzen/pkg-plist
Expand Up @@ -13,6 +13,12 @@ include/ZenLib/Format/Http/Http_Cookies.h
include/ZenLib/Format/Http/Http_Handler.h
include/ZenLib/Format/Http/Http_Request.h
include/ZenLib/Format/Http/Http_Utils.h
include/ZenLib/HTTP_Client.h
include/ZenLib/HTTP_Client/HTTPClient.h
include/ZenLib/HTTP_Client/HTTPClientAuth.h
include/ZenLib/HTTP_Client/HTTPClientCommon.h
include/ZenLib/HTTP_Client/HTTPClientString.h
include/ZenLib/HTTP_Client/HTTPClientWrapper.h
include/ZenLib/InfoMap.h
include/ZenLib/MemoryDebug.h
include/ZenLib/OS_Utils.h
Expand All @@ -27,11 +33,8 @@ include/ZenLib/ZtringListList.h
include/ZenLib/ZtringListListF.h
include/ZenLib/int128s.h
include/ZenLib/int128u.h
lib/cmake/zenlib/ZenLibConfig.cmake
lib/cmake/zenlib/ZenLibConfigVersion.cmake
lib/cmake/zenlib/ZenLibTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/zenlib/ZenLibTargets.cmake
lib/libzen.a
lib/libzen.so
lib/libzen.so.0
lib/libzen.so.%%DISTVERSION%%
lib/libzen.so.0.0.0
libdata/pkgconfig/libzen.pc

0 comments on commit 23e0c77

Please sign in to comment.