[arch-commits] Commit in pd-gem/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Fri Jan 28 21:51:31 UTC 2022
Date: Friday, January 28, 2022 @ 21:51:31
Author: dvzrv
Revision: 1118638
upgpkg: pd-gem 0.94-8: Rebuild to remove dependency on libquicktime.
The libquicktime upstream is very dead, so remove it from depends.
Add patch for issues with error() calls.
Simplify quoting in file.
Simplify calls to make.
Modified:
pd-gem/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++----------------
1 file changed, 22 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-28 21:12:01 UTC (rev 1118637)
+++ PKGBUILD 2022-01-28 21:51:31 UTC (rev 1118638)
@@ -3,37 +3,43 @@
_name=Gem
pkgname=pd-gem
pkgver=0.94
-pkgrel=7
+pkgrel=8
pkgdesc="Graphics Environment for Multimedia"
-arch=('x86_64')
+arch=(x86_64)
url="https://github.com/umlaeute/Gem"
-license=('GPL2')
-groups=('pd-externals')
+license=(GPL2)
+groups=(pd-externals)
# TODO: potentially add gmerlin, libmpeg3 and glewmx (if that's still a thing)
-depends=('assimp' 'ftgl' 'glew' 'libdv' 'libiec61883' 'libquicktime' 'pd'
-'sdl2' 'ttf-dejavu' 'zlib')
-makedepends=('imagemagick' 'libvncserver' 'vlc')
+depends=(assimp ftgl glew libdv libiec61883 pd sdl2 ttf-dejavu zlib)
+makedepends=(imagemagick libvncserver vlc)
optdepends=('vlc: video capture support'
'libvncserver: video capture support'
'imagemagick: image processing support')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/umlaeute/${_name}/archive/v${pkgver}.tar.gz")
-sha512sums=('356e4f2a27131f927cd5d20ba9010088cc22930f313f61f54dd107db041b6cb2042ab5d530bae069e3ccdccd0a8fed1152631c6f187f4f4602f37d763356d316')
-b2sums=('1ca45c5a71e094aef04778538e6d0c83f4b13f233e6038507d5510ca904476f19ed1e70c011796e66e3688f8a8b40b13f823678b6b1baba877ac0b67eb9c6698')
+source=(
+ "$pkgname-$pkgver.tar.gz::https://github.com/umlaeute/${_name}/archive/v${pkgver}.tar.gz"
+ "$pkgname-0.94-error.patch::https://salsa.debian.org/multimedia-team/pd/gem/-/raw/master/debian/patches/pd_error.patch"
+)
+sha512sums=('356e4f2a27131f927cd5d20ba9010088cc22930f313f61f54dd107db041b6cb2042ab5d530bae069e3ccdccd0a8fed1152631c6f187f4f4602f37d763356d316'
+ '7a5cb47fdf33cdfb0a9879b1bfc56861c7c3f802b2b8c50226bedda101e46bb7c998054e9c80a84747712ed0222062208f1568076fe8d839902d3a792c8c6c08')
+b2sums=('1ca45c5a71e094aef04778538e6d0c83f4b13f233e6038507d5510ca904476f19ed1e70c011796e66e3688f8a8b40b13f823678b6b1baba877ac0b67eb9c6698'
+ 'd3f07dc907f381480e1e0309883b658fe1a6647bd52b0146b3849c76cf0274c3878d1b5ba134956c31b9b15543ac7508a1985ae056571f649c18c7ed37ee3e4c')
prepare() {
- mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
- cd "$pkgname-$pkgver"
- autoreconf -vfi
+ cd "${_name}-${pkgver}"
+ # fix issues with error() calls: https://github.com/umlaeute/Gem/issues/287
+ patch -Np1 -i ../"$pkgname-0.94-error.patch"
+ autoreconf -fiv
}
build() {
- cd "$pkgname-$pkgver"
+ cd "${_name}-${pkgver}"
./configure --prefix=/usr \
--with-default-font=/usr/share/fonts/TTF/DejaVuSans.ttf
+ # prevent excessive overlinking due to libtool
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
+ make DESTDIR="$pkgdir/" install -C "${_name}-${pkgver}"
}
More information about the arch-commits
mailing list