forked from archlinux/svntogit-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
archrelease: copy trunk to testing-x86_64
git-svn-id: file:///srv/repos/svn-packages/svn@339764 eb2447ed-0c53-47e4-bac8-5bc4a241df78
- Loading branch information
1 parent
094f97e
commit 33f19e3
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Maintainer: Daniel Isenmann <[email protected]> | ||
|
||
pkgname=babl | ||
pkgver=0.1.60 | ||
pkgrel=1 | ||
pkgdesc="Dynamic, any to any, pixel format conversion library" | ||
arch=(x86_64) | ||
url="http://gegl.org/babl/" | ||
license=(LGPL3) | ||
depends=(glibc) | ||
makedepends=(git) | ||
_commit=6bc0c933b998299b15d474af53c096ad970a0477 # tags/BABL_0_1_60^0 | ||
source=("git+https://gitlab.gnome.org/GNOME/babl.git#commit=$_commit") | ||
sha256sums=('SKIP') | ||
|
||
# Don't port to meson until babl's runtime cpu detection works there | ||
|
||
pkgver() { | ||
cd $pkgname | ||
git describe --tags | sed 's/^BABL_//;s/_/./g;s/-/+/g' | ||
} | ||
|
||
prepare() { | ||
cd $pkgname | ||
NOCONFIGURE=1 ./autogen.sh | ||
} | ||
|
||
build() { | ||
cd $pkgname | ||
./configure --prefix=/usr | ||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool | ||
make | ||
} | ||
|
||
check() { | ||
make -C $pkgname check | ||
} | ||
|
||
package() { | ||
DESTDIR="$pkgdir" make -C $pkgname install | ||
} | ||
|
||
# vim:set sw=2 et: |