File: rules

package info (click to toggle)
gnome-twitch 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,532 kB
  • ctags: 1,674
  • sloc: ansic: 12,232; xml: 85; makefile: 28; sh: 13
file content (28 lines) | stat: -rwxr-xr-x 800 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f
export DH_VERBOSE = 1
export MAKE = ninja -v
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -fPIC
export DEB_CPPFLAGS_MAINT_APPEND = -fPIC
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ 

override_dh_auto_configure:
	mkdir build && meson --buildtype plain --prefix /usr \
	               -Ddo-post-install=false \
	               -Db_lundef=false \
	               -Dwith-player-mpv-opengl=true \
	               -Dwith-player-gstreamer-clutter=true \
	               -Dwith-player-gstreamer-cairo=true \
	               -Dwith-player-gstreamer-opengl=true . build

override_dh_auto_build:
	$(MAKE) -C build all

override_dh_auto_clean:
	rm -rf build

override_dh_auto_install:
	DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C build install