ripright: build with imagemagick7
This commit is contained in:
parent
d43abf1aab
commit
afaec64e4a
2 changed files with 31 additions and 5 deletions
22
srcpkgs/ripright/patches/imagemagick7.patch
Normal file
22
srcpkgs/ripright/patches/imagemagick7.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -17,7 +17,7 @@ PKG_PROG_PKG_CONFIG
|
||||
|
||||
# Checks for libraries.
|
||||
PKG_CHECK_MODULES([flac], [flac >= 1.1.4])
|
||||
-PKG_CHECK_MODULES([MagickWand], [Wand])
|
||||
+PKG_CHECK_MODULES([MagickWand], [MagickWand])
|
||||
PKG_CHECK_MODULES([libcurl], [libcurl])
|
||||
PKG_CHECK_MODULES([libdiscid], [libdiscid])
|
||||
AC_CHECK_LIB([cdda_paranoia], [paranoia_init])
|
||||
--- a/src/art.c
|
||||
+++ b/src/art.c
|
||||
@@ -24,7 +24,7 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
-#include <wand/MagickWand.h>
|
||||
+#include <MagickWand/MagickWand.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
|
@ -1,13 +1,17 @@
|
|||
# Template file for 'ripright'
|
||||
pkgname=ripright
|
||||
version=0.11
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libflac-devel libmagick6-devel libcurl-devel libdiscid-devel libcdparanoia-devel"
|
||||
hostmakedepends="pkg-config autoconf automake"
|
||||
makedepends="libflac-devel libmagick-devel libcurl-devel libdiscid-devel libcdparanoia-devel"
|
||||
short_desc="Minimal automatic CD ripper"
|
||||
maintainer="Jan Christian Gruenhage <jan.christian@gruenhage.xyz>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="http://www.mcternan.me.uk/ripright/"
|
||||
distfiles="http://www.mcternan.me.uk/ripright/software/ripright-${version}.tar.gz"
|
||||
homepage="https://www.mcternan.me.uk/ripright/"
|
||||
distfiles="https://www.mcternan.me.uk/ripright/software/ripright-${version}.tar.gz"
|
||||
checksum=15869b7030b869c1e34baf7954b10a080afb07deeb315c3560af5ca7e57b76b7
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue