public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITA] twolame
@ 2023-09-13 14:27 Takashi Yano
  2023-09-14 13:26 ` Jon Turney
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Yano @ 2023-09-13 14:27 UTC (permalink / raw)
  To: cygwin-apps

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

I'd like to adopt the twolame package.
Thanks in advance.

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

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

NAME="twolame"
VERSION=0.4.0
RELEASE=1
LICENSE="LGPL-2.1-only"
CATEGORY="Libs"
SUMMARY="Optimized MP2 encoder"
DESCRIPTION="TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based
on tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and
portions of LAME."
HOMEPAGE="http://www.twolame.org/"
SRC_URI="mirror://sourceforge/twolame/twolame-${VERSION}.tar.gz"

PKG_NAMES="twolame libtwolame0 libtwolame-devel libtwolame-doc"
twolame_CATEGORY="Audio"
twolame_CONTENTS="
	--exclude=html
	usr/bin/twolame.exe
	usr/share/doc/${NAME}
	usr/share/man/man1/twolame.1*
"
libtwolame0_CONTENTS="usr/bin/cygtwolame-0.dll"
libtwolame_devel_CONTENTS="
	usr/include/twolame.h
	usr/lib/libtwolame.dll.a
	usr/lib/pkgconfig/twolame.pc
"
libtwolame_doc_CATEGORY="Doc"
libtwolame_doc_CONTENTS="usr/share/doc/${NAME}/html/"

src_install() {
	cd ${B}
	cyginstall
	mkdir -p ${D}/usr/share/doc/twolame/html
	cp ${S}/doc/html/*.{html,css,png} ${D}/usr/share/doc/twolame/html/.
}

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ITA] twolame
  2023-09-13 14:27 [ITA] twolame Takashi Yano
@ 2023-09-14 13:26 ` Jon Turney
  2023-09-15  3:33   ` Takashi Yano
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Turney @ 2023-09-14 13:26 UTC (permalink / raw)
  To: Takashi Yano, cygwin-apps

On 13/09/2023 15:27, Takashi Yano via Cygwin-apps wrote:
> I'd like to adopt the twolame package.
> Thanks in advance.
> 

Thanks.

I added this to your packages.

> 
> src_install() {
> 	cd ${B}
> 	cyginstall
> 	mkdir -p ${D}/usr/share/doc/twolame/html
> 	cp ${S}/doc/html/*.{html,css,png} ${D}/usr/share/doc/twolame/html/.
> }

Can't we just write something like HTMLDOCS="doc/html/*.{html,css,png}" 
rather than need to add this?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ITA] twolame
  2023-09-14 13:26 ` Jon Turney
@ 2023-09-15  3:33   ` Takashi Yano
  0 siblings, 0 replies; 3+ messages in thread
From: Takashi Yano @ 2023-09-15  3:33 UTC (permalink / raw)
  To: cygwin-apps

On Thu, 14 Sep 2023 14:26:54 +0100
Jon Turney wrote:
> On 13/09/2023 15:27, Takashi Yano via Cygwin-apps wrote:
> > src_install() {
> > 	cd ${B}
> > 	cyginstall
> > 	mkdir -p ${D}/usr/share/doc/twolame/html
> > 	cp ${S}/doc/html/*.{html,css,png} ${D}/usr/share/doc/twolame/html/.
> > }
> 
> Can't we just write something like HTMLDOCS="doc/html/*.{html,css,png}" 
> rather than need to add this?

Thanks for the advice
HTMLDOCS="doc/html/*.html doc/html/*.css doc/html/*.png"
worked for me.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-15  3:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-13 14:27 [ITA] twolame Takashi Yano
2023-09-14 13:26 ` Jon Turney
2023-09-15  3:33   ` Takashi Yano

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).