Commit 04841f8e authored by IOhannes zmölnig's avatar IOhannes zmölnig

Use update-alternatives for selecting [gemdefaultwindow]

parent 3efad2e1
debian/tmp/usr/lib/pd/extra/Gem/gemglfw3window.pd_linux
gemdefaultwindow-glfw3.pd usr/lib/pd/extra/Gem/
#! /bin/sh
set -e
#DEBHELPER#
update-alternatives --install /usr/lib/pd/extra/Gem/gemdefaultwindow.pd gemdefaultwindow.pd /usr/lib/pd/extra/Gem/gemdefaultwindow-glfw3.pd 70
exit 0
#!/bin/sh -e
set -e
#DEBHELPER#
case "$1" in
(remove|deconfigure)
update-alternatives --remove gemdefaultwindow.pd /usr/lib/pd/extra/Gem/gemdefaultwindow-glfw3.pd
;;
(upgrade)
;;
(failed-upgrade)
;;
(*)
echo "prerm called with unknown argument \`$1'" >&2
exit 0
;;
esac
exit 0
debian/tmp/usr/lib/pd/extra/Gem/gemglutwindow.pd_linux
gemdefaultwindow-glut.pd usr/lib/pd/extra/Gem/
#! /bin/sh
set -e
#DEBHELPER#
update-alternatives --install /usr/lib/pd/extra/Gem/gemdefaultwindow.pd gemdefaultwindow.pd /usr/lib/pd/extra/Gem/gemdefaultwindow-glut.pd 70
exit 0
#!/bin/sh -e
set -e
#DEBHELPER#
case "$1" in
(remove|deconfigure)
update-alternatives --remove gemdefaultwindow.pd /usr/lib/pd/extra/Gem/gemdefaultwindow-glut.pd
;;
(upgrade)
;;
(failed-upgrade)
;;
(*)
echo "prerm called with unknown argument \`$1'" >&2
exit 0
;;
esac
exit 0
debian/tmp/usr/lib/pd/extra/Gem/gemsdlwindow.pd_linux
gemdefaultwindow-sdl.pd usr/lib/pd/extra/Gem/
#! /bin/sh
set -e
#DEBHELPER#
update-alternatives --install /usr/lib/pd/extra/Gem/gemdefaultwindow.pd gemdefaultwindow.pd /usr/lib/pd/extra/Gem/gemdefaultwindow-sdl.pd 70
exit 0
#!/bin/sh -e
set -e
#DEBHELPER#
case "$1" in
(remove|deconfigure)
update-alternatives --remove gemdefaultwindow.pd /usr/lib/pd/extra/Gem/gemdefaultwindow-sdl.pd
;;
(upgrade)
;;
(failed-upgrade)
;;
(*)
echo "prerm called with unknown argument \`$1'" >&2
exit 0
;;
esac
exit 0
......@@ -3,6 +3,7 @@ debian/tmp/usr/lib/pd/extra/Gem/gemglxwindow.pd_linux
debian/tmp/usr/lib/pd/extra/Gem/*.pd
debian/tmp/usr/lib/pd/extra/Gem/gem_videoDECKLINK.so
debian/tmp/usr/lib/pd/extra/Gem/gem_modelOBJ.so
gemdefaultwindow-glx.pd usr/lib/pd/extra/Gem/
README.txt usr/share/doc/gem/
debian/gem.xpm usr/share/pixmaps/
debian/pd-gem usr/bin/
#! /bin/sh
set -e
#DEBHELPER#
update-alternatives --install /usr/lib/pd/extra/Gem/gemdefaultwindow.pd gemdefaultwindow.pd /usr/lib/pd/extra/Gem/gemdefaultwindow-glx.pd 50
exit 0
#!/bin/sh -e
set -e
#DEBHELPER#
case "$1" in
(remove|deconfigure)
update-alternatives --remove gemdefaultwindow.pd /usr/lib/pd/extra/Gem/gemdefaultwindow-glx.pd
;;
(upgrade)
;;
(failed-upgrade)
;;
(*)
echo "prerm called with unknown argument \`$1'" >&2
exit 0
;;
esac
exit 0
......@@ -101,6 +101,7 @@ override_dh_auto_test:
override_dh_install:
find src/Output/ -name "*.cpp" -exec \
./debian/scripts/gemdefaultwindow.sh abstractions/gemdefaultwindow.pd.in {} +
-find debian/tmp/ -name gemdefaultwindow.pd -delete
dh_install
# remove libtool files, they are not needed
-find debian/gem-extra/usr/lib/ -name '*.la' -delete
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment