Commit ee04300b authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] libmirage: update to 3.2.3

parent 5b983d9c
Pipeline #4156 skipped
# Contributions from Arch:
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Charles Lindsay <charles@chaoslizard.org>
pkgname=libmirage
pkgver=3.1.0
pkgver=3.2.3
pkgrel=1
pkgdesc="CD-ROM image (B6T/CCD/CDI/CUE/ISO/MDS/NRG/TOC) access library"
arch=('x86_64')
url="http://cdemu.sourceforge.net/"
license=('GPL')
depends=('glib2' 'libsndfile' 'zlib' 'xz' 'bzip2' 'libsamplerate')
makedepends=(cmake intltool)
optdepends=('gobject-introspection')
source=("http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2")
sha256sums=('b67ecc1056cf1986321d637f1a52cb36b0f5bec4fac08fd9c71075dcb7dd7363')
pkgdesc="CD-ROM image (B6T/C2D/CCD/CDI/CIF/CUE/ISO/MDS/MDX/NRG/TOC) access library"
arch=(x86_64)
url="https://cdemu.sourceforge.io/"
license=(GPL)
depends=(glib2 libsndfile libsamplerate zlib bzip2 xz shared-mime-info)
makedepends=(gtk-doc gobject-introspection cmake intltool)
source=(https://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2)
sha256sums=('ce93d053850936eee981a6ce1484cf85e77aef90241ed29c9e63a0313ddeae22')
build() {
cd $srcdir/$pkgname-$pkgver
prepare() {
cd $pkgname-$pkgver
}
mkdir -p build && cd build
cmake .. \
build() {
cmake -H$pkgname-$pkgver -Bbuild \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DPOST_INSTALL_HOOKS:BOOL=OFF \
-DWITH_GTKDOC=OFF
make
-DPOST_INSTALL_HOOKS:BOOL=OFF
cmake --build build
}
package() {
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
DESTDIR="$pkgdir" cmake --build build --target install
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment