Skip to content

Commit

Permalink
multimedia/libzen: Adjust package version
Browse files Browse the repository at this point in the history
Upstream bundles libzen (named ZenLib upstream) both separately and
as a all-in-one bundle with mediainfo (multimedia/mediainfo) releases.
Libzen do not share the same versioning schema as mediainfo and hence
shouldn't use it. Upstream bundles snapshots of libzen however only
release versions are tracked (current version is defined as 0.4.41).
Current release bundle archive ships the latest commit of libzen
available and following Porters Handbook append commit date to
release version. Worth noting is that separate version provided
on upstream's download page corresponds to the tagged version on
GitHub.

Sources:
https://github.com/MediaArea/ZenLib
https://mediaarea.net/en/MediaInfo/Download/Source

PR:		276754
Approved by:	portmgr (maintainer timeout, 1+ month)
  • Loading branch information
Daniel Engberg authored and Daniel Engberg committed Mar 28, 2024
1 parent 89d01b0 commit 1a2f57d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions multimedia/libzen/Makefile
@@ -1,10 +1,11 @@
PORTNAME= libzen
PORTVERSION= 24.01.1
PORTEPOCH= 1
DISTVERSION= 0.4.41.20240118
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= multimedia
MASTER_SITES= https://mediaarea.net/download/binary/mediainfo/${PORTVERSION}/ \
MASTER_SITES= https://mediaarea.net/download/binary/mediainfo/${UPSTREAM_BUNDLE_VERSION}/ \
LOCAL/sunpoet
DISTNAME= MediaInfo_CLI_${PORTVERSION}_GNU_FromSource
DISTNAME= MediaInfo_CLI_${UPSTREAM_BUNDLE_VERSION}_GNU_FromSource

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= ZenLib used by MediaInfo and its library
Expand All @@ -19,6 +20,7 @@ USES= compiler:c++11-lang dos2unix libtool pathfix tar:xz
CONFIGURE_ARGS= --enable-shared --enable-static
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
UPSTREAM_BUNDLE_VERSION= 24.01.1
USE_LDCONFIG= yes

WRKSRC= ${WRKDIR}/MediaInfo_CLI_GNU_FromSource/ZenLib/Project/GNU/Library
Expand Down

0 comments on commit 1a2f57d

Please sign in to comment.