|
|
|
@ -1,9 +1,9 @@
|
|
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
|
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
|
|
|
|
include /usr/share/cdbs/1/class/cmake.mk
|
|
|
|
|
include debian/cdbs/debian-qt-kde.mk
|
|
|
|
|
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
|
|
|
|
|
include /usr/share/cdbs/1/rules/utils.mk
|
|
|
|
|
|
|
|
|
|
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
|
|
|
|
|
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
|
|
|
|
@ -14,6 +14,16 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
|
|
|
|
|
--enable-new-ldflags \
|
|
|
|
|
--enable-webcam
|
|
|
|
|
|
|
|
|
|
DEB_CMAKE_EXTRA_FLAGS := \
|
|
|
|
|
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
|
|
|
|
|
-DCONFIG_INSTALL_DIR="/etc/trinity" \
|
|
|
|
|
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
|
|
|
|
|
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
|
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
|
-DCMAKE_VERBOSE_MAKEFILE="ON" \
|
|
|
|
|
-DCMAKE_SKIP_RPATH="OFF" \
|
|
|
|
|
-DWITH_ALL_OPTIONS="ON"
|
|
|
|
|
|
|
|
|
|
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
|
|
|
|
|
&& echo xz || echo bzip2)
|
|
|
|
|
|
|
|
|
@ -26,7 +36,10 @@ binary-install/tellico-data-trinity::
|
|
|
|
|
|
|
|
|
|
# Install mime info into system directory
|
|
|
|
|
mkdir -p debian/$(cdbs_curpkg)/usr/share/mime
|
|
|
|
|
mv debian/$(cdbs_curpkg)/opt/trinity/share/apps/mime debian/$(cdbs_curpkg)/usr/share/
|
|
|
|
|
[ ! -d debian/tmp/opt/trinity/share/apps/mime ] || \
|
|
|
|
|
mv debian/tmp/opt/trinity/share/apps/mime debian/$(cdbs_curpkg)/usr/share/
|
|
|
|
|
[ ! -d debian/tmp/opt/trinity/share/mime ] || \
|
|
|
|
|
mv debian/tmp/opt/trinity/share/mime debian/$(cdbs_curpkg)/usr/share/
|
|
|
|
|
mv debian/$(cdbs_curpkg)/usr/share/mime/packages/tellico.xml debian/$(cdbs_curpkg)/usr/share/mime/packages/tellico-trinity.xml
|
|
|
|
|
|
|
|
|
|
binary-install/tellico-trinity::
|
|
|
|
|