gstreamer: replace staging with autotools_stage_all
authorKoen Kooi <koen@openembedded.org>
Tue, 5 Aug 2008 15:42:09 +0000 (15:42 +0000)
committerKoen Kooi <koen@openembedded.org>
Tue, 5 Aug 2008 15:42:09 +0000 (15:42 +0000)
packages/gstreamer/gst-common.inc
packages/gstreamer/gstreamer_0.10.17.bb

index 04f3f30..c6a3fd0 100644 (file)
@@ -10,26 +10,10 @@ inherit autotools pkgconfig
 OE_LT_RPATH_ALLOW = "any"
 OE_LT_RPATH_ALLOW[export]="1"
 
-do_stage() {
-    rm -rf ${STAGE_TEMP}
-    mkdir -p ${STAGE_TEMP}
-    oe_runmake DESTDIR="${STAGE_TEMP}" install
-    if [ -d ${STAGE_TEMP}/${includedir} ]; then
-        cp -fpPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
-    fi
-    for i in $(find ${STAGE_TEMP}/${libdir} -name "*.la")
-    do
-
-        destdir=$(dirname $(echo $i | sed -e s,${STAGE_TEMP}/${libdir},${STAGING_LIBDIR},g))
-        oenote "Installing library $i to $destdir"
-        oe_libinstall -s -so $(basename $i .la) $destdir
-    done
+AUTOTOOLS_STAGE_PKGCONFIG = "1"
 
-    if [ -d ${STAGE_TEMP}/${datadir}/aclocal ]; then
-               install -d ${STAGING_DATADIR}/aclocal
-               cp -fpPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal
-       fi
-       rm -rf ${STAGE_TEMP}
+do_stage() {
+       autotools_stage_all
 }
 
 
index b2e5daf..94f1ef3 100644 (file)
@@ -1,6 +1,6 @@
 require gstreamer.inc
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI += "file://po-makefile-fix.patch;patch=1"