obs-gamecapture-plugin/debian/rules

19 lines
524 B
Plaintext
Raw Normal View History

2023-02-23 21:24:51 +01:00
#!/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:
2023-04-30 19:39:05 +02:00
dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DATADIR=/usr/share -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
2023-02-23 21:24:51 +01:00
endif
ifeq (i386,$(DEB_HOST_ARCH))
override_dh_install:
dh_install
rm -r debian/obs-gamecapture-plugin/usr/bin
endif