Convert pkgs to use the new cmake build helper.
This commit is contained in:
parent
277300c11a
commit
4602a9e4c5
11 changed files with 20 additions and 68 deletions
|
@ -1,12 +1,9 @@
|
|||
# Template file for 'aqemu'
|
||||
pkgname=aqemu
|
||||
version=0.8.2
|
||||
build_wrksrc=build
|
||||
distfiles="${SOURCEFORGE_SITE}/aqemu/aqemu-$version.tar.bz2"
|
||||
build_style=configure
|
||||
configure_script="cmake"
|
||||
configure_args="-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
||||
-DWITHOUT_EMBEDDED_DISPLAY=True .."
|
||||
build_style=cmake
|
||||
configure_args="-DWITHOUT_EMBEDDED_DISPLAY=1"
|
||||
short_desc="GUI to QEMU and KVM emulators, written in Qt4"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://aqemu.sourceforge.net"
|
||||
|
@ -27,8 +24,3 @@ Add_dependency build qt-devel
|
|||
|
||||
Add_dependency full qemu
|
||||
Add_dependency full desktop-file-utils
|
||||
|
||||
pre_configure()
|
||||
{
|
||||
mkdir -p ${build_wrksrc}
|
||||
}
|
||||
|
|
|
@ -2,10 +2,7 @@
|
|||
pkgname=automoc4
|
||||
version=0.9.88
|
||||
distfiles="ftp://ftp.kde.org/pub/kde/stable/$pkgname/$version/$pkgname-$version.tar.bz2"
|
||||
build_style=configure
|
||||
build_wrksrc=build
|
||||
configure_script=cmake
|
||||
configure_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .."
|
||||
build_style=cmake
|
||||
short_desc="Automatic moc for Qt 4 packages"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=234116f4c05ae21d828594d652b4c4a052ef75727e2d8a4f3a4fb605de9e4c49
|
||||
|
@ -19,8 +16,3 @@ Add_dependency run qt
|
|||
Add_dependency build pkg-config
|
||||
Add_dependency build cmake
|
||||
Add_dependency build qt-devel
|
||||
|
||||
pre_configure()
|
||||
{
|
||||
mkdir -p ${build_wrksrc}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,8 @@ version=1.1.5
|
|||
revision=1
|
||||
homepage="http://www.fluidsynth.org/"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
build_style=configure
|
||||
configure_script=cmake
|
||||
configure_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DLIB_SUFFIX= ."
|
||||
build_style=cmake
|
||||
configure_args="-DLIB_SUFFIX="
|
||||
short_desc="Real-time software synthesizer based on the SoundFont 2 specifications"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="LGPL-2.1"
|
||||
|
|
|
@ -3,9 +3,7 @@ pkgname=libmusicbrainz
|
|||
version=3.0.3
|
||||
homepage="http://musicbrainz.org/"
|
||||
distfiles="ftp://ftp.musicbrainz.org/pub/musicbrainz/$pkgname-$version.tar.gz"
|
||||
build_style=configure
|
||||
configure_script="cmake"
|
||||
configure_args="-DCMAKE_INSTALL_PREFIX:PATH=/usr -DBUILD_STATIC_LIBS:BOOL=OFF ."
|
||||
build_style=cmake
|
||||
short_desc="Library That Provides Access to the MusicBrainz Server"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="LGPL-2.1"
|
||||
|
|
|
@ -2,11 +2,9 @@
|
|||
pkgname=libproxy
|
||||
version=0.4.6
|
||||
distfiles="http://libproxy.googlecode.com/files/$pkgname-$version.tar.gz"
|
||||
build_style=configure
|
||||
configure_script=cmake
|
||||
configure_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
|
||||
-DWITH_GNOME=off -DWITH_KDE4=off -DWITH_MOZJS=off -DWITH_NM=off -DWITH_PERL=off
|
||||
-DWITH_PYTHON=yes -DWITH_WEBKIT=off"
|
||||
build_style=cmake
|
||||
configure_args="-DWITH_GNOME=0 -DWITH_KDE4=0 -DWITH_MOZJS=0 -DWITH_NM=0
|
||||
-DWITH_PERL=0 -DWITH_PYTHON=1 -DWITH_WEBKIT=0"
|
||||
short_desc="A library handling all the details of proxy configuration"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=9ad912e63b1efca98fb442240a2bc7302e6021c1d0b1b9363327729f29462f30
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
pkgname=lightspark
|
||||
version=0.4.5
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DAUDIO_BACKEND=pulse -DENABLE_CURL=1 -DCOMPILE_PLUGIN=1"
|
||||
distfiles="http://launchpad.net/lightspark/trunk/$pkgname-$version/+download/$pkgname-$version.tar.gz"
|
||||
short_desc="Modern, free, open-source flash player implementation"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -42,6 +44,7 @@ Add_dependency run libpulseaudio
|
|||
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build cmake
|
||||
Add_dependency build nasm
|
||||
Add_dependency build libffi-devel
|
||||
Add_dependency build libX11-devel
|
||||
Add_dependency build fontconfig-devel
|
||||
|
@ -61,29 +64,7 @@ Add_dependency build glibmm-devel
|
|||
Add_dependency build libstdc++-devel
|
||||
Add_dependency build cairo-devel
|
||||
Add_dependency build pulseaudio-devel
|
||||
Add_dependency build llvm-devel
|
||||
|
||||
Add_dependency full hicolor-icon-theme
|
||||
Add_dependency full desktop-file-utils
|
||||
|
||||
do_build()
|
||||
{
|
||||
# LLVM 2.8 bug.
|
||||
sed -i '22i#define alignof _alignof' scripting/abc.h
|
||||
|
||||
mkdir -p ${wrksrc}/build && cd ${wrksrc}/build || return 1
|
||||
|
||||
cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DAUDIO_BACKEND="pulse" \
|
||||
-DENABLE_CURL=1 \
|
||||
-DCOMPILE_PLUGIN=1 \
|
||||
.. || return 1
|
||||
|
||||
make ${makejobs} || return 1
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
cd ${wrksrc}/build || return 1
|
||||
make DESTDIR=${DESTDIR} install || return 1
|
||||
}
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
pkgname=physfs
|
||||
version=2.0.2
|
||||
distfiles="http://icculus.org/physfs/downloads/physfs-$version.tar.gz"
|
||||
build_style=configure
|
||||
configure_script="cmake"
|
||||
configure_args=". -DCMAKE_INSTALL_PREFIX=/usr"
|
||||
build_style=cmake
|
||||
short_desc="Library to provide abstract access to various archives"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=ae296d3148228e03fd56cc9ea58af02f87dcbb1fadef125c18b709ab37f0bc09
|
||||
|
|
|
@ -3,10 +3,8 @@ pkgname=strigi
|
|||
version=0.7.2
|
||||
revision=1
|
||||
distfiles="http://www.vandenoever.info/software/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||
build_style=configure
|
||||
configure_script=cmake
|
||||
configure_args="-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
||||
-DENABLE_INOTIFY=ON ."
|
||||
build_style=cmake
|
||||
configure_args="-DENABLE_INOTIFY=ON"
|
||||
short_desc="Small fast desktop searching program"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=1ca421bbe420d1839bbe6bfe7c4b52a05590a9b7a7eda77924b554c98e602ab8
|
||||
|
|
|
@ -33,7 +33,7 @@ Add_dependency build libXext-devel
|
|||
Add_dependency build libXinerama-devel
|
||||
|
||||
do_build() {
|
||||
cmake -D CMAKE_INSTALL_PREFIX=/usr .
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr .
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
|
|
|
@ -2,10 +2,8 @@
|
|||
pkgname=taglib
|
||||
version=1.6.3
|
||||
distfiles="http://developer.kde.org/~wheeler/files/src/$pkgname-$version.tar.gz"
|
||||
build_style=configure
|
||||
configure_script=cmake
|
||||
configure_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
|
||||
-DWITH_MP4=ON -DWITH_ASF=ON"
|
||||
build_style=cmake
|
||||
configure_args="-DWITH_MP4=ON -DWITH_ASF=ON"
|
||||
short_desc="Library for accessing ID tags in various media files"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=a9ba089cc2c6d26d266bad492de31cadaeb878dea858e22ae3196091718f284b
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
pkgname=weechat
|
||||
version=0.3.5
|
||||
distfiles="http://www.weechat.org/files/src//$pkgname-$version.tar.bz2"
|
||||
build_style=configure
|
||||
configure_script="cmake"
|
||||
configure_args="-DPREFIX=/usr ."
|
||||
build_style=cmake
|
||||
short_desc="Fast, light and extensible IRC client (curses UI)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.weechat.org/"
|
||||
|
|
Loading…
Reference in a new issue