Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Chakra
Packages
core
Commits
fa0d285c
Commit
fa0d285c
authored
Mar 03, 2016
by
Xuetian Weng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add qt5-quick1 5.6
parent
79e9a22a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
0 deletions
+57
-0
qt5-quick1/PKGBUILD
qt5-quick1/PKGBUILD
+57
-0
No files found.
qt5-quick1/PKGBUILD
0 → 100644
View file @
fa0d285c
# maintainer almack
pkgname
=
qt5-quick1
pkgver
=
5.6.0RC
_pkgver
=
5.6.0
pkgrel
=
1
arch
=(
'x86_64'
)
url
=
'http://qt-project.org/'
pkgdesc
=
'Qt Declarative is provided for Qt 4 compatibility'
license
=(
'LGPL2.1'
'GPL3'
)
options
=(
"debug"
)
depends
=(
'qt5-webkit'
'qt5-script'
)
makedepends
=(
'git'
)
source
=(
"git://code.qt.io/qt/qtquick1.git#commit=dcc5e5c01c28b227f0e5e5e4976a9d26e8a45295"
)
sha1sums
=(
'SKIP'
)
_prlfix
()
{
# Fix wrong path in prl files
find
"
${
pkgdir
}
/usr/lib"
-type
f
-name
'*.prl'
\
-exec
sed
-i
-e
'/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/'
{}
\;
}
prepare
()
{
cd
qtquick1
if
[
!
-d
include
]
;
then
syncqt.pl-qt5
-version
5.6.0 sync.profile
fi
}
build
()
{
cd
qtquick1
mkdir
-p
build
cd
build
qmake-qt5 ..
make
make docs
}
package
()
{
cd
qtquick1/build
make
INSTALL_ROOT
=
"
${
pkgdir
}
"
install
make
INSTALL_ROOT
=
"
${
pkgdir
}
"
install_docs
_prlfix
# create some symlinks in /usr/bin, postfixed with -qt5
install
-d
"
${
pkgdir
}
"
/usr/bin
for
i
in
$(
ls
${
pkgdir
}
/usr/lib/qt5/bin
)
;
do
ln
-s
/usr/lib/qt5/bin/
${
i
}
${
pkgdir
}
/usr/bin/
${
i
}
-qt5
done
install
-D
-m644
LGPL_EXCEPTION.txt
\
"
${
pkgdir
}
"
/usr/share/licenses/
${
pkgname
}
/LGPL_EXCEPTION.txt
}
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