Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Qwt6 PKGBUILD
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Luiz Romário Santana Rios  
View profile  
 More options May 24 2012, 9:10 pm
From: Luiz Romário Santana Rios <luizroma...@gmail.com>
Date: Thu, 24 May 2012 18:10:01 -0700 (PDT)
Local: Thurs, May 24 2012 9:10 pm
Subject: [Review] Qwt6 PKGBUILD
Hello. First-time CCR contributor here, so I thought it would be
better to submit a review request before uploading this to CCR.

Based on this[http://aur.archlinux.org/packages.php?ID=45678], I made
a PKGBUILD for the newest Qwt version (6.0.1). It obviously conflicts
with qwt and it doesn't provide qwt either, because qwt6 is not
retrocompatible with qwt5 (a little bit offtopic, but why, aside from
kdebindings-python and kdebindings-smokegen, do all packages from the
kdebindings group require qwt?). Here it goes:

# Based on the qwt-beta AUR PKGBUILD from neon <PM on
bbs.archlinux.org for contact>
pkgname=qwt6
pkgver=6.0.1
pkgrel=1
pkgdesc="The Qwt library contains GUI Components and utility classes
which are primarily useful for programs with a technical background.
Beside a 2D plot widget it provides scales, sliders, dials, compasses,
thermometers, wheels and knobs to control or display values, arrays,
or ranges of type double."
arch=('i686' , 'x86_64')
url="http://qwt.sourceforge.net/"
license=('Qwt License, Version 1.0')
depends=('qt')
conflicts=('qwt')
makedepends=('qt')
source=(http://sourceforge.net/projects/qwt/files/qwt/$pkgver/qwt-
$pkgver.tar.bz2)
md5sums=('ace68558eab873e2da7e641179c4ef0c')

build() {
  cd "$srcdir/qwt-$pkgver"
  sed -i -e 's/$${QWT_INSTALL_PREFIX}\/doc/\/usr\/share\/doc\/qwt\//'
qwtconfig.pri
  sed -i -e 's/$${QWT_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//'
qwtconfig.pri
  sed -i -e 's/$${QWT_INSTALL_PREFIX}\/lib/\/usr\/lib\//'
qwtconfig.pri
  sed -i -e 's/$${QWT_INSTALL_PREFIX}\/plugins\/designer/\/usr\/lib\/qt
\/plugins\/designer\//' qwtconfig.pri
  sed -i -e 's/$${QWT_INSTALL_PREFIX}\/features/\/usr\/share\/qwt\/
features\//' qwtconfig.pri

# Commenting out this error only disallows the forced usage of a local
project version of libqwt.
# This is also done in the official arch package for the non-beta
version.
  sed -i -e 's/error/#error/' qwtbuild.pri

  qmake
  make

}

package() {
  cd "$srcdir/qwt-$pkgver"

  make INSTALL_ROOT="$pkgdir/" install

}


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.