{"action":"created","issue":{"url":"https://api.github.com/repos/SShrike/pkgbuilds/issues/1","repository_url":"https://api.github.com/repos/SShrike/pkgbuilds","labels_url":"https://api.github.com/repos/SShrike/pkgbuilds/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/SShrike/pkgbuilds/issues/1/comments","events_url":"https://api.github.com/repos/SShrike/pkgbuilds/issues/1/events","html_url":"https://github.com/SShrike/pkgbuilds/issues/1","id":143889649,"number":1,"title":"Build shared libraries for gtkd-git","user":{"login":"dsboger","id":2356842,"avatar_url":"https://avatars.githubusercontent.com/u/2356842?v=3","gravatar_id":"","url":"https://api.github.com/users/dsboger","html_url":"https://github.com/dsboger","followers_url":"https://api.github.com/users/dsboger/followers","following_url":"https://api.github.com/users/dsboger/following{/other_user}","gists_url":"https://api.github.com/users/dsboger/gists{/gist_id}","starred_url":"https://api.github.com/users/dsboger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsboger/subscriptions","organizations_url":"https://api.github.com/users/dsboger/orgs","repos_url":"https://api.github.com/users/dsboger/repos","events_url":"https://api.github.com/users/dsboger/events{/privacy}","received_events_url":"https://api.github.com/users/dsboger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-28T04:33:21Z","updated_at":"2016-04-02T05:42:58Z","closed_at":null,"body":"Hello! I'm the maintainer of terminix-git package and I'm working towards depending on gtkd-git. For that, it would be awesome if this package would generate shared libraries. The current PKGBUILD generates only static ones.\r\n\r\nI've investigated a bit and managed to make a custom PKGBUILD that successfully builds and installs .so files. It is listed below. The `LDFLAGS='-L-ldl -m64 -defaultlib=:libphobos2.so'` is related to https://github.com/gtkd-developers/GtkD/issues/151 and I'm still trying to figure out.\r\n\r\nCould you give it a look? Thanks!\r\n\r\n```\r\npkgname=gtkd-git\r\npkgver=r1258.4b67777\r\npkgrel=1\r\npkgdesc='D binding and OO wrapper of GTK+'\r\nurl='http://gtkd.org'\r\noptions=('staticlibs')\r\nlicense=('LGPL')\r\narch=('i686' 'x86_64')\r\nprovides=('gtkd')\r\nconflicts=('gtkd')\r\ndepends=('libphobos2' 'gtk3')\r\nmakedepends=('dmd')\r\noptdepends=('pango' 'atk' 'gdk-pixbuf2' 'gtksourceview3' 'gstreamer' 'vte3')\r\nsource=('git://github.com/gtkd-developers/GtkD.git')\r\nmd5sums=('SKIP')\r\n\r\npkgver() {\r\n  cd GtkD\r\n  echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)\r\n}\r\n\r\nbuild() {\r\n  cd GtkD\r\n  make LDFLAGS='-L-ldl -m64 -defaultlib=:libphobos2.so' all\r\n}\r\n\r\npackage() {\r\n  cd GtkD\r\n  make prefix=\"/usr\" DESTDIR=\"${pkgdir}/\" install install-gstreamer install-vte \\\r\n    install-shared install-shared-gstreamer install-shared-vte\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/SShrike/pkgbuilds/issues/comments/204650451","html_url":"https://github.com/SShrike/pkgbuilds/issues/1#issuecomment-204650451","issue_url":"https://api.github.com/repos/SShrike/pkgbuilds/issues/1","id":204650451,"user":{"login":"SShrike","id":4061736,"avatar_url":"https://avatars.githubusercontent.com/u/4061736?v=3","gravatar_id":"","url":"https://api.github.com/users/SShrike","html_url":"https://github.com/SShrike","followers_url":"https://api.github.com/users/SShrike/followers","following_url":"https://api.github.com/users/SShrike/following{/other_user}","gists_url":"https://api.github.com/users/SShrike/gists{/gist_id}","starred_url":"https://api.github.com/users/SShrike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SShrike/subscriptions","organizations_url":"https://api.github.com/users/SShrike/orgs","repos_url":"https://api.github.com/users/SShrike/repos","events_url":"https://api.github.com/users/SShrike/events{/privacy}","received_events_url":"https://api.github.com/users/SShrike/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T05:42:58Z","updated_at":"2016-04-02T05:42:58Z","body":"I've updated `gtkd` and `gtkd-git`, so everything should be working now."}}