* update id3lib to 3.8.3-19

This commit is contained in:
Alexander Baldeck 2024-08-20 04:32:49 +02:00
parent a357e11264
commit 23074f7bd3
3 changed files with 63 additions and 14 deletions

40
id3lib/.SRCINFO Normal file
View File

@ -0,0 +1,40 @@
pkgbase = id3lib
pkgdesc = Library for reading, writing, and manipulating ID3v1 and ID3v2 tags
pkgver = 3.8.3
pkgrel = 19
url = http://id3lib.sourceforge.net/
arch = x86_64
license = GPL-2.0-only
depends = gcc-libs
depends = glibc
depends = zlib
source = https://downloads.sourceforge.net/sourceforge/id3lib/id3lib-3.8.3.tar.gz
source = 00-add-libz-to-compilation.patch
source = 05-create-m4-directory.patch
source = 10-fix-compilation-with-cpp-headers.patch
source = 15-fix-headers-of-main-functions.patch
source = 20-create-manpages.patch
source = 30-fix-utf16.patch
source = 40-deal-with-mkstemp.patch
source = 50-remove-outdated-check.patch
source = 60-add-c-wrapper-functions.patch
source = 60-fix_make_check.patch
source = 60-id3lib-missing-nullpointer-check.patch
source = 60-spelling.patch
source = 61-fix_vbr_stack_smash.patch
sha256sums = 2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079
sha256sums = e884395cf0bd7b44a550fc8785d79c0992d749be1edc45b00d289cbbd179c6d5
sha256sums = c41ec6889b775119f71c25fa09bb5110bcf550a14e6aac80597479df453de5fb
sha256sums = 5fb24595095596ff55d876fb3e5277000f04c4f7a3e07aff5c05e11639dc2165
sha256sums = 042deb7c2df1afa0851622b6086e8eb4b007cc6cfcd70210852d5c25e39b08b1
sha256sums = 97442e14a5147df36f35d6a396e2b3fb6e155060ec672d91a68bd1a742234b4e
sha256sums = a7cce4176df773677bfc6a527a0465d460fe60a269402af9bdfc9dd6104ea6a4
sha256sums = d7999cdb425ba8013dd11da7fb570e875d368e5b1236c2b094abee8446f04218
sha256sums = f908af7715fb164081d191c766b040cefa0a94f1414e98f60bc38b3e0b1aa309
sha256sums = 1b06c5d2c36e6a1f2236c4603a934d8cd675414dcfd52b997cb584404c0bc77d
sha256sums = 88aded7423f266d2fedb0eef9dbb272b53cc776ae98bd71dd5afb30b6ac48515
sha256sums = 85f20c4d3467f48df1bcaa4150bae55e95270cabb542589f167a914b2f553d04
sha256sums = b31bfa7213325776f6784a684f082814d3affb050d36a7c41cf1b1df07228c5c
sha256sums = 5a24d460c9dd1e643ac57b817ea9cec87f44c1d49381065f83879b2eea36adf7
pkgname = id3lib

4
id3lib/.nvchecker.toml Normal file
View File

@ -0,0 +1,4 @@
[id3lib]
source = 'regex'
url = 'https://sourceforge.net/projects/id3lib/files/id3lib/'
regex = 'id3lib/([\d.]+)/'

View File

@ -1,16 +1,19 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer : Guillaume ALAUX <guillaume@archlinux.org>
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Guillaume ALAUX <guillaume@archlinux.org>
# Contributor: Jochem Kossen <j.kossen@home.nl>
# Contributor: rtfreedman <rob.til.freedman@googlemail.com>
pkgname=id3lib
pkgver=3.8.3
pkgrel=18
pkgrel=19
pkgdesc='Library for reading, writing, and manipulating ID3v1 and ID3v2 tags'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=('LGPL')
url="http://id3lib.sourceforge.net/"
depends=('zlib' 'gcc-libs')
license=(GPL-2.0-only)
url='http://id3lib.sourceforge.net/'
depends=(gcc-libs
glibc
zlib)
source=(https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
00-add-libz-to-compilation.patch
05-create-m4-directory.patch
@ -25,7 +28,6 @@ source=(https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pk
60-id3lib-missing-nullpointer-check.patch
60-spelling.patch
61-fix_vbr_stack_smash.patch)
sha256sums=('2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079'
'e884395cf0bd7b44a550fc8785d79c0992d749be1edc45b00d289cbbd179c6d5'
'c41ec6889b775119f71c25fa09bb5110bcf550a14e6aac80597479df453de5fb'
@ -42,7 +44,7 @@ sha256sums=('2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079'
'5a24d460c9dd1e643ac57b817ea9cec87f44c1d49381065f83879b2eea36adf7')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd $pkgname-$pkgver
patch -p1 -i ../00-add-libz-to-compilation.patch
patch -p1 -i ../05-create-m4-directory.patch
@ -65,20 +67,23 @@ prepare() {
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --build=${CHOST}
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--build=${CHOST}
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # Fix overlinking
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd $pkgname-$pkgver
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -d "${pkgdir}"/usr/share/man/man1
cp doc/man/* "${pkgdir}"/usr/share/man/man1
install -d "$pkgdir"/usr/share/man/man1
cp doc/man/* "$pkgdir"/usr/share/man/man1
}