aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cheese/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-06-01 12:12:27 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-01 20:26:56 +0000
commitb41a20191190a309d5890fc9d96e161a84940c38 (patch)
tree8738ef82b8958b6bd5dd8086ba3d48545d1a919c /testing/cheese/APKBUILD
parent8cde516495b332c5c5b84da46ef63c61085c0954 (diff)
downloadaports-b41a20191190a309d5890fc9d96e161a84940c38.tar.gz
aports-b41a20191190a309d5890fc9d96e161a84940c38.tar.bz2
aports-b41a20191190a309d5890fc9d96e161a84940c38.tar.xz
testing/cheese: new aport
Closes GH-8347
Diffstat (limited to 'testing/cheese/APKBUILD')
-rw-r--r--testing/cheese/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/cheese/APKBUILD b/testing/cheese/APKBUILD
new file mode 100644
index 0000000000..e51e2f5529
--- /dev/null
+++ b/testing/cheese/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=cheese
+pkgver=3.32.1
+pkgrel=0
+pkgdesc="Take photos and videos with your webcam"
+url="https://wiki.gnome.org/Apps/Cheese"
+arch="all"
+license="GPL-2.0-or-later"
+makedepends="intltool glib-dev gtk+3.0-dev gdk-pixbuf-dev gstreamer-dev
+ gst-plugins-bad-dev gnome-desktop-dev clutter-dev clutter-gtk-dev
+ clutter-gst-dev libcanberra-dev libx11-dev gobject-introspection-dev
+ libxslt docbook-xml docbook-xsl itstool"
+checkdepends="xvfb-run"
+options="!check" # wonky tests
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="https://download.gnome.org/sources/cheese/${pkgver%.*}/cheese-${pkgver}.tar.xz"
+
+prepare() {
+ default_prepare
+ sed 's|/usr/bin/sh|/bin/sh|' -i build-aux/install-sh
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="bdd0ae72e3df596d19ad467dc0222a49b028f2ad8c285d55360813624ca2dac1956463cfd9cea4f2a6ff123070966544cd7254ee2891e973dca42d07061a6c94 cheese-3.32.1.tar.xz"