[arch-commits] Commit in kmscon/repos (4 files)

thestinger at nymeria.archlinux.org thestinger at nymeria.archlinux.org
Thu Feb 28 21:20:57 UTC 2013


    Date: Thursday, February 28, 2013 @ 22:20:56
  Author: thestinger
Revision: 85313

archrelease: copy trunk to community-i686, community-x86_64

Added:
  kmscon/repos/community-i686/PKGBUILD
    (from rev 85312, kmscon/trunk/PKGBUILD)
  kmscon/repos/community-x86_64/PKGBUILD
    (from rev 85312, kmscon/trunk/PKGBUILD)
Deleted:
  kmscon/repos/community-i686/PKGBUILD
  kmscon/repos/community-x86_64/PKGBUILD

---------------------------+
 community-i686/PKGBUILD   |   85 ++++++++++++++++++++++++--------------------
 community-x86_64/PKGBUILD |   85 ++++++++++++++++++++++++--------------------
 2 files changed, 96 insertions(+), 74 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-02-28 21:19:46 UTC (rev 85312)
+++ community-i686/PKGBUILD	2013-02-28 21:20:56 UTC (rev 85313)
@@ -1,37 +0,0 @@
-# Maintainer: Daniel Micay <danielmicay at gmail.com>
-# Contributor: David Herrmann <dh.herrmann at googlemail.com>
-pkgname=kmscon
-pkgver=6
-pkgrel=3
-pkgdesc='Terminal emulator based on Kernel Mode Setting (KMS)'
-arch=(i686 x86_64)
-url='https://github.com/dvdhrm/kmscon'
-license=('MIT')
-depends=(systemd libdrm mesa libegl libgbm libgles pango libxkbcommon libpciaccess xkeyboard-config)
-makedepends=('libxslt' 'docbook-xsl' 'linux-api-headers')
-options=(!libtool)
-source=(https://github.com/downloads/dvdhrm/$pkgname/$pkgname-$pkgver.tar.bz2)
-md5sums=('12f6966cef8e846f31dbcad916a9f347')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure \
-    --prefix=/usr \
-    --enable-kmscon \
-    --disable-wlterm \
-    --enable-multi-seat \
-    --enable-hotplug \
-    --enable-pciaccess \
-    --with-video=fbdev,dumb,drm \
-    --with-fonts=pango,freetype2,8x16 \
-    --with-sessions=dummy,terminal
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
-  mkdir -p "$pkgdir/usr/share/licenses/$pkgname" "$pkgdir/usr/lib/systemd/system"
-  cp COPYING "$pkgdir/usr/share/licenses/$pkgname/"
-  cp docs/kmscon{,@}.service "$pkgdir/usr/lib/systemd/system/"
-}

Copied: kmscon/repos/community-i686/PKGBUILD (from rev 85312, kmscon/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-02-28 21:20:56 UTC (rev 85313)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: David Herrmann <dh.herrmann at googlemail.com>
+pkgname=kmscon
+pkgver=7
+pkgrel=1
+pkgdesc='Terminal emulator based on Kernel Mode Setting (KMS)'
+arch=(i686 x86_64)
+url='https://github.com/dvdhrm/kmscon'
+license=('MIT')
+depends=(systemd libdrm mesa libegl libgbm libgles pango libxkbcommon libpciaccess xkeyboard-config)
+makedepends=(git libxslt docbook-xsl linux-api-headers)
+options=(!libtool)
+
+__gitroot=https://github.com/dvdhrm/kmscon.git
+__gitname=kmscon
+
+build() {
+  cd "$srcdir"
+
+  msg "Connecting to GIT server...."
+
+  if [[ -d "$__gitname" ]]; then
+    cd "$__gitname" && git pull origin
+    msg "The local files are updated."
+  else
+    git clone "$__gitroot" "$__gitname"
+  fi
+
+  msg "GIT checkout done or server timeout"
+  msg "Starting build..."
+
+  rm -rf "$srcdir/$__gitname-build"
+  git clone "$srcdir/$__gitname" "$srcdir/$__gitname-build"
+  cd "$srcdir/$__gitname-build"
+
+  git checkout $pkgname-$pkgver
+  ./autogen.sh --prefix=/usr --disable-wlterm
+  make
+}
+
+package() {
+  cd "$srcdir/$__gitname-build"
+  make DESTDIR="$pkgdir/" install
+  mkdir -p "$pkgdir/usr/share/licenses/$pkgname" "$pkgdir/usr/lib/systemd/system"
+  cp COPYING "$pkgdir/usr/share/licenses/$pkgname/"
+  cp docs/kmscon{,vt@}.service "$pkgdir/usr/lib/systemd/system/"
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-02-28 21:19:46 UTC (rev 85312)
+++ community-x86_64/PKGBUILD	2013-02-28 21:20:56 UTC (rev 85313)
@@ -1,37 +0,0 @@
-# Maintainer: Daniel Micay <danielmicay at gmail.com>
-# Contributor: David Herrmann <dh.herrmann at googlemail.com>
-pkgname=kmscon
-pkgver=6
-pkgrel=3
-pkgdesc='Terminal emulator based on Kernel Mode Setting (KMS)'
-arch=(i686 x86_64)
-url='https://github.com/dvdhrm/kmscon'
-license=('MIT')
-depends=(systemd libdrm mesa libegl libgbm libgles pango libxkbcommon libpciaccess xkeyboard-config)
-makedepends=('libxslt' 'docbook-xsl' 'linux-api-headers')
-options=(!libtool)
-source=(https://github.com/downloads/dvdhrm/$pkgname/$pkgname-$pkgver.tar.bz2)
-md5sums=('12f6966cef8e846f31dbcad916a9f347')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure \
-    --prefix=/usr \
-    --enable-kmscon \
-    --disable-wlterm \
-    --enable-multi-seat \
-    --enable-hotplug \
-    --enable-pciaccess \
-    --with-video=fbdev,dumb,drm \
-    --with-fonts=pango,freetype2,8x16 \
-    --with-sessions=dummy,terminal
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
-  mkdir -p "$pkgdir/usr/share/licenses/$pkgname" "$pkgdir/usr/lib/systemd/system"
-  cp COPYING "$pkgdir/usr/share/licenses/$pkgname/"
-  cp docs/kmscon{,@}.service "$pkgdir/usr/lib/systemd/system/"
-}

Copied: kmscon/repos/community-x86_64/PKGBUILD (from rev 85312, kmscon/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-02-28 21:20:56 UTC (rev 85313)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: David Herrmann <dh.herrmann at googlemail.com>
+pkgname=kmscon
+pkgver=7
+pkgrel=1
+pkgdesc='Terminal emulator based on Kernel Mode Setting (KMS)'
+arch=(i686 x86_64)
+url='https://github.com/dvdhrm/kmscon'
+license=('MIT')
+depends=(systemd libdrm mesa libegl libgbm libgles pango libxkbcommon libpciaccess xkeyboard-config)
+makedepends=(git libxslt docbook-xsl linux-api-headers)
+options=(!libtool)
+
+__gitroot=https://github.com/dvdhrm/kmscon.git
+__gitname=kmscon
+
+build() {
+  cd "$srcdir"
+
+  msg "Connecting to GIT server...."
+
+  if [[ -d "$__gitname" ]]; then
+    cd "$__gitname" && git pull origin
+    msg "The local files are updated."
+  else
+    git clone "$__gitroot" "$__gitname"
+  fi
+
+  msg "GIT checkout done or server timeout"
+  msg "Starting build..."
+
+  rm -rf "$srcdir/$__gitname-build"
+  git clone "$srcdir/$__gitname" "$srcdir/$__gitname-build"
+  cd "$srcdir/$__gitname-build"
+
+  git checkout $pkgname-$pkgver
+  ./autogen.sh --prefix=/usr --disable-wlterm
+  make
+}
+
+package() {
+  cd "$srcdir/$__gitname-build"
+  make DESTDIR="$pkgdir/" install
+  mkdir -p "$pkgdir/usr/share/licenses/$pkgname" "$pkgdir/usr/lib/systemd/system"
+  cp COPYING "$pkgdir/usr/share/licenses/$pkgname/"
+  cp docs/kmscon{,vt@}.service "$pkgdir/usr/lib/systemd/system/"
+}




More information about the arch-commits mailing list