32 lines
936 B
Plaintext
32 lines
936 B
Plaintext
# Description: Bindings for GStreamer 1.0, the open source multimedia framework
|
|
# URL: https://metacpan.org/pod/GStreamer1
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
|
# Packager: Alexandr Savca, alexandr dot savca89 at gmail dot com
|
|
# Depends on: p5-glib-object-introspection
|
|
|
|
name=p5-gstreamer1
|
|
version=0.003
|
|
release=1
|
|
source=(https://cpan.metacpan.org/authors/id/T/TM/TMURRAY/GStreamer1-$version.tar.gz)
|
|
|
|
build() {
|
|
cd GStreamer1-$version
|
|
|
|
# Remove Devel::CheckLib dependency
|
|
sed -i -e '6,10d' Makefile.PL
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
|
make install DESTDIR=$PKG
|
|
|
|
find $PKG -name perllocal.pod \
|
|
-o -name "*.bs" \
|
|
-o -name .packlist \
|
|
-o -name autosplit.ix \
|
|
| xargs rm -f
|
|
|
|
find $PKG -depth -type d -empty -delete
|
|
find $PKG -type f -a -perm -u-w | xargs chmod u+w
|
|
}
|