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

                                                     
                                            
             





                      





                     
                                 
                     
                
                

                    
         
                                                                                               
                               
                                           
 


                                                                                           
         
                      



                                 



                                        
                                          
                                                   
                                        







                                                                                             


           
                      
                                          

 



                                  
                                                                                                                                                                             
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-base
pkgver=1.14.0
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Base Plugins"
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"
depends=
replaces="gst-plugins-base1 gst-plugins-bad"
makedepends="
	alsa-lib-dev
	cdparanoia-dev
	expat-dev
	gtk+3.0-dev
	libice-dev
	libogg-dev
	libsm-dev
	libtheora-dev
	libvorbis-dev
	libxv-dev
	orc-dev
	perl
	gobject-introspection-dev
	gstreamer-dev
	glib-dev
	opus-dev
	mesa-dev
	orc-compiler
	"
source="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$pkgver.tar.xz"
ldpath="/usr/lib/gstreamer-1.0"
builddir="$srcdir"/gst-plugins-base-$pkgver

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

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--disable-experimental \
		--disable-fatal-warnings \
		--with-default-audiosink=alsasink \
		--enable-introspection \
		--with-package-name="GStreamer Base Plugins (${DISTRO_NAME:-Alpine Linux})" \
		--with-package-origin="${DISTRO_URL:-http://alpinelinux.org/}"
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make -j1 DESTDIR="$pkgdir" install
}

doc() {
	default_doc
	replaces="${pkgname}1-doc"
}
sha512sums="fea4a4c0be3141d6f08bd1c13ecf428961de988cc5d881b42a8eb050039350d7e2b7bc832450bff4e4e32eeb14f8a21e0223ce3113f75d55da0c14590989cd31  gst-plugins-base-1.14.0.tar.xz"