mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			57 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: psykose <alice@ayaya.dev>
 | |
| # Maintainer: psykose <alice@ayaya.dev>
 | |
| pkgname=lsp-plugins
 | |
| pkgver=1.2.5
 | |
| pkgrel=0
 | |
| pkgdesc="Collection of free plugins compatible with LADSPA, LV2 and LinuxVST"
 | |
| url="https://lsp-plug.in"
 | |
| arch="all"
 | |
| license="LGPL-3.0-or-later"
 | |
| options="!check" # no testsuite
 | |
| makedepends="
 | |
| 	cairo-dev
 | |
| 	cmd:php
 | |
| 	jack-dev
 | |
| 	ladspa-dev
 | |
| 	libsndfile-dev
 | |
| 	libxrandr-dev
 | |
| 	lv2-dev
 | |
| 	mesa-dev
 | |
| 	"
 | |
| subpackages="$pkgname-doc $pkgname-dev $pkgname-xdg::noarch"
 | |
| source="https://github.com/sadko4u/lsp-plugins/releases/download/$pkgver/lsp-plugins-src-$pkgver.tar.gz"
 | |
| builddir="$srcdir/$pkgname"
 | |
| 
 | |
| # GitLab CI and builders run armhf/armv7 as 32-bit arches on aarch64.
 | |
| # Thus, we cannot rely on the uname -m output on these platforms.
 | |
| case "$CARCH" in
 | |
| armhf) export ARCHITECTURE=armv6l ;;
 | |
| armv7) export ARCHITECTURE=armv7l ;;
 | |
| esac
 | |
| 
 | |
| build() {
 | |
| 	export CFLAGS="$CFLAGS -O2 -flto=auto"
 | |
| 	export CXXFLAGS="$CXXFLAGS -O2 -flto=auto"
 | |
| 	make \
 | |
| 		PREFIX=/usr \
 | |
| 		ADD_FEATURES=xdg \
 | |
| 		config
 | |
| 	make
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	make DESTDIR="$pkgdir" install
 | |
| }
 | |
| 
 | |
| xdg() {
 | |
| 	pkgdesc="$pkgdesc (XDG integration)"
 | |
| 	amove usr/share/applications
 | |
| 	amove usr/share/desktop-directories
 | |
| 	amove usr/share/icons
 | |
| 	amove etc/xdg/menus/applications-merged
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 75e731fa6ef1ee6772dfa9681c5f46b6fb513559e1522a6b3dbf072508ed52248f479ca55fd7dab1d6b48db6a5e6f5857ef079a4bcb6ff52bc7968b5060ac074  lsp-plugins-src-1.2.5.tar.gz
 | |
| "
 |