summaryrefslogtreecommitdiff
path: root/libxfce4ui-nocsd/debian/rules
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2021-02-15 16:17:10 +0000
committerB Stack <bgstack15@gmail.com>2021-02-15 16:17:10 +0000
commit65170e98b7c67dc1dd96557018f92fcc2504a148 (patch)
treeb1547a9a43b9d521bcb8d9620bf3929753e09702 /libxfce4ui-nocsd/debian/rules
parentMerge branch 'palemoon-bump' into 'master' (diff)
parentadd libxfce4ui-nocsd (diff)
downloadstackrpms-65170e98b7c67dc1dd96557018f92fcc2504a148.tar.gz
stackrpms-65170e98b7c67dc1dd96557018f92fcc2504a148.tar.bz2
stackrpms-65170e98b7c67dc1dd96557018f92fcc2504a148.zip
Merge branch 'xfce4-nocsd' into 'master'
add libxfce4ui-nocsd See merge request bgstack15/stackrpms!218
Diffstat (limited to 'libxfce4ui-nocsd/debian/rules')
-rwxr-xr-xlibxfce4ui-nocsd/debian/rules34
1 files changed, 34 insertions, 0 deletions
diff --git a/libxfce4ui-nocsd/debian/rules b/libxfce4ui-nocsd/debian/rules
new file mode 100755
index 0000000..6a7a3ad
--- /dev/null
+++ b/libxfce4ui-nocsd/debian/rules
@@ -0,0 +1,34 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/default.mk
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1 -Wl,-z,defs
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+XFVENDOR=Debian
+ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes),yes)
+ XFVENDOR=Xubuntu
+endif
+
+ifneq (,$(findstring git,$(DEB_VERSION)))
+override_dh_autoreconf:
+ NOCONFIGURE=1 dh_autoreconf xdt-autogen
+EXTRA_CONFFLAGS=--enable-maintainer-mode
+endif
+
+%:
+ dh $@ --with gir
+
+override_dh_auto_configure:
+ dh_auto_configure -- --with-vendor-info=$(XFVENDOR) --enable-gtk-doc --enable-introspection=yes $(EXTRA_CONFFLAGS)
+
+override_dh_install:
+ifneq ($(XFVENDOR),Xubuntu)
+ dh_install --sourcedir=$(CURDIR) -plibxfce4ui-nocsd-utils debian/vendorinfo usr/share/xfce4
+endif
+ dh_install -X .la
+
+override_dh_missing:
+ dh_missing --fail-missing -X .la
+
+override_dh_makeshlibs:
+ dh_makeshlibs -plibxfce4ui-nocsd-2-0 -Xlibxfce4kbd-private
bgstack15