|
|
|
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>>
|
Cleanup PKGBUILD
Summary:
Name shouldn't include 17, that was only because it went into the Arch
repos that way
No need for _pkgver variable
Wayland is now at 1.3 in the repos, so the deps don't need to be
conditional. That was left over from before the release.
Removing libtool files is now the default, don't need it in the options.
Updated pkgver function. As it was, it would only include v_maj, v_min,
v_mic, but didn't take into account the -alpha/-beta/-rc added in the
AC_INIT. Now it does.
If we're building from git instead of snapshot tarballs as was
previously assumed, we need to use autogen.sh instead of just configure
Install text files to /usr/share/doc. This is more correct
Reviewers: cedric, raster
Reviewed By: raster
CC: cedric, raster
Differential Revision: https://phab.enlightenment.org/D380
9 years ago
|
|
|
pkgname=enlightenment-git
|
|
|
|
pkgver=0.18.0rc2.17382.ed1a5e4
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Enlightenment window manager - GIT development snapshot"
|
|
|
|
arch=('i686' 'x86_64' 'arm')
|
|
|
|
url="http://www.enlightenment.org"
|
|
|
|
license=('BSD')
|
Cleanup PKGBUILD
Summary:
Name shouldn't include 17, that was only because it went into the Arch
repos that way
No need for _pkgver variable
Wayland is now at 1.3 in the repos, so the deps don't need to be
conditional. That was left over from before the release.
Removing libtool files is now the default, don't need it in the options.
Updated pkgver function. As it was, it would only include v_maj, v_min,
v_mic, but didn't take into account the -alpha/-beta/-rc added in the
AC_INIT. Now it does.
If we're building from git instead of snapshot tarballs as was
previously assumed, we need to use autogen.sh instead of just configure
Install text files to /usr/share/doc. This is more correct
Reviewers: cedric, raster
Reviewed By: raster
CC: cedric, raster
Differential Revision: https://phab.enlightenment.org/D380
9 years ago
|
|
|
depends=('elementary' 'xcb-util-keysyms' 'hicolor-icon-theme' 'pixman' 'mesa'
|
|
|
|
'desktop-file-utils' 'udisks2' 'ttf-font' 'bluez-libs')
|
Cleanup PKGBUILD
Summary:
Name shouldn't include 17, that was only because it went into the Arch
repos that way
No need for _pkgver variable
Wayland is now at 1.3 in the repos, so the deps don't need to be
conditional. That was left over from before the release.
Removing libtool files is now the default, don't need it in the options.
Updated pkgver function. As it was, it would only include v_maj, v_min,
v_mic, but didn't take into account the -alpha/-beta/-rc added in the
AC_INIT. Now it does.
If we're building from git instead of snapshot tarballs as was
previously assumed, we need to use autogen.sh instead of just configure
Install text files to /usr/share/doc. This is more correct
Reviewers: cedric, raster
Reviewed By: raster
CC: cedric, raster
Differential Revision: https://phab.enlightenment.org/D380
9 years ago
|
|
|
optdepends=('connman: network module'
|
|
|
|
'acpid: power events on laptop lid close'
|
|
|
|
'gdb: create backtraces on crash')
|
|
|
|
provides=("enlightenment17=$pkgver" 'notification-daemon')
|
|
|
|
conflicts=("enlightenment17")
|
|
|
|
backup=('etc/enlightenment/sysactions.conf'
|
|
|
|
'etc/xdg/menus/enlightenment.menu')
|
Cleanup PKGBUILD
Summary:
Name shouldn't include 17, that was only because it went into the Arch
repos that way
No need for _pkgver variable
Wayland is now at 1.3 in the repos, so the deps don't need to be
conditional. That was left over from before the release.
Removing libtool files is now the default, don't need it in the options.
Updated pkgver function. As it was, it would only include v_maj, v_min,
v_mic, but didn't take into account the -alpha/-beta/-rc added in the
AC_INIT. Now it does.
If we're building from git instead of snapshot tarballs as was
previously assumed, we need to use autogen.sh instead of just configure
Install text files to /usr/share/doc. This is more correct
Reviewers: cedric, raster
Reviewed By: raster
CC: cedric, raster
Differential Revision: https://phab.enlightenment.org/D380
9 years ago
|
|
|
options=('debug')
|
|
|
|
install=enlightenment.install
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "../.."
|
|
|
|
|
Cleanup PKGBUILD
Summary:
Name shouldn't include 17, that was only because it went into the Arch
repos that way
No need for _pkgver variable
Wayland is now at 1.3 in the repos, so the deps don't need to be
conditional. That was left over from before the release.
Removing libtool files is now the default, don't need it in the options.
Updated pkgver function. As it was, it would only include v_maj, v_min,
v_mic, but didn't take into account the -alpha/-beta/-rc added in the
AC_INIT. Now it does.
If we're building from git instead of snapshot tarballs as was
previously assumed, we need to use autogen.sh instead of just configure
Install text files to /usr/share/doc. This is more correct
Reviewers: cedric, raster
Reviewed By: raster
CC: cedric, raster
Differential Revision: https://phab.enlightenment.org/D380
9 years ago
|
|
|
for _i in v_maj v_min v_mic; do
|
|
|
|
local v_ver=$v_ver.$(grep -m1 $_i configure.ac | sed 's/m4//' | grep -o "[[:digit:]]*")
|
|
|
|
done
|
|
|
|
|
Cleanup PKGBUILD
Summary:
Name shouldn't include 17, that was only because it went into the Arch
repos that way
No need for _pkgver variable
Wayland is now at 1.3 in the repos, so the deps don't need to be
conditional. That was left over from before the release.
Removing libtool files is now the default, don't need it in the options.
Updated pkgver function. As it was, it would only include v_maj, v_min,
v_mic, but didn't take into account the -alpha/-beta/-rc added in the
AC_INIT. Now it does.
If we're building from git instead of snapshot tarballs as was
previously assumed, we need to use autogen.sh instead of just configure
Install text files to /usr/share/doc. This is more correct
Reviewers: cedric, raster
Reviewed By: raster
CC: cedric, raster
Differential Revision: https://phab.enlightenment.org/D380
9 years ago
|
|
|
v_ver=$(awk -F , -v v_ver=${v_ver#.} '/^AC_INIT/ {gsub(/v_ver/, v_ver); gsub(/[\[\] -]/, ""); print $2}' configure.ac)
|
|
|
|
|
|
|
|
printf "$v_ver.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "../.."
|
|
|
|
export CFLAGS="$CFLAGS -fvisibility=hidden -fomit-frame-pointer"
|
|
|
|
[[ -e Makefile ]] && make clean distclean
|
Cleanup PKGBUILD
Summary:
Name shouldn't include 17, that was only because it went into the Arch
repos that way
No need for _pkgver variable
Wayland is now at 1.3 in the repos, so the deps don't need to be
conditional. That was left over from before the release.
Removing libtool files is now the default, don't need it in the options.
Updated pkgver function. As it was, it would only include v_maj, v_min,
v_mic, but didn't take into account the -alpha/-beta/-rc added in the
AC_INIT. Now it does.
If we're building from git instead of snapshot tarballs as was
previously assumed, we need to use autogen.sh instead of just configure
Install text files to /usr/share/doc. This is more correct
Reviewers: cedric, raster
Reviewed By: raster
CC: cedric, raster
Differential Revision: https://phab.enlightenment.org/D380
9 years ago
|
|
|
./autogen.sh --prefix=/usr --sysconfdir=/etc --enable-wayland-clients --enable-wayland-egl
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "../.."
|
|
|
|
make -j1 DESTDIR="$pkgdir" install
|
Cleanup PKGBUILD
Summary:
Name shouldn't include 17, that was only because it went into the Arch
repos that way
No need for _pkgver variable
Wayland is now at 1.3 in the repos, so the deps don't need to be
conditional. That was left over from before the release.
Removing libtool files is now the default, don't need it in the options.
Updated pkgver function. As it was, it would only include v_maj, v_min,
v_mic, but didn't take into account the -alpha/-beta/-rc added in the
AC_INIT. Now it does.
If we're building from git instead of snapshot tarballs as was
previously assumed, we need to use autogen.sh instead of just configure
Install text files to /usr/share/doc. This is more correct
Reviewers: cedric, raster
Reviewed By: raster
CC: cedric, raster
Differential Revision: https://phab.enlightenment.org/D380
9 years ago
|
|
|
install -Dm644 AUTHORS "$pkgdir/usr/share/doc/${pkgname%-*}/AUTHORS"
|
|
|
|
install -Dm644 ChangeLog "$pkgdir/usr/share/doc/${pkgname%-*}/ChangeLog"
|
|
|
|
install -Dm644 NEWS "$pkgdir/usr/share/doc/${pkgname%-*}/NEWS"
|
|
|
|
install -Dm644 README "$pkgdir/usr/share/doc/${pkgname%-*}/README"
|
|
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
Cleanup PKGBUILD
Summary:
Name shouldn't include 17, that was only because it went into the Arch
repos that way
No need for _pkgver variable
Wayland is now at 1.3 in the repos, so the deps don't need to be
conditional. That was left over from before the release.
Removing libtool files is now the default, don't need it in the options.
Updated pkgver function. As it was, it would only include v_maj, v_min,
v_mic, but didn't take into account the -alpha/-beta/-rc added in the
AC_INIT. Now it does.
If we're building from git instead of snapshot tarballs as was
previously assumed, we need to use autogen.sh instead of just configure
Install text files to /usr/share/doc. This is more correct
Reviewers: cedric, raster
Reviewed By: raster
CC: cedric, raster
Differential Revision: https://phab.enlightenment.org/D380
9 years ago
|
|
|
ln -sf "../../licenses/$pkgname/COPYING" "$pkgdir/usr/share/doc/${pkgname%-*}/COPYING"
|
|
|
|
}
|