public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: "cygwin-apps@cygwin.com" <cygwin-apps@cygwin.com>
Subject: Re: [ITP] moc (2.6.r3005)
Date: Tue, 14 Feb 2023 18:11:10 +0900	[thread overview]
Message-ID: <20230214181110.e0be6c4b43bdff087751959b@nifty.ne.jp> (raw)
In-Reply-To: <56a413ca-d36f-3390-e592-096322ec3f79@dronecode.org.uk>

[-- Attachment #1: Type: text/plain, Size: 605 bytes --]

On Mon, 13 Feb 2023 18:25:43 +0000
Jon Turney wrote:
> On 09/02/2023 12:54, Takashi Yano via Cygwin-apps wrote:
> > NAME="moc"
> > VERSION=2.6.r3005
> > RELEASE=1
> [...]
> > SVN_URI="svn://svn.daper.net/moc/trunk"
> > SVN_REV="3005"
> > inherit svn
> 
> You could (and probably should) write this as
> 
> SVN_REV=${VERSION##*.r}
> 
> so you don't have to remember to update it in both places.
> 
> (See 'Remove matching prefix pattern' in the section 'Parameter 
> Expansion' in 'man bash')
> 
> 
> Otherwise, looks good.

Thanks. I revised the cygport file.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

[-- Attachment #2: moc.cygport --]
[-- Type: text/plain, Size: 1216 bytes --]

NAME="moc"
VERSION=2.6.r3005
RELEASE=1
CATEGORY="Audio"
SUMMARY="Command-line audio player"
DESCRIPTION="MOC (Music on Console) is an audio player having the user interface similar to midnight commander. It supports verious audio formats with decoder plugins. Powerfull and easy to use."
HOMEPAGE="http://moc.daper.net/"
LICENSE="GPL-2.0-or-later"
SVN_URI="svn://svn.daper.net/moc/trunk"
SVN_REV="${VERSION##*.r}"
inherit svn

CYGCONF_ARGS="--without-aac"

PKG_NAMES="moc moc-ffmpeg-plugin moc-timidity-plugin"
moc_CONTENTS="--exclude=usr/lib/moc/decoder_plugins/libffmpeg_decoder.dll --exclude=usr/lib/moc/decoder_plugins/libtimidity_decoder.dll usr/bin/*.exe usr/share/ usr/lib"
moc_ffmpeg_plugin_SUMMARY="MOC FFmpeg plugin"
moc_ffmpeg_plugin_CONTENTS="usr/lib/moc/decoder_plugins/libffmpeg_decoder.dll"
moc_timidity_plugin_SUMMARY="MOC timidity plugin"
moc_timidity_plugin_CONTENTS="usr/lib/moc/decoder_plugins/libtimidity_decoder.dll"

DIFF_EXCLUDES="m4 libltdl"

BUILD_REQUIRES="libffmpeg-devel libid3tag-devel libmad-devel flac-devel libsndfile-devel libvorbis-devel libcurl-devel libdb-devel libncurses-devel libpopt-devel libtool libmodplug-devel speex-devel libmpcdec-devel libtag_c-devel libwavpack-devel"

  reply	other threads:[~2023-02-14  9:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-20 10:36 Takashi Yano
2023-02-05 16:35 ` Jon Turney
2023-02-06 13:58   ` Takashi Yano
2023-02-09 12:54     ` Takashi Yano
2023-02-13 18:25       ` Jon Turney
2023-02-14  9:11         ` Takashi Yano [this message]
2023-02-16 18:48           ` Jon Turney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230214181110.e0be6c4b43bdff087751959b@nifty.ne.jp \
    --to=takashi.yano@nifty.ne.jp \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).