1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2 # Contributor: damir <damir@archlinux.org>
7 pkgdesc="GNU Compact Disc Input and Control Library"
8 url="https://www.gnu.org/software/libcdio/"
11 depends=(ncurses gcc-libs)
12 makedepends=(git help2man)
13 _commit=9c7a2779846da161279bc1501e83c849cf89a594 # tags/release-2.1.0
14 source=("git+https://git.savannah.gnu.org/git/libcdio.git#commit=$_commit")
16 validpgpkeys=('DAA63BC2582034A02B923D521A8DE5008275EC21') # R. Bernstein
20 git describe --tags | sed 's/^release-//;s/[^-]*-g/r&/;s/-/+/g'
27 git cherry-pick -n 2adb43c60afc6e98e94d86dad9f93d3df52862b1
29 # realpath test failure
30 git cherry-pick -n 56335fff0f21d294cd0e478d49542a43e9495ed0
37 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
38 --disable-vcd-info --disable-cddb --enable-cpp-progs --disable-static \
39 --enable-maintainer-mode
40 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
51 make DESTDIR="$pkgdir" install
53 sed -e "/define CDIO_LIBCDIO_SOURCE_PATH/s|.*|/* #undef CDIO_LIBCDIO_SOURCE_PATH */|" \
54 -i "$pkgdir/usr/include/cdio/cdio_config.h"