~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH] testing/gli: new aport

Details
Message ID
<20190803222034.4420-1-sir@cmpwn.com>
DKIM signature
missing
Download raw message
Patch: +38 -0
---
 testing/gli/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 testing/gli/APKBUILD

diff --git a/testing/gli/APKBUILD b/testing/gli/APKBUILD
new file mode 100644
index 0000000000..6b9a75cbd8
--- /dev/null
+++ b/testing/gli/APKBUILD
@@ -0,0 +1,38 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=gli
pkgver=0.8.2.0
pkgrel=0
pkgdesc="OpenGL Image library for C++"
url="http://gli.g-truc.net/"
arch="noarch"
license="MIT"
makedepends="cmake"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/g-truc/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
options="!check" # https://github.com/g-truc/gli/issues/169

build() {
	if [ "$CBUILD" != "$CHOST" ]; then
		CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
	fi

	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
		-DCMAKE_C_FLAGS="$CFLAGS" \
		${CMAKE_CROSSOPTS} .
	make
}

check() {
	ctest
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="c254a4e1497d0add985e4a882c552db99c512cc0e9cc72145d51a6e7deada817d624d9818099a47136a8a3ef1223a26a34e355e3c713166f0bb062e506059834  gli-0.8.2.0.tar.gz"
-- 
2.22.0
Details
Message ID
<BW0RUPTWUFI1.35BYPXEX07HO9@Impreza>
In-Reply-To
<20190803222034.4420-1-sir@cmpwn.com> (view parent)
DKIM signature
missing
Download raw message
When compiling i get these errors.

```
>>> ERROR: gli-dev*: Arch specific binaries found so arch must not be set to "noarch"
>>> ERROR: gli-dev*: prepare_package failed
>>> ERROR: gli*: prepare_subpackages failed
>>> ERROR: gli: rootpkg failed
```
Details
Message ID
<BW26N2EEHN07.2E5URDCBLVV6A@koishi>
In-Reply-To
<BW0RUPTWUFI1.35BYPXEX07HO9@Impreza> (view parent)
DKIM signature
missing
Download raw message
On Sun Aug 4, 2019 at 7:26 AM Leo wrote:
> When compiling i get these errors.
> 
> ```
> >>> ERROR: gli-dev*: Arch specific binaries found so arch must not be set to "noarch"
> >>> ERROR: gli-dev*: prepare_package failed
> >>> ERROR: gli*: prepare_subpackages failed
> >>> ERROR: gli: rootpkg failed
> ```

I don't understand. The patch was set to noarch and it builds locally.
Reply to thread Export thread (mbox)