You are not logged in.
Pages: 1
Today I noticed the release of OpenCV 2.0 and saw that the official opencv package in extra is outdated orphaned.
As I like to try the new C++ interface I wrote a PKGBUILD and like to share it here:
# Contributor: Andreas Muetzel
# (based on the opencv-beta PKGBUILD on the AUR by Juan Diego Tascon)
pkgname=opencv
pkgver=2.0.0
pkgrel=1
pkgdesc="Collection of algorithms, documentation and sample code for real time computer vision."
url="http://sourceforge.net/projects/opencvlibrary"
license=("BSD")
arch=(i686 x86_64)
conflicts=('opencv-svn' 'opencv-beta')
provides=()
options=(!libtool)
source=(http://downloads.sourceforge.net/sourceforge/opencvlibrary/OpenCV-${pkgver}.tar.bz2)
md5sums=('ed27520514baacc5edad7b06ad24130e')
depends=('jasper' 'gstreamer0.10' 'xine-lib' 'libdc1394' 'unicap' 'libv4l' 'swig' 'python')
makedepends=('cmake')
build() {
cd $srcdir/OpenCV-${pkgver}
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr -D BUILD_PYTHON_SUPPORT=ON . || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
install -d -m755 $pkgdir/usr/share/licenses/$pkgname
install -m644 $srcdir/OpenCV-${pkgver}/doc/license.txt $pkgdir/usr/share/licenses/$pkgname
}
I couldn't find a way to submit this on the package page so I hope this forum is the right place to post this ;-)
Greets
Offline
You can't submit a package to the repos, only to the AUR. I suggest submitting this as an opencv2.0 package to the AUR, you can orphan it once [extra] catches up.
Also, if you're in the ML, you can ask whether the devs would be interested in your PKGBUILD. Doesn't look too complicated though, so perhaps not.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Today I noticed the release of OpenCV 2.0 and saw that the official opencv package in extra is outdated orphaned.
As I like to try the new C++ interface I wrote a PKGBUILD and like to share it here:# Contributor: Andreas Muetzel # (based on the opencv-beta PKGBUILD on the AUR by Juan Diego Tascon) pkgname=opencv pkgver=2.0.0 pkgrel=1 pkgdesc="Collection of algorithms, documentation and sample code for real time computer vision." url="http://sourceforge.net/projects/opencvlibrary" license=("BSD") arch=(i686 x86_64) conflicts=('opencv-svn' 'opencv-beta') provides=() options=(!libtool) source=(http://downloads.sourceforge.net/sourceforge/opencvlibrary/OpenCV-${pkgver}.tar.bz2) md5sums=('ed27520514baacc5edad7b06ad24130e') depends=('jasper' 'gstreamer0.10' 'xine-lib' 'libdc1394' 'unicap' 'libv4l' 'swig' 'python') makedepends=('cmake') build() { cd $srcdir/OpenCV-${pkgver} cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr -D BUILD_PYTHON_SUPPORT=ON . || return 1 make || return 1 make DESTDIR=$pkgdir install || return 1 install -d -m755 $pkgdir/usr/share/licenses/$pkgname install -m644 $srcdir/OpenCV-${pkgver}/doc/license.txt $pkgdir/usr/share/licenses/$pkgname }
I couldn't find a way to submit this on the package page so I hope this forum is the right place to post this ;-)
Greets
Thanks! I was about to do my own PKGBUILD, you saved me a lot of work!
I'm just curious: why isn't 2.0 in [extra] yet? It's been like two months it's been released.
EDIT: I'm sorry I was so stupid, I just saw opencv 2.0 in [extra].
Last edited by alexmatos (2009-12-30 05:26:29)
Offline
I'm just curious: why isn't 2.0 in [extra] yet? It's been like two months it's been released.
EDIT: I'm sorry I was so stupid, I just saw opencv 2.0 in [extra].
Yes, if you notice, this thread is also 2 months old
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
alexmatos wrote:I'm just curious: why isn't 2.0 in [extra] yet? It's been like two months it's been released.
EDIT: I'm sorry I was so stupid, I just saw opencv 2.0 in [extra].
Yes, if you notice, this thread is also 2 months old
I guess you can say I'm still living in October. Shame on me!
Offline
ngoonee wrote:alexmatos wrote:I'm just curious: why isn't 2.0 in [extra] yet? It's been like two months it's been released.
EDIT: I'm sorry I was so stupid, I just saw opencv 2.0 in [extra].
Yes, if you notice, this thread is also 2 months old
I guess you can say I'm still living in October. Shame on me!
Dude, you're from the past DECADE =p
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Pages: 1