From b24ff2ab2649f0c8bf482f0cdf540de4667b4a04 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sun, 29 Dec 2013 11:19:46 -0200 Subject: fix freedom issue reported by niitotantei => https://labs.parabola.nu/issues/452 --- pcr/gnome-boxes-libre/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 pcr/gnome-boxes-libre/PKGBUILD (limited to 'pcr/gnome-boxes-libre/PKGBUILD') diff --git a/pcr/gnome-boxes-libre/PKGBUILD b/pcr/gnome-boxes-libre/PKGBUILD new file mode 100644 index 000000000..91a3b41be --- /dev/null +++ b/pcr/gnome-boxes-libre/PKGBUILD @@ -0,0 +1,44 @@ +# Contributor: Daniel Milewski + +_pkgname='gnome-boxes' +pkgname="$_pkgname-libre" +pkgver='3.10.2' +pkgrel='1' +pkgdesc='A simple GNOME 3 application to access remote or virtual systems, without nonfree system logos' +arch=('i686' 'x86_64') +url='https://wiki.gnome.org/Apps/Boxes' +license=('LGPL') +depends=('clutter-gtk' 'desktop-file-utils' 'gtk-vnc' 'libosinfo' 'libsoup' 'libtracker-sparql' 'libvirt-glib' + 'spice-gtk3') +makedepends=('gobject-introspection' 'intltool' 'itstool' 'spice-protocol' 'vala') +optdepends=('qemu-usbredir: virtual machines support') +provides=("$_pkgname=$pkgver") +conflicts=("$_pkgname") +replaces=("$_pkgname") +install='gnome-boxes.install' +source=("http://ftp.gnome.org/pub/GNOME/sources/$_pkgname/${pkgver:0:4}/$_pkgname-$pkgver.tar.xz" 'logos.patch' + 'free-distros.patch') +sha256sums=('9e055627cff5f59323bc95ad65ab361fc26328854d5a421bd09c899c466f2ec4' + '63d8a7fb5e0d6260d56bd92e9d11f39e9f37c323a261bc822a589b85f760b254' + '025e56fff5ae3659abc867ef1b5739a4632c91fa7f10d54d0853e9905355a15f') + +prepare() { + cd "$srcdir/$_pkgname-$pkgver" + + patch -Np1 -i "$srcdir/logos.patch" + + patch -Np1 -i "$srcdir/free-distros.patch" +} + +build() { + cd "$srcdir/$_pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} -- cgit v1.2.3