svn commit: r522202 - in head/audio: . libaudec libaudec/files

Baptiste Daroussin bapt at FreeBSD.org
Mon Jan 6 05:27:20 UTC 2020


On Mon, Jan 06, 2020 at 04:51:41AM +0000, Yuri Victorovich wrote:
> Author: yuri
> Date: Mon Jan  6 04:51:41 2020
> New Revision: 522202
> URL: https://svnweb.freebsd.org/changeset/ports/522202
> 
> Log:
>   New port: audio/libaudec: Wrapper library over ffmpeg, sndfile and libsamplerate
> 
> Added:
>   head/audio/libaudec/
>   head/audio/libaudec/Makefile   (contents, props changed)
>   head/audio/libaudec/distinfo   (contents, props changed)
>   head/audio/libaudec/files/
>   head/audio/libaudec/files/patch-meson.build   (contents, props changed)
>   head/audio/libaudec/pkg-descr   (contents, props changed)
> Modified:
>   head/audio/Makefile
> 
> Modified: head/audio/Makefile
> ==============================================================================
> --- head/audio/Makefile	Mon Jan  6 04:37:36 2020	(r522201)
> +++ head/audio/Makefile	Mon Jan  6 04:51:41 2020	(r522202)
> @@ -372,6 +372,7 @@
>      SUBDIR += libamrnb
>      SUBDIR += libamrwb
>      SUBDIR += libao
> +    SUBDIR += libaudec
>      SUBDIR += libaudiofile
>      SUBDIR += libbpm
>      SUBDIR += libbs2b
> 
> Added: head/audio/libaudec/Makefile
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/audio/libaudec/Makefile	Mon Jan  6 04:51:41 2020	(r522202)
> @@ -0,0 +1,26 @@
> +# $FreeBSD$
> +
> +PORTNAME=	libaudec
> +DISTVERSIONPREFIX=	v
> +DISTVERSION=	0.1
> +CATEGORIES=	audio devel
> +
> +MAINTAINER=	yuri at FreeBSD.org
> +COMMENT=	Wrapper library over ffmpeg, sndfile and libsamplerate
> +
> +LICENSE=	AGPLv3
> +LICENSE_FILE=	${WRKSRC}/COPYING
> +
> +LIB_DEPENDS=	libsamplerate.so:audio/libsamplerate \
> +		libsndfile.so:audio/libsndfile
> +
> +USES=		compiler:c11 meson pkgconfig
> +USE_GITHUB=	yes
> +GH_ACCOUNT=	alex-tee
> +USE_LDCONFIG=	yes
> +
> +PLIST_FILES=	include/audec/audec.h \
> +		lib/libaudec.so \
> +		libdata/pkgconfig/audec.pc
> +
Given the plist, it seems the library does not have a "soname" it will mess up
with the shlib_provides/shlib_requires from pkg.

It is also a good practice to have a soname for shared library in general.
(A soname which is not the name of the .so file itself ;))

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20200106/e339c76c/attachment.sig>


More information about the svn-ports-all mailing list