summaryrefslogtreecommitdiff
path: root/libxfce4ui-nocsd/debian/rules
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2021-02-08 15:40:42 -0500
committerB Stack <bgstack15@gmail.com>2021-02-09 15:46:13 -0500
commit50d35f608a3f1a5aabdc5430312e3ce7ccbd28fb (patch)
treeb1547a9a43b9d521bcb8d9620bf3929753e09702 /libxfce4ui-nocsd/debian/rules
parentMerge branch 'palemoon-bump' into 'master' (diff)
downloadstackrpms-50d35f608a3f1a5aabdc5430312e3ce7ccbd28fb.tar.gz
stackrpms-50d35f608a3f1a5aabdc5430312e3ce7ccbd28fb.tar.bz2
stackrpms-50d35f608a3f1a5aabdc5430312e3ce7ccbd28fb.zip
add libxfce4ui-nocsd
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