Skip to content

Commit

Permalink
gst-plugins-base: update from 1.5.2 to 1.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwutz committed Apr 30, 2018
1 parent 196ada5 commit b2230db
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 72 deletions.
35 changes: 0 additions & 35 deletions gst-plugins-base-0.10.32-0.bee

This file was deleted.

66 changes: 29 additions & 37 deletions gst-plugins-base-1.5.2-1.bee → gst-plugins-base.be0
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/usr/bin/env beesh

# BEE_VERSION gst-plugins-base-1.14.0-1
## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)

###############################################################################
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.

SRCURL[0]="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PKGVERSION}.tar.xz"

SRCURL[0]="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PKGVERSION}.tar.xz"
###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
## The sources will be patched in the order of the array.
Expand Down Expand Up @@ -47,27 +47,37 @@ SRCURL[0]="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-bas
# bee_extract "${@}"
#}

mee_extract_post() {
bee update --remove-all gstreamer-1.14
bee remove gst-plugins-good-0.10.28-0.x86_64
bee remove gst-plugins-base-0.10.32-0.x86_64
bee remove gst-plugins-base-1.5.2-1.x86_64
}

#mee_patch() {
# bee_patch "${@}"
#}

##mee_configure() {
##
## # application wants qt5 and configure will add -I"/usr/local/include/QtGui -I/usr/local/include/QtCore -I/usr/local/include/QtWidgets"
## # however, we have
## # /usr/local/include/QtGui/qapplication.h from qt4
## # /usr/local/include/QtWidgets/qapplication.h from qt5
## # qt4 had QApplication::setQuitOnLastWindowClosed(bool) as a class method,
## # qt5 has QApplication::setQuitOnLastWindowClosed(bool) innerited from QGuiApplication::setQuitOnLastWindowClosed(bool)
## # so with the order by configure we have /usr/local/include/QtWidgets/qapplication.h masked by obsolete /usr/local/include/QtGui/qapplication.h
## # and will undefined symbol get QApplication::setQuitOnLastWindowClosed(bool) at link time
## # so make sure, we see /usr/local/include/QtWidgets first.
##
## export CPPFLAGS='-I/usr/local/include/QtWidgets'
##
## bee_configure
##}

# disable example builds because sdl does not search its libs ${B}:
#
#make[5]: Entering directory '/scratch/local/bee-root/gst-plugins-base/gst-plugins-base-1.14.0-0/build/tests/examples/gl/sdl'
# CC sdlshare-sdlshare.o
# CCLD sdlshare
#/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgstvideo-1.0
#collect2: error: ld returned 1 exit status
#Makefile:658: recipe for target 'sdlshare' failed
#make[5]: *** [sdlshare] Error 1

mee_configure() {
bee_configure "${@}" \
--prefix=${PREFIX} \
--with-package-name="GStreamer Base Plugins 1.14.0 BLFS" \
--with-package-origin="http://www.linuxfromscratch.org/blfs/view/svn/" \
--disable-examples
}


# we still get tons of "/usr/include/GL/gl.h:1922: syntax error, unexpected ..." errors while building GstGL-1.0.gir etc
#mee_build() {
# bee_build
#}
Expand All @@ -76,21 +86,3 @@ SRCURL[0]="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-bas
# bee_install
#}
## by default this may be 'make install DESTDIR="${D}"'

###############################################################################
##
## Additional hints:
##
## The name of this bee-file should follow the following naming convention:
## pkgname-pkgversion-pkgrevision.bee
##
## You may remove all comments as long as SRCURL[0]="" is set.
##
## Everything in this file will be executed in a bash environment.
##
## Build the package by executing
## './pkg-version-N.bee' or
## 'beesh ./pkg-version-N.bee'
##
## see http://beezinga.org/
##

0 comments on commit b2230db

Please sign in to comment.