From 338d8991ff58e4efd5ccbc566a1f26ea8bdf804e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 14 Apr 2013 11:26:34 +0200 Subject: [PATCH] Convert packages to the new template format (q). --- srcpkgs/qemu-kvm/template | 17 ++-- srcpkgs/qemu-user-static/template | 6 ++ srcpkgs/qemu/template | 18 +++-- srcpkgs/qjackctl/template | 15 ++-- srcpkgs/qpdf/libqpdf-devel.template | 13 ---- srcpkgs/qpdf/libqpdf.template | 10 --- srcpkgs/qpdf/template | 28 ++++++- srcpkgs/qrencode/libqrencode.template | 7 -- srcpkgs/qrencode/qrencode-devel.template | 10 --- srcpkgs/qrencode/template | 25 +++++- srcpkgs/qsynth/template | 20 ++--- srcpkgs/qt/qt-designer.template | 33 -------- srcpkgs/qt/qt-devel-tools.template | 38 --------- srcpkgs/qt/qt-devel.template | 21 ----- srcpkgs/qt/qt-plugin-mysql.template | 14 ---- srcpkgs/qt/qt-plugin-pgsql.template | 14 ---- srcpkgs/qt/qt-plugin-sqlite.template | 14 ---- srcpkgs/qt/qt-qmake.template | 22 ------ srcpkgs/qt/qt-qtconfig.template | 26 ------- srcpkgs/qt/template | 98 +++++++++++++++++++++++- srcpkgs/qtractor/template | 8 +- srcpkgs/quvi/template | 11 ++- 22 files changed, 208 insertions(+), 260 deletions(-) delete mode 100644 srcpkgs/qpdf/libqpdf-devel.template delete mode 100644 srcpkgs/qpdf/libqpdf.template delete mode 100644 srcpkgs/qrencode/libqrencode.template delete mode 100644 srcpkgs/qrencode/qrencode-devel.template delete mode 100644 srcpkgs/qt/qt-designer.template delete mode 100644 srcpkgs/qt/qt-devel-tools.template delete mode 100644 srcpkgs/qt/qt-devel.template delete mode 100644 srcpkgs/qt/qt-plugin-mysql.template delete mode 100644 srcpkgs/qt/qt-plugin-pgsql.template delete mode 100644 srcpkgs/qt/qt-plugin-sqlite.template delete mode 100644 srcpkgs/qt/qt-qmake.template delete mode 100644 srcpkgs/qt/qt-qtconfig.template diff --git a/srcpkgs/qemu-kvm/template b/srcpkgs/qemu-kvm/template index 2a44d5ad51..baa62e2ef7 100644 --- a/srcpkgs/qemu-kvm/template +++ b/srcpkgs/qemu-kvm/template @@ -2,10 +2,6 @@ pkgname=qemu-kvm version=1.2.0 revision=5 -nostrip=yes -conflicts="qemu>=0" -provides="qemu-$version" -replaces="qemu>=0" build_style=configure configure_args="--prefix=/usr --sysconfdir=/etc --enable-spice --enable-kvm --audio-drv-list=alsa,sdl,pa --disable-xen @@ -16,7 +12,6 @@ makedepends="perl python attr-devel libpng-devel>=1.5.10 libjpeg-turbo-devel ncu libsasl-devel spice-protocol spice-devel glib-devel MesaLib-devel pulseaudio-devel libcurl-devel xfsprogs-devel libcap-ng-devel libcap-devel vde2-devel nss-devel libtool libseccomp-devel" -conf_files="/etc/qemu/target-x86_64.conf" short_desc="Open Source Processor Emulator -- KVM version" maintainer="Juan RP " homepage="http://www.linux-kvm.org" @@ -39,3 +34,15 @@ post_install() { # qemu-bridge-helper must be setuid for non privileged users. chmod u+s ${DESTDIR}/usr/libexec/qemu-bridge-helper } + +qemu-kvm_package() { + conf_files="/etc/qemu/target-x86_64.conf" + replaces="qemu>=0" + provides="qemu-${version}" + conflicts="qemu>=0" + nostrip=yes + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/qemu-user-static/template b/srcpkgs/qemu-user-static/template index 8aef2e59d9..50b9ddad77 100644 --- a/srcpkgs/qemu-user-static/template +++ b/srcpkgs/qemu-user-static/template @@ -33,3 +33,9 @@ do_install() { mv ${f} ${f}-static done } + +qemu-user-static_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/qemu/template b/srcpkgs/qemu/template index 36785afc5b..ed49db8486 100644 --- a/srcpkgs/qemu/template +++ b/srcpkgs/qemu/template @@ -7,7 +7,6 @@ configure_args="--prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec --enable-kvm --audio-drv-list=alsa,sdl,pa --disable-xen --enable-vhost-net --enable-vnc-png --enable-vnc-tls --enable-virtfs --disable-fdt --enable-seccomp --enable-spice" -conf_files="/etc/qemu/target-${XBPS_MACHINE}.conf" short_desc="Open Source Processor Emulator" maintainer="Juan RP " homepage="http://qemu.org" @@ -15,11 +14,6 @@ license="GPL-2, LGPL-2.1" distfiles="http://wiki.qemu.org/download/qemu-${version}.tar.bz2" checksum=066297ed77408fb7588889c271a85cf3c259ad55c939315988e6062d7708eda8 -nostrip=yes -conflicts="qemu-kvm>=0" -provides="qemu-kvm-$version" -replaces="qemu-kvm>=0" - makedepends="perl python attr-devel libpng-devel>=1.5.10 libjpeg-turbo-devel libuuid-devel libX11-devel alsa-lib-devel gnutls-devel>=3.1.5 SDL-devel libsasl-devel spice-protocol spice-devel glib-devel libtool @@ -31,3 +25,15 @@ post_install() { # qemu-bridge-helper must be setuid for non privileged users. chmod u+s ${DESTDIR}/usr/libexec/qemu-bridge-helper } + +qemu_package() { + nostrip=yes + conf_files="/etc/qemu/target-.conf" + replaces="qemu-kvm>=0" + provides="qemu-kvm-${version}" + conflicts="qemu-kvm>=0" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/qjackctl/template b/srcpkgs/qjackctl/template index 2022f57eef..a381ffbb87 100644 --- a/srcpkgs/qjackctl/template +++ b/srcpkgs/qjackctl/template @@ -1,17 +1,15 @@ # Template file for 'qjackctl' pkgname=qjackctl version=0.3.9 -homepage="http://qjackctl.sourceforge.net" -distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" +revision=1 build_style=gnu-configure configure_args="--enable-jack-version" - -depends="desktop-file-utils hicolor-icon-theme jack" makedepends="pkg-config libX11-devel qt-devel jack-devel" -revision=1 short_desc="JACK Audio Connection Kit - Qt GUI Interface" maintainer="davehome " license="GPL-2" +homepage="http://qjackctl.sourceforge.net" +distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=5ee8d60675cc65eca8e3aea8ff42770efd6ff84293f9b0f9c2c7acd2383d9a28 long_desc=" QjackCtl is a simple Qt application to control the JACK sound server daemon, @@ -24,3 +22,10 @@ long_desc=" are properly saved between sessions, and a way control of the status of the audio server daemon. With time, this primordial interface has become richer by including a enhanced patchbay and connection control features." + +qjackctl_package() { + depends="desktop-file-utils hicolor-icon-theme jack" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/qpdf/libqpdf-devel.template b/srcpkgs/qpdf/libqpdf-devel.template deleted file mode 100644 index e36e7aff51..0000000000 --- a/srcpkgs/qpdf/libqpdf-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'qpdf-devel'. -# -noarch=yes -depends="libqpdf>=${version}" -short_desc="${short_desc} -- development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/qpdf/libqpdf.template b/srcpkgs/qpdf/libqpdf.template deleted file mode 100644 index 968b94ae6e..0000000000 --- a/srcpkgs/qpdf/libqpdf.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libqpdf'. -# -short_desc="${short_desc} -- shared library" -long_desc="${long_desc} - - This package contains the shared library." - -do_install() { - vmove "usr/lib/*.so*" usr/lib -} diff --git a/srcpkgs/qpdf/template b/srcpkgs/qpdf/template index 754971bbed..ad7b1ba026 100644 --- a/srcpkgs/qpdf/template +++ b/srcpkgs/qpdf/template @@ -1,11 +1,11 @@ # Template file for 'qpdf' pkgname=qpdf version=3.0.2 -revision=1 -subpackages="libqpdf libqpdf-devel" +revision=2 build_style=gnu-configure configure_args="--disable-static" -makedepends="perl pcre-devel" +hostmakedepends="perl" +makedepends="pcre-devel" short_desc="A Content-Preserving PDF Transformation System" maintainer="Juan RP " license="Artistic-2.0" @@ -18,3 +18,25 @@ long_desc=" pdf-to-pdf. It also provides many useful capabilities to developers of PDF-producing software or for people who just want to look at the innards of a PDF file to learn more about how they work." + +libqpdf_package() { + short_desc="${short_desc} -- shared library" + pkg_install() { + vmove "usr/lib/*.so*" + } +} + +libqpdf-devel_package() { + depends="libqpdf>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +qpdf_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/qrencode/libqrencode.template b/srcpkgs/qrencode/libqrencode.template deleted file mode 100644 index 881442198d..0000000000 --- a/srcpkgs/qrencode/libqrencode.template +++ /dev/null @@ -1,7 +0,0 @@ -# Template file for 'libqrencode'. -# -short_desc="${short_desc} -- runtime library" - -do_install() { - vmove "usr/lib/*.so*" usr/lib -} diff --git a/srcpkgs/qrencode/qrencode-devel.template b/srcpkgs/qrencode/qrencode-devel.template deleted file mode 100644 index 5c004b7b59..0000000000 --- a/srcpkgs/qrencode/qrencode-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'qrencode-devel'. -# -depends="libqrencode-${version}_${revision}" -short_desc="${short_desc} -- development files" -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/qrencode/template b/srcpkgs/qrencode/template index 3b5b4cec7a..2f078293ec 100644 --- a/srcpkgs/qrencode/template +++ b/srcpkgs/qrencode/template @@ -1,14 +1,35 @@ # Template file for 'qreconde' pkgname=qrencode version=3.4.2 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="pkg-config" makedepends="libpng-devel" -subpackages="${pkgname}-devel lib${pkgname}" short_desc="Library for encoding data in a QR Code symbol" maintainer="Juan RP " homepage="http://fukuchi.org/works/qrencode/index.html.en" license="LGPL-2.1" distfiles="http://fukuchi.org/works/qrencode/qrencode-${version}.tar.bz2" checksum=fc492a506a1460c1ce850ff6137db55cb2e3d466f4c559108aae3a96d623c1b1 + +qrencode-devel_package() { + depends="libqrencode-${version}_${revision}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libqrencode_package() { + short_desc="${short_desc} -- runtime library" + pkg_install() { + vmove "usr/lib/*.so*" + } +} + +qrencode_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/qsynth/template b/srcpkgs/qsynth/template index dae1887a2b..679c82f351 100644 --- a/srcpkgs/qsynth/template +++ b/srcpkgs/qsynth/template @@ -1,16 +1,14 @@ # Template file for 'qsynth' pkgname=qsynth version=0.3.6 -homepage="http://qsynth.sourceforge.net" -distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" -build_style=gnu-configure revision=1 -depends="jack" -makedepends="pkg-config qt-devel jack-devel fluidsynth-devel" -fulldepends="desktop-file-utils hicolor-icon-theme" +build_style=gnu-configure +makedepends="pkg-config qt-devel jack-devel fluidsynth-devel desktop-file-utils hicolor-icon-theme" short_desc="Qt GUI Interface for FluidSynth" maintainer="davehome " license="GPL-2" +homepage="http://qsynth.sourceforge.net" +distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=b5968da98661bac5c9fcc93d3a15851594dfbf3bb7d01ace15fbe8779d53fb3c long_desc=" Qsynth is a fluidsynth GUI front-end application written in C++ around the @@ -20,7 +18,9 @@ long_desc=" FluidSynth is a command line software synthesiser based on the Soundfont specification." - - - - +qsynth_package() { + depends="jack desktop-file-utils hicolor-icon-theme" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/qt/qt-designer.template b/srcpkgs/qt/qt-designer.template deleted file mode 100644 index 4ecd1eb258..0000000000 --- a/srcpkgs/qt/qt-designer.template +++ /dev/null @@ -1,33 +0,0 @@ -# Template file for 'qt-designer'. -# -depends="hicolor-icon-theme" - -short_desc="Qt GUI designer" -long_desc="${long_desc} - - Qt Designer is a tool for designing and building graphical user - interfaces (GUIs) from Qt components." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib/qt/plugins \ - ${DESTDIR}/usr/bin \ - ${DESTDIR}/usr/share/icons/hicolor/128x128/apps \ - ${DESTDIR}/usr/share/applications \ - ${DESTDIR}/usr/share/qt/translations - - mv ${SRCPKGDESTDIR}/usr/bin/designer ${DESTDIR}/usr/bin - mv ${SRCPKGDESTDIR}/usr/lib/libQtDesigner.so* \ - ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/libQtDesignerComponents.so* \ - ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/qt/plugins/designer \ - ${DESTDIR}/usr/lib/qt/plugins - for d in /usr/share/icons/hicolor/128x128/apps \ - /usr/share/applications; do - mkdir -p ${DESTDIR}/${d} - mv ${SRCPKGDESTDIR}/${d}/designer.* ${DESTDIR}/${d} - done - mv ${SRCPKGDESTDIR}/usr/share/qt/translations/designer* \ - ${DESTDIR}/usr/share/qt/translations -} diff --git a/srcpkgs/qt/qt-devel-tools.template b/srcpkgs/qt/qt-devel-tools.template deleted file mode 100644 index 49cc87f007..0000000000 --- a/srcpkgs/qt/qt-devel-tools.template +++ /dev/null @@ -1,38 +0,0 @@ -# Template file for 'qt-devel-tools'. -# -depends="hicolor-icon-theme" - -short_desc="Qt development tools" -long_desc="${long_desc} - - This packages contains tools used to assist in Qt development, including - the Qt Assistant, Linguist, D-Bus Viewer and Pixel Tool applications. " - -do_install() -{ - mkdir -p ${DESTDIR}/usr/bin - for f in assistant* lconvert linguist pixeltool qcollectiongenerator \ - qdbusviewer qhelp* xmlpatterns* qdbus qttrace* qdoc3 \ - qmlviewer; do - mv ${SRCPKGDESTDIR}/usr/bin/${f} ${DESTDIR}/usr/bin - done - mkdir -p ${DESTDIR}/usr/lib - mkdir -p ${DESTDIR}/usr/share/applications - mkdir -p ${DESTDIR}/usr/share/pixmaps - mkdir -p ${DESTDIR}/usr/share/icons - - mv ${SRCPKGDESTDIR}/usr/share/icons/hicolor \ - ${DESTDIR}/usr/share/icons - for f in linguist assistant; do - mv ${SRCPKGDESTDIR}/usr/share/applications/${f}.desktop \ - ${DESTDIR}/usr/share/applications - [ ! -f ${SRCPKGDESTDIR}/usr/share/pixmaps/${f}.png ] && continue - mv ${SRCPKGDESTDIR}/usr/share/pixmaps/${f}.png \ - ${DESTDIR}/usr/share/pixmaps - done - - mv ${SRCPKGDESTDIR}/usr/share/qt/translations \ - ${DESTDIR}/usr/share/qt - mv ${SRCPKGDESTDIR}/usr/share/qt/phrasebooks \ - ${DESTDIR}/usr/share/qt -} diff --git a/srcpkgs/qt/qt-devel.template b/srcpkgs/qt/qt-devel.template deleted file mode 100644 index c96b4de815..0000000000 --- a/srcpkgs/qt/qt-devel.template +++ /dev/null @@ -1,21 +0,0 @@ -# Template file for 'qt-devel'. -# -depends="qt-qmake libX11-devel icu-devel" -short_desc="Qt development files" -long_desc="${long_desc} - - This package contains the header development files and development - programs used for runing Qt applications." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/bin - for f in lrelease lupdate moc qdbuscpp2xml qdbusxml2cpp qt3to4 \ - rcc uic uic3; do - mv ${SRCPKGDESTDIR}/usr/bin/${f} ${DESTDIR}/usr/bin - done - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.prl ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/qt/qt-plugin-mysql.template b/srcpkgs/qt/qt-plugin-mysql.template deleted file mode 100644 index 75032f352b..0000000000 --- a/srcpkgs/qt/qt-plugin-mysql.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'qt-plugin-mysql'. -# -short_desc="Qt MySQL plugin" -long_desc="${long_desc} - - This package contains a Qt SQL plugin for MySQL." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib/qt/plugins/sqldrivers - - mv ${SRCPKGDESTDIR}/usr/lib/qt/plugins/sqldrivers/libqsqlmysql.so \ - ${DESTDIR}/usr/lib/qt/plugins/sqldrivers -} diff --git a/srcpkgs/qt/qt-plugin-pgsql.template b/srcpkgs/qt/qt-plugin-pgsql.template deleted file mode 100644 index 184aa9b8ea..0000000000 --- a/srcpkgs/qt/qt-plugin-pgsql.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'qt-plugin-pgsql'. -# -short_desc="Qt PostgreSQL plugin" -long_desc="${long_desc} - - This package contains a Qt SQL plugin for PostgreSQL." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib/qt/plugins/sqldrivers - - mv ${SRCPKGDESTDIR}/usr/lib/qt/plugins/sqldrivers/libqsqlpsql.so \ - ${DESTDIR}/usr/lib/qt/plugins/sqldrivers -} diff --git a/srcpkgs/qt/qt-plugin-sqlite.template b/srcpkgs/qt/qt-plugin-sqlite.template deleted file mode 100644 index 529d2e3a39..0000000000 --- a/srcpkgs/qt/qt-plugin-sqlite.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'qt-plugin-sqlite'. -# -short_desc="Qt SQLite plugin" -long_desc="${long_desc} - - This package contains a Qt SQL plugin for SQLite." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib/qt/plugins/sqldrivers - - mv ${SRCPKGDESTDIR}/usr/lib/qt/plugins/sqldrivers/libqsqlite.so \ - ${DESTDIR}/usr/lib/qt/plugins/sqldrivers -} diff --git a/srcpkgs/qt/qt-qmake.template b/srcpkgs/qt/qt-qmake.template deleted file mode 100644 index 9b247dc716..0000000000 --- a/srcpkgs/qt/qt-qmake.template +++ /dev/null @@ -1,22 +0,0 @@ -# Template file for 'qt-qmake'. -# -short_desc="Qt qmake Makefile generator tool" -long_desc="${long_desc} - - This package contains Qt 4 qmake (qmake), a tool that helps simplify the - build process for development project across different platforms. qmake - automates the generation of Makefiles so that only a few lines of information - are needed to create each Makefile. qmake can be used for any software - project, whether it is written using Qt or not. - - Qt qmake requires a platform and compiler description file which contains - many default values used to generate appropriate Makefiles. - - This package contains also these platform specifications." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/share/qt - mv ${SRCPKGDESTDIR}/usr/bin/qmake ${DESTDIR}/usr/bin - mv ${SRCPKGDESTDIR}/usr/share/qt/mkspecs ${DESTDIR}/usr/share/qt -} diff --git a/srcpkgs/qt/qt-qtconfig.template b/srcpkgs/qt/qt-qtconfig.template deleted file mode 100644 index 05c0337a94..0000000000 --- a/srcpkgs/qt/qt-qtconfig.template +++ /dev/null @@ -1,26 +0,0 @@ -# Template file for 'qt-qtconfig'. -# -depends="hicolor-icon-theme" - -short_desc="Qt configuration tool" -long_desc="${long_desc} - - The Qt Configuration program allows end users to configure the look - and behavior of any Qt application." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/bin \ - ${DESTDIR}/usr/share/pixmaps \ - ${DESTDIR}/usr/share/applications \ - ${DESTDIR}/usr/share/qt/translations - - mv ${SRCPKGDESTDIR}/usr/bin/qtconfig \ - ${DESTDIR}/usr/bin - mv ${SRCPKGDESTDIR}/usr/share/applications/qtconfig.desktop \ - ${DESTDIR}/usr/share/applications - mv ${SRCPKGDESTDIR}/usr/share/pixmaps/qtlogo.png \ - ${DESTDIR}/usr/share/pixmaps - mv ${SRCPKGDESTDIR}/usr/share/qt/translations/qtconfig* \ - ${DESTDIR}/usr/share/qt/translations -} diff --git a/srcpkgs/qt/template b/srcpkgs/qt/template index 025fc7a6b5..0ce07b17ad 100644 --- a/srcpkgs/qt/template +++ b/srcpkgs/qt/template @@ -11,9 +11,6 @@ license="GPL-3, LGPL-2.1" distfiles="http://releases.qt-project.org/qt4/source/${_distname}-$version.tar.gz" checksum=33b0e38ba4c54a0cf8a4be8ca5a4584f1c2e0adfecb57b21d9d1d267b0093270 -subpackages="qt-plugin-pgsql qt-plugin-mysql qt-plugin-sqlite - qt-qmake qt-qtconfig qt-designer qt-devel qt-devel-tools" - # XXX Missing dependencies: unixodbc. makedepends="pkg-config libpng-devel>=1.5.10 MesaLib-devel libXrender-devel fontconfig-devel libXi-devel libXv-devel libXinerama-devel libXrandr-devel @@ -70,3 +67,98 @@ do_install() { vinstall LGPL_EXCEPTION.txt 644 usr/share/licenses/qt } + +qt-plugin-pgsql_package() { + short_desc="Qt PostgreSQL plugin" + pkg_install() { + vmove usr/lib/qt/plugins/sqldrivers/libqsqlpsql.so + } +} + +qt-plugin-mysql_package() { + short_desc="Qt MySQL plugin" + pkg_install() { + vmove usr/lib/qt/plugins/sqldrivers/libqsqlmysql.so + } +} + +qt-plugin-sqlite_package() { + short_desc="Qt SQLite plugin" + pkg_install() { + vmove usr/lib/qt/plugins/sqldrivers/libqsqlite.so + } +} +} + +qt-qmake_package() { + short_desc="Qt qmake Makefile generator tool" + pkg_install() { + vmove usr/bin/qemu + vmove usr/share/qt/mkspecs + } +} + +qt-qtconfig_package() { + depends="hicolor-icon-theme" + short_desc="Qt configuration tool" + pkg_install() { + vmove usr/bin/qtconfig + vmove usr/share/applications/qtconfig.desktop + vmove usr/share/pixmaps/qtlogo.png + vmove "usr/share/qt/translations/qtconfig*" + } +} + +qt-designer_package() { + depends="hicolor-icon-theme" + short_desc="Qt GUI designer" + pkg_install() { + vmove usr/bin/designer + vmove "usr/lib/libQtDesigner.so*" + vmove "usr/lib/libQtDesignerComponents.so*" + vmove usr/lib/qt/plugins/designer + vmove "usr/share/icons/hicolor/128x128/apps/designer.*" + vmove "usr/share/applications/designer.*" + vmove "usr/share/qt/translations/designer*" + } +} + +qt-devel_package() { + depends="qt-qmake libX11-devel icu-devel" + short_desc="Qt development files" + pkg_install() { + for f in lrelease lupdate moc qdbuscpp2xml qdbusxml2cpp qt3to4 \ + rcc uic uic3; do + vmove usr/bin/${f} + done + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.prl" + vmove usr/lib/pkgconfig + } +} + +qt-devel-tools_package() { + depends="hicolor-icon-theme" + short_desc="Qt development tools" + pkg_install() { + for f in assistant* lconvert linguist pixeltool qcollectiongenerator \ + qdbusviewer qhelp* xmlpatterns* qdbus qttrace* qdoc3 qmlviewer; do + vmove usr/bin/${f} + done + vmove usr/share/icons/hicolor + for f in linguist assistant; do + vmove usr/share/applications/${f}.desktop + [ ! -f ${DESTDIR}/usr/share/pixmaps/${f}.png ] && continue + vmove usr/share/pixmaps/${f}.png + done + vmove usr/share/qt/translations + vmove usr/share/qt/phrasebooks + } +} + +qt_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/qtractor/template b/srcpkgs/qtractor/template index 38a9d56cf8..1045b7a094 100644 --- a/srcpkgs/qtractor/template +++ b/srcpkgs/qtractor/template @@ -8,10 +8,16 @@ makedepends="pkg-config jack-devel alsa-lib-devel libsndfile-devel libvorbis-devel libmad-devel libsamplerate-devel qt-devel lv2 liblo-devel rubberband-devel vamp-plugin-sdk-devel ladspa-sdk dssi-devel lilv-devel suil-devel serd-devel sord-devel sratom-devel" -depends="jack dssi lv2 desktop-file-utils hicolor-icon-theme" short_desc="Audio/MIDI multi-track sequencer application written in C++/Qt4" maintainer="davehome " license="GPL-2" homepage="http://qtractor.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=09708652b2b8b12dbc28a9ec1e0f2d105ee0cb4ed29b8d33c477f4455be1600d + +qtractor_package() { + depends="jack dssi lv2 desktop-file-utils hicolor-icon-theme" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/quvi/template b/srcpkgs/quvi/template index 1f62294cba..d93aa1b5ae 100644 --- a/srcpkgs/quvi/template +++ b/srcpkgs/quvi/template @@ -1,14 +1,14 @@ # Template file for 'quvi' pkgname=quvi version=0.4.1 -homepage="http://quvi.sourceforge.net/" -distfiles="${SOURCEFORGE_SITE}/quvi/quvi-$version.tar.gz" +revision=1 build_style=gnu-configure makedepends="pkg-config libquvi-devel" -revision=1 short_desc="Command-line tool for parsing video download links" maintainer="Juan RP " license="LGPL-2.1" +homepage="http://quvi.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/quvi/quvi-$version.tar.gz" checksum=0dd934a4fc0e58d2655efe85c212e182f3adbbde4690d00a735177e1e264ba5a long_desc=" It originates from the idea of working around the flash requirement found @@ -21,3 +21,8 @@ long_desc=" * Supports 40+ websites * C API is simple to use" +quvi_package() { + pkg_install() { + vmove usr + } +}