From e4fb4fb4cf9719517620a2792f4bdfa126b20f1c Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Mon, 13 Apr 2015 17:58:49 +0200 Subject: [PATCH 1/6] new PKGBUILD : libplatform-git (required for libcec-git) --- .SRCINFO | 16 ++++++++++++++++ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..ff1b682 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = libplatform-git + pkgdesc = Platform support library used by libCEC and binary add-ons for Kodi + pkgver = 1.0.1 + pkgrel = 1 + url = https://github.com/Pulse-Eight/platform + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + provides = libplatform + conflicts = libplatform + source = libplatform::git+https://github.com/Pulse-Eight/platform.git + md5sums = SKIP + +pkgname = libplatform-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..63a0366 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Cedric Girard + +pkgname=libplatform-git +pkgver=1.0.1 +pkgrel=1 +pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi" +arch=('i686' 'x86_64') +url="https://github.com/Pulse-Eight/platform" +license=('GPL') +makedepends=('git') +provides=('libplatform') +conflicts=('libplatform') +source=('libplatform::git+https://github.com/Pulse-Eight/platform.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir"/libplatform + git describe --tags +} + +build() { + cd "$srcdir"/libplatform + cmake . \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib + make +} + +package() { + cd "$srcdir"/libplatform + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: From 6eb9544390b186457e97f9af1310741b3848d3cf Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Mon, 18 May 2015 13:54:07 +0200 Subject: [PATCH 2/6] tag libcec and libplatform as release build to get correct behaviour --- PKGBUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PKGBUILD b/PKGBUILD index 63a0366..ccebf44 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -21,6 +21,8 @@ pkgver() { build() { cd "$srcdir"/libplatform cmake . \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS=1 \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib From 8dba68a9d9db88a97c043c9c420f86d606f70f0a Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Mon, 15 Jun 2015 12:40:17 +0200 Subject: [PATCH 3/6] libplatform-git updated to 1.0.9 --- .SRCINFO | 2 +- PKGBUILD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index ff1b682..87da87a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = libplatform-git pkgdesc = Platform support library used by libCEC and binary add-ons for Kodi - pkgver = 1.0.1 + pkgver = 1.0.9 pkgrel = 1 url = https://github.com/Pulse-Eight/platform arch = i686 diff --git a/PKGBUILD b/PKGBUILD index ccebf44..53090e7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Cedric Girard pkgname=libplatform-git -pkgver=1.0.1 +pkgver=1.0.9 pkgrel=1 pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi" arch=('i686' 'x86_64') From a50277e3f6e3eaefe6d1c64d04b1fadc9decae5f Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Wed, 29 Jul 2015 16:24:25 +0200 Subject: [PATCH 4/6] correct pkgver generation --- .SRCINFO | 2 +- PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 87da87a..15467e5 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = libplatform-git pkgdesc = Platform support library used by libCEC and binary add-ons for Kodi - pkgver = 1.0.9 + pkgver = 1.0.10.r4.g278828a pkgrel = 1 url = https://github.com/Pulse-Eight/platform arch = i686 diff --git a/PKGBUILD b/PKGBUILD index 53090e7..bd5b238 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Cedric Girard pkgname=libplatform-git -pkgver=1.0.9 +pkgver=1.0.10.r4.g278828a pkgrel=1 pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi" arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ md5sums=('SKIP') pkgver() { cd "$srcdir"/libplatform - git describe --tags + git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { From 15bf2a462ff69c0b885cb0d2c8a6ce44e077e05f Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Tue, 29 Mar 2016 11:19:26 +0200 Subject: [PATCH 5/6] new tag schema in upstream --- .SRCINFO | 4 +++- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 15467e5..08e6fc3 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Tue Mar 29 09:19:17 UTC 2016 pkgbase = libplatform-git pkgdesc = Platform support library used by libCEC and binary add-ons for Kodi - pkgver = 1.0.10.r4.g278828a + pkgver = 2.0.1.r2.g041a8c6 pkgrel = 1 url = https://github.com/Pulse-Eight/platform arch = i686 diff --git a/PKGBUILD b/PKGBUILD index bd5b238..b8505bf 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Cedric Girard pkgname=libplatform-git -pkgver=1.0.10.r4.g278828a +pkgver=2.0.1.r2.g041a8c6 pkgrel=1 pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi" arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ md5sums=('SKIP') pkgver() { cd "$srcdir"/libplatform - git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/p8\.platform\.//' } build() { From a5c17cb56c53c5f1c25244ca062ed910496f6c53 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Tue, 6 Sep 2016 13:28:33 +0200 Subject: [PATCH 6/6] renamed p8-platform --- .SRCINFO | 4 ++-- PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 08e6fc3..7bed754 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,5 +1,3 @@ -# Generated by mksrcinfo v8 -# Tue Mar 29 09:19:17 UTC 2016 pkgbase = libplatform-git pkgdesc = Platform support library used by libCEC and binary add-ons for Kodi pkgver = 2.0.1.r2.g041a8c6 @@ -10,7 +8,9 @@ pkgbase = libplatform-git license = GPL makedepends = git provides = libplatform + provides = p8-platform conflicts = libplatform + conflicts = p8-platform source = libplatform::git+https://github.com/Pulse-Eight/platform.git md5sums = SKIP diff --git a/PKGBUILD b/PKGBUILD index b8505bf..c8627e3 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,8 +8,8 @@ arch=('i686' 'x86_64') url="https://github.com/Pulse-Eight/platform" license=('GPL') makedepends=('git') -provides=('libplatform') -conflicts=('libplatform') +provides=('libplatform' 'p8-platform') +conflicts=('libplatform' 'p8-platform') source=('libplatform::git+https://github.com/Pulse-Eight/platform.git') md5sums=('SKIP')