Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
647
Issues
647
List
Boards
Labels
Service Desk
Milestones
Merge Requests
175
Merge Requests
175
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
637edf8f
Commit
637edf8f
authored
Feb 23, 2018
by
A. Wilcox
Committed by
Ariadne Conill
Feb 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/libgsf: add check, modernise, fix license
parent
c4199ee1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
main/libgsf/APKBUILD
main/libgsf/APKBUILD
+15
-15
No files found.
main/libgsf/APKBUILD
View file @
637edf8f
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
libgsf
pkgver
=
1.14.42
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"The GNOME Structured File Library is a utility library for reading and writing structured file formats."
url
=
"https://www.gnome.org/"
arch
=
"all"
license
=
"
GPL LGPL
"
license
=
"
LGPL-2.1-only
"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc
$pkgname
-lang"
depends
=
depends_dev
=
"bzip2-dev"
makedepends
=
"libxml2-dev glib-dev bzip2-dev intltool python2 zlib-dev"
makedepends
=
"libxml2-dev glib-dev bzip2-dev intltool python3 zlib-dev
gobject-introspection-dev"
source
=
"https://download.gnome.org/sources/
$pkgname
/1.14/
$pkgname
-
$pkgver
.tar.xz"
_builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
# secfixes:
# 1.14.41-r0:
# - CVE-2016-9888
prepare
()
{
cd
"
$_builddir
"
}
build
()
{
cd
"
$
_
builddir
"
sed
-i
-e
's/gsf-gnome//'
-e
's/thumbnailer//'
Makefile.
*
||
return
1
cd
"
$builddir
"
sed
-i
-e
's/gsf-gnome//'
-e
's/thumbnailer//'
Makefile.
*
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
...
...
@@ -35,13 +30,18 @@ build() {
--disable-static
\
--without-gnome-vfs
\
--without-bonobo
\
||
return
1
make
||
return
1
--enable-introspection
make
}
check
()
{
cd
"
$builddir
"
make check
}
package
()
{
cd
"
$
_
builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
rm
-f
"
$pkgdir
"
/usr/share/man/man1/gsf-office-thumbnailer.1
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment