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)
14 _commit=9c7a2779846da161279bc1501e83c849cf89a594 # tags/release-2.1.0
15 source=("git+https://git.savannah.gnu.org/git/libcdio.git#commit=$_commit")
17 validpgpkeys=('DAA63BC2582034A02B923D521A8DE5008275EC21') # R. Bernstein
21 git describe --tags | sed 's/^release-//;s/[^-]*-g/r&/;s/-/+/g'
28 git cherry-pick -n 2adb43c60afc6e98e94d86dad9f93d3df52862b1
30 # realpath test failure
31 git cherry-pick -n 56335fff0f21d294cd0e478d49542a43e9495ed0
38 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
39 --disable-vcd-info --disable-cddb --enable-cpp-progs --disable-static \
40 --enable-maintainer-mode
41 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
52 make DESTDIR="$pkgdir" install
54 sed -e "/define CDIO_LIBCDIO_SOURCE_PATH/s|.*|/* #undef CDIO_LIBCDIO_SOURCE_PATH */|" \
55 -i "$pkgdir/usr/include/cdio/cdio_config.h"