diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/chromaprint/PKGBUILD | 17 | ||||
-rw-r--r-- | extra/efivar/PKGBUILD | 15 | ||||
-rw-r--r-- | extra/transfig/PKGBUILD | 22 | ||||
-rw-r--r-- | extra/transfig/transfig-3.2.5d-libpng-1.5.patch | 39 |
4 files changed, 25 insertions, 68 deletions
diff --git a/extra/chromaprint/PKGBUILD b/extra/chromaprint/PKGBUILD index 370c0dfcd..3d65ed5e3 100644 --- a/extra/chromaprint/PKGBUILD +++ b/extra/chromaprint/PKGBUILD @@ -1,22 +1,21 @@ -# $Id: PKGBUILD 191890 2013-08-01 06:53:24Z bpiotrowski $ +# $Id: PKGBUILD 193966 2013-09-09 09:33:12Z bisson $ # Contributor: Wieland Hoffmann <the_mineo@web.de> # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=chromaprint -pkgver=0.7 -pkgrel=6 +pkgver=1.0 +pkgrel=1 pkgdesc='Library that implements a custom algorithm for extracting fingerprints from any audio source' url='http://acoustid.org/chromaprint/' arch=('i686' 'x86_64') license=('LGPL') depends=('ffmpeg') -makedepends=('cmake' 'git') -source=('git+https://bitbucket.org/acoustid/chromaprint.git#commit=dd51f8e') -sha1sums=('SKIP') +makedepends=('cmake') +source=("https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz") +sha1sums=('919e012af588a7e6fea862b29a30e3a5da67526a') build() { - cd "${srcdir}/${pkgname}" - + cd "${srcdir}/${pkgname}-${pkgver}" cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ @@ -26,6 +25,6 @@ build() { } package() { - cd "${srcdir}/${pkgname}" + cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install } diff --git a/extra/efivar/PKGBUILD b/extra/efivar/PKGBUILD index fcbcca915..df5cc9ad9 100644 --- a/extra/efivar/PKGBUILD +++ b/extra/efivar/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 188788 2013-06-20 17:50:47Z tpowa $ +# $Id: PKGBUILD 193971 2013-09-09 10:46:11Z tpowa $ # Maintainer : Tobias Powalowski <tpowa@archlinux.org> # Contributor : Keshav Padram <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)> @@ -9,24 +9,23 @@ _gitbranch="master" _pkgname="efivar" pkgname="${_pkgname}" -pkgdesc="Library to manipulate EFI variables - GIT Version" - -pkgver=0.4_18_gb8c524c +pkgdesc="Library to manipulate EFI variables" +pkgver=0.6 pkgrel=1 arch=('x86_64' 'i686') url="https://github.com/vathpela/efivar" license=('LGPL2.1') depends=('popt') -conflicts=("${_pkgname}" 'libefivar' 'libefivar-git') -provides=("${_pkgname}" 'libefivar' 'libefivar-git') -options=('strip' 'emptydirs' 'zipman' 'libtool' 'docs') +conflicts=('libefivar') +provides=('libefivar') +options=('zipman' 'docs' '!makeflags') source=("${_gitname}::git+${_gitroot}#branch=${_gitbranch}") sha1sums=('SKIP') pkgver() { cd "${srcdir}/${_gitname}/" - echo "$(git describe --tags)" | sed 's|-|_|g' + echo "$(git describe --tags)" | sed 's|-|\.|g' } build() { diff --git a/extra/transfig/PKGBUILD b/extra/transfig/PKGBUILD index 630efa3c2..bd73bf55b 100644 --- a/extra/transfig/PKGBUILD +++ b/extra/transfig/PKGBUILD @@ -1,26 +1,23 @@ -# $Id: PKGBUILD 184440 2013-05-06 19:39:57Z foutrelis $ +# $Id: PKGBUILD 194011 2013-09-09 18:48:23Z eric $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=transfig -pkgver=3.2.5d -pkgrel=2 +pkgver=3.2.5e +pkgrel=1 pkgdesc="Format conversion utility that can be used with xfig" arch=('i686' 'x86_64') url="http://www.xfig.org" license=('custom') -depends=('libpng' 'libxpm') +depends=('libpng' 'libxpm' 'bc') makedepends=('imake') -source=(http://downloads.sourceforge.net/mcj/${pkgname}.${pkgver}.tar.gz LICENSE \ - transfig-3.2.5d-libpng-1.5.patch) -sha1sums=('90ff277cc9b3fa0d0313052fcf5e3ffad8652abc' - 'b8b712871615308b8b6add92f86d218437d652f2' - '9f9f332b0b31e58e59542bc1568df9617b71710a') +source=(http://downloads.sourceforge.net/mcj/${pkgname}.${pkgver}.tar.gz LICENSE) +sha1sums=('27aa9691bf84f8775db9be39c453a8132148bad1' + 'b8b712871615308b8b6add92f86d218437d652f2') prepare() { cd ${pkgname}.${pkgver} - sed -i 's/XCOMM USELATEX2E = -DLATEX2E/USELATEX2E = -DLATEX2E/' transfig/Imakefile - sed -i 's/XCOMM USEINLINE = -DUSE_INLINE/USEINLINE = -DUSE_INLINE/' fig2dev/Imakefile - patch -p1 -i ../transfig-3.2.5d-libpng-1.5.patch + sed -i 's/XCOMM USELATEX2E/USELATEX2E/' transfig/Imakefile + sed -i 's/XCOMM USEINLINE/USEINLINE/' fig2dev/Imakefile } build() { @@ -35,5 +32,6 @@ package() { make DESTDIR="${pkgdir}" XFIGLIBDIR=/usr/share/xfig \ FIG2DEV_LIBDIR=/usr/share/fig2dev MANPATH=/usr/share/man \ install install.man + mv "${pkgdir}/usr/bin/fig2ps2tex.sh" "${pkgdir}/usr/bin/fig2ps2tex" install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/extra/transfig/transfig-3.2.5d-libpng-1.5.patch b/extra/transfig/transfig-3.2.5d-libpng-1.5.patch deleted file mode 100644 index e6f15e43e..000000000 --- a/extra/transfig/transfig-3.2.5d-libpng-1.5.patch +++ /dev/null @@ -1,39 +0,0 @@ -http://bugs.gentoo.org/show_bug.cgi?id=356751 - -Index: transfig.3.2.5d/fig2dev/dev/readpng.c -=================================================================== ---- transfig.3.2.5d.orig/fig2dev/dev/readpng.c -+++ transfig.3.2.5d/fig2dev/dev/readpng.c -@@ -62,7 +62,7 @@ read_png(file,filetype,pic,llx,lly) - } - - /* set long jump here */ -- if (setjmp(png_ptr->jmpbuf)) { -+ if (setjmp(png_jmpbuf(png_ptr))) { - /* if we get here there was a problem reading the file */ - png_destroy_read_struct(&png_ptr, &info_ptr, &end_info); - return 0; -@@ -78,15 +78,17 @@ read_png(file,filetype,pic,llx,lly) - png_get_IHDR(png_ptr, info_ptr, &w, &h, &bit_depth, &color_type, - &interlace_type, &compression_type, &filter_type); - -- if (info_ptr->valid & PNG_INFO_gAMA) -- png_set_gamma(png_ptr, 2.2, info_ptr->gamma); -- else -- png_set_gamma(png_ptr, 2.2, 0.45); -+ png_fixed_point gamma = 0.45; -+ png_get_gAMA_fixed(png_ptr,info_ptr,&gamma); -+ png_set_gamma(png_ptr, 2.2, gamma); - -- if (info_ptr->valid & PNG_INFO_bKGD) -+ if (png_get_valid(png_ptr,info_ptr,PNG_INFO_bKGD)) { - /* set the background to the one supplied */ -- png_set_background(png_ptr, &info_ptr->background, -+ png_color_16p background; -+ png_get_bKGD(png_ptr,info_ptr,&background); -+ png_set_background(png_ptr, background, - PNG_BACKGROUND_GAMMA_FILE, 1, 1.0); -+ } - else { - /* blend the canvas background using the alpha channel */ - if (bgspec) { |