[arch-commits] Commit in oscpack/repos/community-x86_64 (4 files)
David Runge
dvzrv at archlinux.org
Fri Jul 10 19:48:19 UTC 2020
Date: Friday, July 10, 2020 @ 19:48:19
Author: dvzrv
Revision: 663139
archrelease: copy trunk to community-x86_64
Added:
oscpack/repos/community-x86_64/PKGBUILD
(from rev 663138, oscpack/trunk/PKGBUILD)
oscpack/repos/community-x86_64/oscpack-1.1.0-makefile.patch
(from rev 663138, oscpack/trunk/oscpack-1.1.0-makefile.patch)
Deleted:
oscpack/repos/community-x86_64/PKGBUILD
oscpack/repos/community-x86_64/oscpack-1.1.0-makefile.patch
------------------------------+
PKGBUILD | 72 ++++++++++++++++++------------------
oscpack-1.1.0-makefile.patch | 82 ++++++++++++++++++++---------------------
2 files changed, 78 insertions(+), 76 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-10 19:48:07 UTC (rev 663138)
+++ PKGBUILD 2020-07-10 19:48:19 UTC (rev 663139)
@@ -1,35 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_version=1_1_0
-pkgname=oscpack
-pkgver=1.1.0
-pkgrel=1
-pkgdesc="Open Sound Control packet manipulation library"
-arch=('x86_64')
-url="https://github.com/RossBencina/oscpack"
-license=('GPL')
-depends=('gcc-libs' 'glibc')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/RossBencina/${pkgname}/archive/release_${_version}.tar.gz"
- "$pkgname-1.1.0-makefile.patch")
-sha512sums=('7a61a364cab4914c81e113d7aeee2b4accf5e560f500df6634232e0093f564ed4bb0ef8e87d2c8a18f245b0c7ec25f41e64f42f20a6654c22bb5c02aa253bbd0'
- '6a092a5eae7c52001175b59cb86bbbce0a8d565730edf38d8bcd18ed30ae1a0de4766a735a4a5702fa4210355b884a6f28991bfcba31b17be403d5c553c08b2c')
-
-prepare() {
- mv -v "$pkgname-release_${_version}" "$pkgname-$pkgver"
- cd "$pkgname-$pkgver"
- # fixing makefile to include -fPIC when compiling, honoring LDFLAGS during
- # linking and using DESTDIR during install
- patch -Np1 -i "../$pkgname-1.1.0-makefile.patch"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- make PREFIX=/usr
-}
-
-package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" PREFIX=/usr install
- install -vDm 644 {CHANGES,README,TODO} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: oscpack/repos/community-x86_64/PKGBUILD (from rev 663138, oscpack/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-10 19:48:19 UTC (rev 663139)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_version=1_1_0
+pkgname=oscpack
+pkgver=1.1.0
+pkgrel=2
+pkgdesc="Open Sound Control packet manipulation library"
+arch=('x86_64')
+url="https://github.com/RossBencina/oscpack"
+license=('MIT')
+depends=('gcc-libs' 'glibc')
+provides=('liboscpack.so')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/RossBencina/${pkgname}/archive/release_${_version}.tar.gz"
+ "$pkgname-1.1.0-makefile.patch")
+sha512sums=('7a61a364cab4914c81e113d7aeee2b4accf5e560f500df6634232e0093f564ed4bb0ef8e87d2c8a18f245b0c7ec25f41e64f42f20a6654c22bb5c02aa253bbd0'
+ '6a092a5eae7c52001175b59cb86bbbce0a8d565730edf38d8bcd18ed30ae1a0de4766a735a4a5702fa4210355b884a6f28991bfcba31b17be403d5c553c08b2c')
+
+prepare() {
+ mv -v "$pkgname-release_${_version}" "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
+ # fixing makefile to include -fPIC when compiling, honoring LDFLAGS during
+ # linking and using DESTDIR during install
+ patch -Np1 -i "../$pkgname-1.1.0-makefile.patch"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ make PREFIX=/usr
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" PREFIX=/usr install
+ install -vDm 644 {CHANGES,README,TODO} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
Deleted: oscpack-1.1.0-makefile.patch
===================================================================
--- oscpack-1.1.0-makefile.patch 2020-07-10 19:48:07 UTC (rev 663138)
+++ oscpack-1.1.0-makefile.patch 2020-07-10 19:48:19 UTC (rev 663139)
@@ -1,41 +0,0 @@
-diff -ruN a/Makefile b/Makefile
---- a/Makefile 2013-04-09 03:53:29.000000000 +0200
-+++ b/Makefile 2020-05-07 23:35:37.658428769 +0200
-@@ -16,7 +16,7 @@
-
- CXX := g++
- INCLUDES := -I.
--COPTS := -Wall -Wextra -O3
-+COPTS := -Wall -Wextra -O3 -fPIC
- CDEBUG := -Wall -Wextra -g
- CXXFLAGS := $(COPTS) $(INCLUDES) -D$(ENDIANESS)
-
-@@ -111,23 +111,18 @@
- $(CXX) -dynamiclib -Wl,-install_name,$(LIBSONAME) -o $(LIBFILENAME) $(LIBOBJECTS) -lc
- else
- #GNU/Linux case
-- $(CXX) -shared -Wl,-soname,$(LIBSONAME) -o $(LIBFILENAME) $(LIBOBJECTS) -lc
-+ $(CXX) -shared -Wl,-soname,$(LIBSONAME) -o $(LIBFILENAME) $(LIBOBJECTS) -lc $(LDFLAGS)
- endif
-
- lib: $(LIBFILENAME)
-
- #Installs the library on a system global location
- install: $(LIBFILENAME)
-- @$(INSTALL) -m 755 $(LIBFILENAME) $(PREFIX)/lib/$(LIBFILENAME)
-- @ln -s -f $(PREFIX)/lib/$(LIBFILENAME) $(PREFIX)/lib/$(LIBSONAME)
-- @mkdir -p $(PREFIX)/include/oscpack/ip $(PREFIX)/include/oscpack/osc
-- @$(INSTALL) -m 644 ip/*.h $(PREFIX)/include/oscpack/ip
-- @$(INSTALL) -m 644 osc/*.h $(PREFIX)/include/oscpack/osc
-+ @$(INSTALL) -vDm 755 $(LIBFILENAME) $(DESTDIR)/$(PREFIX)/lib/$(LIBFILENAME)
-+ @ln -sfv $(LIBFILENAME) $(DESTDIR)/$(PREFIX)/lib/$(LIBSONAME)
-+ @$(INSTALL) -vDm 644 ip/*.h -t $(DESTDIR)/$(PREFIX)/include/oscpack/ip
-+ @$(INSTALL) -vDm 644 osc/*.h -t $(DESTDIR)/$(PREFIX)/include/oscpack/osc
- @echo "SUCCESS! oscpack has been installed in $(PREFIX)/lib and $(PREFIX)/include/ospack/"
--ifneq ($(UNAME), Darwin)
-- @echo "now doing ldconfig..."
-- @ldconfig
--endif
-
- #Installs the include/lib structure locally
- install-local: $(LIBFILENAME)
Copied: oscpack/repos/community-x86_64/oscpack-1.1.0-makefile.patch (from rev 663138, oscpack/trunk/oscpack-1.1.0-makefile.patch)
===================================================================
--- oscpack-1.1.0-makefile.patch (rev 0)
+++ oscpack-1.1.0-makefile.patch 2020-07-10 19:48:19 UTC (rev 663139)
@@ -0,0 +1,41 @@
+diff -ruN a/Makefile b/Makefile
+--- a/Makefile 2013-04-09 03:53:29.000000000 +0200
++++ b/Makefile 2020-05-07 23:35:37.658428769 +0200
+@@ -16,7 +16,7 @@
+
+ CXX := g++
+ INCLUDES := -I.
+-COPTS := -Wall -Wextra -O3
++COPTS := -Wall -Wextra -O3 -fPIC
+ CDEBUG := -Wall -Wextra -g
+ CXXFLAGS := $(COPTS) $(INCLUDES) -D$(ENDIANESS)
+
+@@ -111,23 +111,18 @@
+ $(CXX) -dynamiclib -Wl,-install_name,$(LIBSONAME) -o $(LIBFILENAME) $(LIBOBJECTS) -lc
+ else
+ #GNU/Linux case
+- $(CXX) -shared -Wl,-soname,$(LIBSONAME) -o $(LIBFILENAME) $(LIBOBJECTS) -lc
++ $(CXX) -shared -Wl,-soname,$(LIBSONAME) -o $(LIBFILENAME) $(LIBOBJECTS) -lc $(LDFLAGS)
+ endif
+
+ lib: $(LIBFILENAME)
+
+ #Installs the library on a system global location
+ install: $(LIBFILENAME)
+- @$(INSTALL) -m 755 $(LIBFILENAME) $(PREFIX)/lib/$(LIBFILENAME)
+- @ln -s -f $(PREFIX)/lib/$(LIBFILENAME) $(PREFIX)/lib/$(LIBSONAME)
+- @mkdir -p $(PREFIX)/include/oscpack/ip $(PREFIX)/include/oscpack/osc
+- @$(INSTALL) -m 644 ip/*.h $(PREFIX)/include/oscpack/ip
+- @$(INSTALL) -m 644 osc/*.h $(PREFIX)/include/oscpack/osc
++ @$(INSTALL) -vDm 755 $(LIBFILENAME) $(DESTDIR)/$(PREFIX)/lib/$(LIBFILENAME)
++ @ln -sfv $(LIBFILENAME) $(DESTDIR)/$(PREFIX)/lib/$(LIBSONAME)
++ @$(INSTALL) -vDm 644 ip/*.h -t $(DESTDIR)/$(PREFIX)/include/oscpack/ip
++ @$(INSTALL) -vDm 644 osc/*.h -t $(DESTDIR)/$(PREFIX)/include/oscpack/osc
+ @echo "SUCCESS! oscpack has been installed in $(PREFIX)/lib and $(PREFIX)/include/ospack/"
+-ifneq ($(UNAME), Darwin)
+- @echo "now doing ldconfig..."
+- @ldconfig
+-endif
+
+ #Installs the include/lib structure locally
+ install-local: $(LIBFILENAME)
More information about the arch-commits
mailing list