🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435
pkgname: id3lib
pkgver: '3.8.3'
pkgrel: '4'
pkgdesc: 'Library for reading, writing, and manipulating ID3v1 and ID3v2 tags'
url: 'https://id3lib.sourceforge.net/'
arch: x86_64
depends: []
makedepends: []
source:
- 'https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz'
- 'patch_id3lib_3.8.3_UTF16_writing_bug.diff'
- 'id3lib-3.8.3-CVE-2007-4460.patch'
- 'id3lib-3.8.3-gcc-4.3.patch'
sha256sums:
- SKIP
- SKIP
- SKIP
- SKIP
build: |
cd ${pkgname}-${pkgver}
patch -p1 -i ../patch_id3lib_3.8.3_UTF16_writing_bug.diff
patch -p0 -i ../id3lib-3.8.3-CVE-2007-4460.patch
patch -p1 -i ../id3lib-3.8.3-gcc-4.3.patch
./configure --prefix=/usr
sed -i -e 's/^LIBS =/LIBS = -lz -lstdc++/' src/Makefile
make
make DESTDIR=${PKGDIR} install
# Obsolet lib
rm -f ${PKGDIR}/usr/lib/libid3.la
package: |
true