obs-gamecapture-plugin/debian/rules
Ward Nakchbandi (Cosmic Fusion) 309c607a73 add lunar
2023-04-30 20:39:05 +03:00

19 lines
524 B
Makefile
Executable File

#!/usr/bin/make -f
%:
dh $@
ifeq (i386,$(DEB_HOST_ARCH))
override_dh_auto_configure:
dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DATADIR=/usr/share -DCMAKE_LIBRARY_PATH=/usr/lib/i386-linux-gnu -DBUILD_PLUGIN=OFF
else
override_dh_auto_configure:
dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DATADIR=/usr/share -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
endif
ifeq (i386,$(DEB_HOST_ARCH))
override_dh_install:
dh_install
rm -r debian/obs-gamecapture-plugin/usr/bin
endif