summaryrefslogtreecommitdiff
path: root/libre/ogre-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/ogre-libre/PKGBUILD')
-rw-r--r--libre/ogre-libre/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/libre/ogre-libre/PKGBUILD b/libre/ogre-libre/PKGBUILD
index f91855322..e7bf84fcf 100644
--- a/libre/ogre-libre/PKGBUILD
+++ b/libre/ogre-libre/PKGBUILD
@@ -45,17 +45,17 @@ makedepends=(
)
mksource=(
ogre::hg+https://bitbucket.org/sinbad/ogre/src#tag=v${pkgver//./-}
- libre.patch
)
source=(
https://repo.parabolagnulinux.org/other/$pkgbase-libre/$pkgbase-libre-$pkgver.tar.xz
+ libre.patch
)
mksha512sums=(
SKIP
- e668b39e4784e4b1b17ec6e21b5cef45f29a8d8e73288817ce7832d1fe24527d5e0d4fd67b8f756db301e4211ceac2d5c387c1599e799ca41de0593457204767
)
sha512sums=(
- 9be9dbd78e09c8c50cf833004bfa3fbb7b3cd2a0f52a4e8c4beb1eb30357625455d65906bd007be6c2be9cf90a0e335d5ad7c5011e038c3d0754d5b3b18c4a2a
+ 13e743d65affd6813f6e3c6064d543bfe2d013a8d44bec203dc819859618114f0e5c7f5e67a98250d0174497dd58a9238956e04ac9f7925695ab6ebda555c412
+ 5480c08c6faf48c1aabde1efd9508165c2fbea78f19d58c6360ea310c223d1979a7d7eaa15c9a70c8c3b3e7f89877c6f47e7fe16638ae77c463d55e87a5a3316
)
mksource() {
@@ -67,12 +67,14 @@ mksource() {
rm -rv Samples/Media/materials/textures/nvidia
rm -v Samples/Media/packs/chiropteraDM.{pk3,txt}
rm -v CMake/Templates/quakemap{,_d}.cfg.in
- patch -Np1 -i $srcdir/libre.patch
}
prepare() {
cd ${pkgbase}
+ # remove nonfree references
+ patch -Np1 -i $srcdir/libre.patch
+
# add symlinks to point to mesa header files
cd RenderSystems/GL/include/GL
ln -sv /usr/include/GL/gl.h gl.h
@@ -146,7 +148,7 @@ package_ogre-libre() {
# install license
install -vDm644 ../Docs/License.html $pkgdir/usr/share/licenses/$pkgbase/license.html
- # remove nonfree files
+ # remove files only useful for nonfree software
rm -vr $pkgdir/usr/lib/OGRE/cmake
rm -v $pkgdir/usr/include/OGRE/Example*.h
}