New package: geda-1.8.2

I chose the all lowercase name, while the project uses gEDA in some places.
The package is broken for *-musl because guile fails to build there.
This commit is contained in:
jbu 2015-05-30 01:50:19 +02:00
parent 4489618ed9
commit 36d464ed7b
5 changed files with 53 additions and 0 deletions

View File

@ -2050,3 +2050,4 @@ libtesseract.so.3 tesseract-ocr-3.02.02_1
libffmpegthumbnailer.so.4 ffmpegthumbnailer-2.0.10_1
libopenraw.so.1 libopenraw-0.0.9_1
libopenrawgnome.so.1 libopenraw-0.0.9_1
libgeda.so.42 geda-1.8.2_1

1
srcpkgs/geda-data Symbolic link
View File

@ -0,0 +1 @@
geda

1
srcpkgs/geda-devel Symbolic link
View File

@ -0,0 +1 @@
geda

1
srcpkgs/geda-doc Symbolic link
View File

@ -0,0 +1 @@
geda

49
srcpkgs/geda/template Normal file
View File

@ -0,0 +1,49 @@
# Template file for 'geda'
pkgname=geda
version=1.8.2
revision=1
wrksrc=${pkgname}-gaf-${version}
build_style=gnu-configure
hostmakedepends="pkg-config guile desktop-file-utils"
makedepends="gc-devel gtk+-devel guile-devel"
depends="guile geda-data"
short_desc="Electronic Design Automation tool"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="http://www.geda-project.org/"
distfiles="http://ftp.geda-project.org/geda-gaf/stable/v${version%.*}/${version}/geda-gaf-${version}.tar.gz"
checksum=bbf4773aef1b5a51a8d6f4c3fa288c047340cc62dd6e14d7928fcc6e4051b721
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="Because guile fails https://travis-ci.org/voidlinux/void-packages/jobs/64873229"
esac
post_install() {
# Remove unwanted files in /usr/share/mime
find /usr/share/mime -maxdepth 1 -type f | xargs rm
}
geda-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/include
}
}
geda-doc_package() {
noarch=yes
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - documentation and exmaple files"
pkg_install() {
vmove usr/share/doc
}
}
geda-data_package() {
noarch=yes
short_desc+=" - data files"
pkg_install() {
# Do not remove the local sym directory
touch ${DESTDIR}/usr/share/gEDA/sym/local/.keep-me
vmove usr/share/gEDA
}
}