diff options
author | Slávek Banko <[email protected]> | 2016-09-18 21:07:17 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-09-18 21:07:17 +0200 |
commit | 4d6010755e20b70b9a1056fd0d9ffe3a090ca6be (patch) | |
tree | a148d80156ff35776649aea7163b4eed8efe3455 | |
parent | dd56d0db7e9620bb313ce4f1480d7d093ce7d9d1 (diff) | |
download | tde-packaging-4d6010755e20b70b9a1056fd0d9ffe3a090ca6be.tar.gz tde-packaging-4d6010755e20b70b9a1056fd0d9ffe3a090ca6be.zip |
Switch tellico to cmake on Debian and Ubuntu
Signed-off-by: Slávek Banko <[email protected]>
9 files changed, 60 insertions, 12 deletions
diff --git a/debian/lenny/applications/tellico/debian/control b/debian/lenny/applications/tellico/debian/control index bbf36874f..c28f57ec8 100644 --- a/debian/lenny/applications/tellico/debian/control +++ b/debian/lenny/applications/tellico/debian/control @@ -3,7 +3,11 @@ Section: tde Priority: optional Maintainer: Timothy Pearson <[email protected]> XSBC-Original-Maintainer: Regis Boudin <[email protected]> -Build-Depends: cdbs, debhelper (>= 7.0.50~), tdelibs14-trinity-dev, libxml2-dev, libxslt1-dev, libtag1-dev, libyaz3-dev | libyaz4-dev, libpoppler-tqt-dev, libexempi-dev, automake, autoconf, libtool, libltdl-dev +Build-Depends: cdbs, debhelper (>= 7.0.50~), cmake, + tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libtdepim1-trinity-dev, + libxml2-dev, libxslt1-dev, libtag1-dev, libyaz3-dev | libyaz4-dev, + libpoppler-tqt-dev, libexempi-dev, libbtparse-dev, libv4l-dev, + automake, autoconf, libtool, libltdl-dev Standards-Version: 3.8.4 Homepage: http://periapsis.org/tellico/ diff --git a/debian/lenny/applications/tellico/debian/rules b/debian/lenny/applications/tellico/debian/rules index 655227e28..52165e71f 100755 --- a/debian/lenny/applications/tellico/debian/rules +++ b/debian/lenny/applications/tellico/debian/rules @@ -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:: diff --git a/debian/lenny/applications/tellico/debian/tellico-data-trinity.install b/debian/lenny/applications/tellico/debian/tellico-data-trinity.install index 152ef011b..71150d6de 100644 --- a/debian/lenny/applications/tellico/debian/tellico-data-trinity.install +++ b/debian/lenny/applications/tellico/debian/tellico-data-trinity.install @@ -14,5 +14,4 @@ debian/tmp/opt/trinity/share/config.kcfg debian/tmp/opt/trinity/share/doc/tde debian/tmp/opt/trinity/share/icons debian/tmp/opt/trinity/share/locale -debian/tmp/opt/trinity/share/apps/mime debian/tmp/opt/trinity/share/mimelnk diff --git a/debian/squeeze/applications/tellico/debian/control b/debian/squeeze/applications/tellico/debian/control index bbf36874f..c28f57ec8 100644 --- a/debian/squeeze/applications/tellico/debian/control +++ b/debian/squeeze/applications/tellico/debian/control @@ -3,7 +3,11 @@ Section: tde Priority: optional Maintainer: Timothy Pearson <[email protected]> XSBC-Original-Maintainer: Regis Boudin <[email protected]> -Build-Depends: cdbs, debhelper (>= 7.0.50~), tdelibs14-trinity-dev, libxml2-dev, libxslt1-dev, libtag1-dev, libyaz3-dev | libyaz4-dev, libpoppler-tqt-dev, libexempi-dev, automake, autoconf, libtool, libltdl-dev +Build-Depends: cdbs, debhelper (>= 7.0.50~), cmake, + tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libtdepim1-trinity-dev, + libxml2-dev, libxslt1-dev, libtag1-dev, libyaz3-dev | libyaz4-dev, + libpoppler-tqt-dev, libexempi-dev, libbtparse-dev, libv4l-dev, + automake, autoconf, libtool, libltdl-dev Standards-Version: 3.8.4 Homepage: http://periapsis.org/tellico/ diff --git a/debian/squeeze/applications/tellico/debian/rules b/debian/squeeze/applications/tellico/debian/rules index 444df8a54..1c5fa7fe5 100755 --- a/debian/squeeze/applications/tellico/debian/rules +++ b/debian/squeeze/applications/tellico/debian/rules @@ -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:: diff --git a/debian/squeeze/applications/tellico/debian/tellico-data-trinity.install b/debian/squeeze/applications/tellico/debian/tellico-data-trinity.install index 152ef011b..71150d6de 100644 --- a/debian/squeeze/applications/tellico/debian/tellico-data-trinity.install +++ b/debian/squeeze/applications/tellico/debian/tellico-data-trinity.install @@ -14,5 +14,4 @@ debian/tmp/opt/trinity/share/config.kcfg debian/tmp/opt/trinity/share/doc/tde debian/tmp/opt/trinity/share/icons debian/tmp/opt/trinity/share/locale -debian/tmp/opt/trinity/share/apps/mime debian/tmp/opt/trinity/share/mimelnk diff --git a/ubuntu/maverick/applications/tellico/debian/control b/ubuntu/maverick/applications/tellico/debian/control index c7abdaf5f..241fda9b9 100644 --- a/ubuntu/maverick/applications/tellico/debian/control +++ b/ubuntu/maverick/applications/tellico/debian/control @@ -3,7 +3,11 @@ Section: tde Priority: optional Maintainer: Timothy Pearson <[email protected]> XSBC-Original-Maintainer: Regis Boudin <[email protected]> -Build-Depends: cdbs, debhelper (>= 7.0.50~), tdelibs14-trinity-dev, libxml2-dev, libxslt1-dev, libtag1-dev, libyaz3-dev | libyaz4-dev, libpoppler-tqt-dev, libexempi-dev, automake, autoconf, libtool, libltdl-dev +Build-Depends: cdbs, debhelper (>= 7.0.50~), cmake, + tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libtdepim1-trinity-dev, + libxml2-dev, libxslt1-dev, libtag1-dev, libyaz3-dev | libyaz4-dev, + libpoppler-tqt-dev, libexempi-dev, libbtparse-dev, libv4l-dev, + automake, autoconf, libtool, libltdl-dev Standards-Version: 3.8.4 Homepage: http://periapsis.org/tellico/ diff --git a/ubuntu/maverick/applications/tellico/debian/rules b/ubuntu/maverick/applications/tellico/debian/rules index 444df8a54..1c5fa7fe5 100755 --- a/ubuntu/maverick/applications/tellico/debian/rules +++ b/ubuntu/maverick/applications/tellico/debian/rules @@ -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:: diff --git a/ubuntu/maverick/applications/tellico/debian/tellico-data-trinity.install b/ubuntu/maverick/applications/tellico/debian/tellico-data-trinity.install index 152ef011b..71150d6de 100644 --- a/ubuntu/maverick/applications/tellico/debian/tellico-data-trinity.install +++ b/ubuntu/maverick/applications/tellico/debian/tellico-data-trinity.install @@ -14,5 +14,4 @@ debian/tmp/opt/trinity/share/config.kcfg debian/tmp/opt/trinity/share/doc/tde debian/tmp/opt/trinity/share/icons debian/tmp/opt/trinity/share/locale -debian/tmp/opt/trinity/share/apps/mime debian/tmp/opt/trinity/share/mimelnk |