On Sun, 22 Jan 2023 21:15:15 +0900
Takashi Yano wrote:

> On Sat, 21 Jan 2023 14:59:17 +0000
> Jon Turney <jon.tur...@dronecode.org.uk> wrote:
> 
> > On 21/01/2023 00:20, Takashi Yano via Cygwin-apps wrote:
> > > On Fri, 20 Jan 2023 16:40:18 -0700
> > > Brian Inglis wrote:
> > >> On 2023-01-20 16:22, Takashi Yano via Cygwin-apps wrote:
> > >>> Do you mean, keep libsndfile1 and delete libsndfile,
> > >>> or vice versa?
> > >>
> > >> Presumably means to remove libsndfile from PKG_NAMES as it is no longer 
> > >> required
> > >> by packaging tools and add:
> > >>
> > >>  libsndfile1_OBSOLETES=libsndfile # no longer required by packaging tools
> > >>
> > >> in libsndfile1 package stanza lines in libsndfile.cygport.
> > > 
> > > Thanks for the advice!
> > 
> > This is correct.
> > 
> > > I have updated the package in:
> > > https://tyan0.yr32.net/cygwin/x86_64/release/libsndfile/
> > 
> > Thanks.
> > 
> > I've given you the adopted packages: libsndfile, mpg123, opus, 
> > opus-tools, opusfile, SDL2.  I'll look at the rest later.
> 
> Thanks in advance.
> 
> > I note most of these sources also have mingw-cross packages as well. I 
> > don't know what we want to do about those.
> 
> I noticed that. However, my main motivation is porting MOC
> to cygwin, so I wanted the needed packages up to date.
> Therefore, I did not touch these mingw packages.
> 
> Does anyone want these mingw packages updated?

Fix license string.

-- 
Takashi Yano <takashi.y...@nifty.ne.jp>
NAME="libsndfile"
VERSION=1.2.0
RELEASE=1
LICENSE="LGPL-2.1-only"
CATEGORY="Libs"
SUMMARY="Sampled audio data library"
DESCRIPTION="libsndfile is a library of C routines for reading and writing
files containing sampled audio data."
HOMEPAGE="https://www.mega-nerd.com/libsndfile/";
SRC_URI="https://github.com/libsndfile/libsndfile/releases/download/${VERSION}/${NAME}-${VERSION}.tar.xz";
PATCH_URI="1.0.23-oss.patch"

PKG_NAMES="${NAME}1 ${NAME}-devel ${NAME}-utils"
libsndfile1_CONTENTS='usr/bin/*-1.dll usr/share/doc/'
libsndfile1_OBSOLETES="libsndfile" # no longer required by packaging tools
libsndfile_devel_CONTENTS='usr/include/ usr/lib/'
libsndfile_utils_CATEGORY="Audio"
libsndfile_utils_SUMMARY="${SUMMARY% *} utilities"
libsndfile_utils_CONTENTS='usr/bin/*.exe usr/share/man/man1/'

ACLOCAL_FLAGS="-I M4"
CYGCONF_ARGS="
        --disable-alsa
        --enable-sqlite
        --disable-gcc-pipe
        --disable-gcc-werror
"
MAKEOPTS+=" htmldocdir=/usr/share/doc/${NAME}/html"

BUILD_REQUIRES="flac-devel libogg-devel libmp3lame-devel libmpg123-devel 
libmpg123-devel libvorbis-devel"

Reply via email to