mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-12 19:32:31 +01:00
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=emotion
|
|
pkgver=1.7.8
|
|
pkgrel=0
|
|
pkgdesc="Emotion, video and audio codec API"
|
|
url="http://trac.enlightenment.org/e/wiki/Emotion"
|
|
arch="all"
|
|
license="BSD"
|
|
depends=
|
|
depends_dev="ecore-dev evas-dev eet-dev eina-dev edje-dev eio-dev"
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-dev"
|
|
source="http://download.enlightenment.org/releases/emotion-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/emotion-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
find "$pkgdir"/usr/lib/ -name '*.la' -delete
|
|
}
|
|
|
|
md5sums="e04679ac7967e698c8c4013b9fd209a1 emotion-1.7.8.tar.gz"
|
|
sha256sums="54c96192cb46f5dce851934adb1633b45e5b007ad3cd05495102eeb255bced31 emotion-1.7.8.tar.gz"
|
|
sha512sums="b329ae2a9a96cdcc0a9d53e12766d06ef2746917f7a444263d14642be4d3cae4b7cdffedcd329efc92158a148a466764b9429a870dcd84aac1ce7304b8c4bc95 emotion-1.7.8.tar.gz"
|