summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Percival2016-07-30 14:35:42 +0800
committerScott Percival2016-07-30 14:40:00 +0800
commita2e4beecef29c9142e1a29b113d6519b174f37d0 (patch)
tree6de9c3d95884ac253d38f277f93711fec49ef568
downloadaur-a2e4beecef29c9142e1a29b113d6519b174f37d0.tar.gz
straight port of latest steamos-compositor and steamos-modeswitch-inhibitor
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD43
2 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d00d6f0f6e2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = steamos-compositor
+ pkgdesc = Compositor used by SteamOS "based on xcompmgr by Keith Packard et al."
+ pkgver = 1.34
+ pkgrel = 1
+ url = http://repo.steampowered.com/steamos/pool/main/s/steamos-compositor/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = mesa
+ makedepends = libxt
+ makedepends = libxpm
+ makedepends = openmotif
+ depends = libxfixes
+ depends = libxext
+ depends = libxcomposite
+ depends = libxdamage
+ depends = libxrender
+ depends = libxxf86vm
+ depends = sdl_image
+ depends = libgl
+ source = http://repo.steamstatic.com/steamos/pool/main/s/steamos-compositor/steamos-compositor_1.34.tar.xz
+ source = http://repo.steamstatic.com/steamos/pool/main/s/steamos-modeswitch-inhibitor/steamos-modeswitch-inhibitor_1.10.tar.xz
+ md5sums = 1ed726245e5887ea9544fb85c7d563d8
+ md5sums = ab8b731fb917aff183aa338bf3298495
+
+pkgname = steamos-compositor
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..38d94375826
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Scott Percival <code@moral.net.au>
+# Contributor: Felix Schindler <felix at schindlerfamily dot de>
+# Christoph Haag <haagch@studi,informatik.uni-stuttgart.de>
+# WorMzy Tykashi <wormzy.tykashi@gmail.com>
+pkgname=steamos-compositor
+pkgver=1.34
+pkgrel=1
+pkgdesc="Compositor used by SteamOS \"based on xcompmgr by Keith Packard et al.\""
+arch=('i686' 'x86_64')
+url="http://repo.steampowered.com/steamos/pool/main/s/steamos-compositor/"
+license=('GPL')
+depends=('libxfixes' 'libxext' 'libxcomposite' 'libxdamage' 'libxrender' 'libxxf86vm' 'sdl_image' 'libgl')
+makedepends=('mesa' 'libxt' 'libxpm' 'openmotif')
+_msver=1.10
+source=("http://repo.steamstatic.com/steamos/pool/main/s/steamos-compositor/steamos-compositor_${pkgver}.tar.xz"
+ "http://repo.steamstatic.com/steamos/pool/main/s/steamos-modeswitch-inhibitor/steamos-modeswitch-inhibitor_${_msver}.tar.xz")
+md5sums=('1ed726245e5887ea9544fb85c7d563d8'
+ 'ab8b731fb917aff183aa338bf3298495')
+
+build() {
+ export LIBS="-lXm -lXext -lXt -lXpm -lXdamage -lXfixes"
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+ cd "$srcdir/steamos-modeswitch-inhibitor-$_msver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ install -m 755 "usr/bin/steamos-session" "$pkgdir/usr/bin"
+ sed -i "s|x86_64-linux-gnu/||g" "$pkgdir/usr/bin/steamos-session"
+ sed -i "s|lib/i386-linux-gnu/|lib32/|g" "$pkgdir/usr/bin/steamos-session"
+ mkdir -p "$pkgdir/usr/bin/steamos" "$pkgdir/usr/share/xsessions" "$pkgdir/usr/share/icons/steam"
+ install -m 755 "usr/bin/steamos/set_hd_mode.sh" "$pkgdir/usr/bin/steamos"
+ install -m 644 "usr/share/xsessions/steamos.desktop" "$pkgdir/usr/share/xsessions"
+ install -m 644 "usr/share/icons/steam/arrow.png" "$pkgdir/usr/share/icons/steam"
+ cd "$srcdir/steamos-modeswitch-inhibitor-$_msver"
+ make DESTDIR="$pkgdir/" install
+}
+