1 # Maintainer: David Runge <dvzrv@archlinux.org>
6 pkgdesc="Audio plugin bundle over the LV2 standard for Linux"
8 url="http://eq10q.sourceforge.net/"
30 https://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver.tar.gz
31 $pkgname-2.2-replace_pow10.patch
32 $pkgname-2.2-lv2.patch
33 $pkgname-2.2-cmakelists.patch
35 sha512sums=('4c6a79e9f1faeb431abd4e94b6bfa153b1ff5f55b3c2734d35a865ba23e3a7786ee45ee122cdcc26c9a8de915f1c4e2ec588a4c219ad6daf0ccf4a2b474b1e24'
36 '40b3315597bfeccb5d34c5ff96ad300336f9da2e432d3278fbb371eb2cc33c0ac82a5b3d655f0a33e1868e993ffdb2b326891c37ed8ba8856d4ef52ef2a2f8f6'
37 '2e6ab8022413f28bd04f342c5d68608126f83c54fced1032863b11aaa809e4e931ba6257e71c48ffe18832acda33ba4091e83b159bad226ea0ac7e37bdee502d'
38 '62148cab1e0960740bc67acda7db8bcaf81ad12a4b2c283142d4cc93282e21d21195f103f3adadf956f95293e6324a279fae5b268d8f7bc70ff4eb477efe2994')
39 b2sums=('453cf8e0dcb330e92dfa6be65a83c63c05450956ea9dcef49206d83758c8ea0746cde7d26932e709116a44eb2ce30bb29fa5a4753f5597e71128767b462cb024'
40 'd2396bd6880611181fde97a2eb009c14fc055b5b3dbee146cad9000b5ad38029fb33f5d28b3213e74da48867cdd44cc8adebd07072c264f89565b023103d24a5'
41 'ccd78f5751cc48acd63bcafd5cb714f6f4742a6725fc428485b69271585fc39edbaa60726528c10dfa5491a1b67541003adeda38e497b94995acd6cd4ffa376d'
42 '87d79c291e2da46626344bf8b7bebfb1eb9c8200b9818314db4d0fc732f17285338c9661bb3fb3a9c22963bff864f6ad51ee37e4d2cb816738056bf45805c755')
45 # replace use of deprecated pow10 with standardized exp10:
46 # https://sourceforge.net/p/eq10q/bugs/13/
47 patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-2.2-replace_pow10.patch
48 # fix for lv2 >= 1.18:
49 # https://sourceforge.net/p/eq10q/bugs/23/
50 patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-2.2-lv2.patch
51 # fix install location:
52 # https://sourceforge.net/p/eq10q/bugs/20/
53 patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-2.2-cmakelists.patch
59 -D CMAKE_BUILD_TYPE=None
60 -D CMAKE_INSTALL_PREFIX=/usr
65 cmake "${cmake_options[@]}"
66 cmake --build build --verbose
70 ctest --test-dir build --output-on-failure
76 cairomm libcairomm-1.0.so
78 glibmm libglibmm-2.4.so
79 libsigc++ libsigc-2.0.so
80 pangomm libpangomm-1.4.so
83 DESTDIR="$pkgdir" cmake --install build
84 install -vDm 644 $pkgname-$pkgver/README -t "$pkgdir/usr/share/doc/$pkgname/"