aboutsummaryrefslogblamecommitdiffstats
path: root/main/gst-plugins-base/APKBUILD
blob: c2c927ba6cc053fddbf95dd11ca8fcd12b04317c (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
                        
             
        
                                                           
                                       
          
                                            
                                                     
                                            
                         



                                                                           
                                                                                               
                               
 



                     

                                                                            

                
         
               
                               
                                   
                                         
                                      
                                   





                                                                         


         
                  


           
                                                 

 



                                  
 
                                                                                                                                                                             
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-base
pkgver=1.16.2
pkgrel=3
pkgdesc="GStreamer streaming media framework base plug-ins"
url="https://gstreamer.freedesktop.org"
arch="all"
license="GPL-2.0-or-later LGPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
replaces="gst-plugins-base1 gst-plugins-bad"
depends_dev="wayland-dev"
makedepends="alsa-lib-dev cdparanoia-dev expat-dev glib-dev
	gobject-introspection-dev gstreamer-dev gtk+3.0-dev libice-dev
	libogg-dev libsm-dev libtheora-dev libvorbis-dev libxv-dev mesa-dev
	meson opus-dev orc-compiler orc-dev perl"
source="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$pkgver.tar.xz"
ldpath="/usr/lib/gstreamer-1.0"

# secfixes:
#   1.16.0-r0:
#     - CVE-2019-9928

# sporadic testsuite failures on various archs, testsuite fails with network
# restricted too
options="!check"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		-Dalsa=enabled \
		-Dintrospection=enabled \
		-Dpackage-origin="https://alpinelinux.org" \
		-Dpackage-name="GStreamer base plug-ins (Alpine Linux)" \
		. output
	ninja -C output
}

check() {
	make check
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

doc() {
	default_doc
	replaces="${pkgname}1-doc"
}

sha512sums="f28e71bba8ba25d4f18ba3a196f057721151f1ebf1309d808bd6771a3f9a68facfa1970dc4353b6f2fd1e8945edf5272854d328ea11ef399544f8b330f754a42  gst-plugins-base-1.16.2.tar.xz"