all repos — mgba @ 38cbe08be97e7e697724a8844fe0b45c85f8eb8e

mGBA Game Boy Advance Emulator

Tools: Fix and update sanitize-deb script
Vicki Pfau vi@endrift.com
Mon, 22 Apr 2019 12:57:58 -0700
commit

38cbe08be97e7e697724a8844fe0b45c85f8eb8e

parent

d7c86f5ab3f865394444979a33da7a92cc50608f

1 files changed, 7 insertions(+), 1 deletions(-)

jump to
M tools/sanitize-deb.shtools/sanitize-deb.sh

@@ -17,7 +17,7 @@

while [ $# -gt 0 ]; do DEB=$1 dpkg-deb -R $DEB deb-temp - PKG=`head -n1 deb-temp/DEBIAN/control | cut -f2 -d ' '` + PKG=`grep Package deb-temp/DEBIAN/control | cut -f2 -d ' '` echo Found package $PKG case $PKG in

@@ -30,9 +30,12 @@ *-qt)

PKG=$BINARY-qt rmdep libav rmdep libedit + rmdep libelf rmdep libpng rmdep libzip rmdep libmagickwand + rmdep libsqlite3 + rmdep libswresample rmdep libswscale rmdep zlib adddep lib$BINARY

@@ -41,10 +44,13 @@ *-sdl)

PKG=$BINARY-sdl rmdep libav rmdep libedit + rmdep libelf rmdep libpng rmdep qt rmdep libzip rmdep libmagickwand + rmdep libsqlite3 + rmdep libswresample rmdep libswscale rmdep zlib adddep lib$BINARY