summaryrefslogtreecommitdiff
path: root/pcr/gnome-boxes-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-12-29 11:19:46 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-12-29 11:20:38 -0200
commitb24ff2ab2649f0c8bf482f0cdf540de4667b4a04 (patch)
tree1f8eee76d0985c70dd19307f8acee5480508010c /pcr/gnome-boxes-libre/PKGBUILD
parenta8d24e03f28fd51e47e2053a3bd925a0e7f75c08 (diff)
downloadabslibre-b24ff2ab2649f0c8bf482f0cdf540de4667b4a04.tar.gz
abslibre-b24ff2ab2649f0c8bf482f0cdf540de4667b4a04.tar.bz2
abslibre-b24ff2ab2649f0c8bf482f0cdf540de4667b4a04.zip
fix freedom issue reported by niitotantei => https://labs.parabola.nu/issues/452
Diffstat (limited to 'pcr/gnome-boxes-libre/PKGBUILD')
-rw-r--r--pcr/gnome-boxes-libre/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
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 <niitotantei@gmail.com>
+
+_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
+}