Skip to content

Commit

Permalink
Add modifications to strip down orig source even further.
Browse files Browse the repository at this point in the history
  • Loading branch information
amejia1 committed Apr 4, 2012
1 parent 7cbb75e commit 5cc8f41
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions xbmc-get-orig-source
Expand Up @@ -134,8 +134,8 @@ prepare_orig_tarball() {
if [ ! -z "$REMOVE_NONFREE" ]; then
# Remove non-free components
echo "Removing non-free components"
rm -rf ${BUILDDIR}/lib/libdvd/libdvdcss
rm -rf ${BUILDDIR}/lib/UnrarXLib
find ${BUILDDIR} -iname *dvdcss* -exec rm -rf "{}" \;
find ${BUILDDIR} -iname *unrar* -exec rm -rf "{}" \;
fi
if [ ! -z "$REMOVE_LIBS" ]; then
echo "Removing components not needed for Linux"
Expand All @@ -153,6 +153,9 @@ prepare_orig_tarball() {
rm -rf ${BUILDDIR}/lib/librtmp
rm -rf ${BUILDDIR}/lib/libshairport
rm -rf ${BUILDDIR}/lib/win32
find ${BUILDDIR} -iname *.so -o -iname *.exe -o -iname *.lib \
-o -iname *.dll -o -iname *.dylib -o -iname *.a \
-exec rm -rf "{}" \;
fi

if [ ! -z "$REMOVE_EXTERNAL" ]; then
Expand Down

0 comments on commit 5cc8f41

Please sign in to comment.