public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITA] taglib.
@ 2024-02-17  3:21 Takashi Yano
  0 siblings, 0 replies; only message in thread
From: Takashi Yano @ 2024-02-17  3:21 UTC (permalink / raw)
  To: cygwin-apps

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

I would like to adopt taglib package.

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

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

inherit cmake

NAME="taglib"
VERSION=1.13.1
RELEASE=1
LICENSE="LGPL-2.1-or-later AND MPL-1.1"
CATEGORY="Audio"
SUMMARY="Audio metadata library"
DESCRIPTION="TagLib is a library for reading and editing the meta-data of
several popular audio formats. Currently it supports both ID3v1 and ID3v2
for MP3 files, Ogg Vorbis comments and ID3 tags and Vorbis comments in FLAC,
MPC, Speex, WavPack TrueAudio, WAV, AIFF, MP4 and ASF files."
HOMEPAGE="https://taglib.github.io/"
SRC_URI="https://taglib.github.io/releases/taglib-${VERSION}.tar.gz"

PKG_NAMES="libtag1 libtag-devel libtag_c0 libtag_c-devel"
libtag1_SUMMARY="${SUMMARY} (C++ runtime)"
libtag1_CONTENTS="usr/bin/cygtag-1.dll usr/share/doc/"
libtag_devel_SUMMARY="${SUMMARY} (C++ development)"
libtag_devel_CONTENTS="--exclude=*tag_c* usr/bin/*-config usr/include/
                       usr/lib/libtag.* usr/lib/pkgconfig/taglib.pc"
libtag_c0_SUMMARY="${SUMMARY} (C bindings runtime)"
libtag_c0_CONTENTS="usr/bin/cygtag_c-0.dll"
libtag_c_devel_SUMMARY="${SUMMARY} (C bindings development)"
libtag_c_devel_CONTENTS="usr/include/taglib/tag_c.h usr/lib/libtag_c.*
                         usr/lib/pkgconfig/taglib_c.pc"

DIFF_EXCLUDES="Doxyfile"
CYGCMAKE_ARGS="-DBUILD_SHARED_LIBS=ON"

[-- Attachment #3: taglib-1.13.1-1.src.patch --]
[-- Type: text/plain, Size: 503 bytes --]

--- origsrc/taglib-1.13.1/taglib/toolkit/trefcounter.h	2023-07-01 14:43:27.000000000 +0900
+++ src/taglib-1.13.1/taglib/toolkit/trefcounter.h	2024-02-05 17:20:42.413320900 +0900
@@ -33,7 +33,7 @@
 #  define OSATOMIC_DEPRECATED 0
 #  include <libkern/OSAtomic.h>
 #  define TAGLIB_ATOMIC_MAC
-#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
+#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
 #  ifndef NOMINMAX
 #    define NOMINMAX
 #  endif

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-17  3:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-17  3:21 [ITA] taglib 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).